#1
|
|||
|
|||
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, |
|
|