Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-04-2008, 11:05 AM
wkwan wkwan is online now
Registered User
 
Join Date: 02-22-2008
Posts: 5
Question VB6 VBG Compile

We have two VB6 VBP file in one VBG like below.

D:\DLL\PROGRAM1.VBP -> ActiveX DLL
D:\EXE\PROGRAM1.VBP -> EXE
D:\EXE\PROGRAM1.VBG

When we open PROGRAM1.VBG in VB6 IDE it will automatically load both apps with the same name and when we compile we choose File -> Make Project Group... in the IDE menu and compile both apps producing PROGRAM1.DLL for the activex and PROGRAM.EXE for the EXE.

I compiled the PROGRAM1.VBG in Visual Build but it always failed. Below is the excerp of the help file.

*****************
Note: The Make VB6 Action requires that all VBP filenames within a single VBG be unique. If multiple projects in the group have the same filename, rename the VBP files so that they are unique, and update the VBG with the changes as well. The project names stored in the VBP files do not need to be changed (but be aware that it is dangerous to have multiple VB COM projects with the same project name since this can result in ProgID clashes when registered).
******************

Is there any workaround for this?

What I have in mind is compile first the activex PROGRAM1.VBP and then compile PROGRAM1.VBP for the EXE but how do I reference the newly created activex DLL in the PROGRAM1.VBP for the EXE?

Thank you in advance.

Regards,
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 09:13 PM.


Copyright © 1999-2023 Kinook Software, Inc.