Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group project with standard and activex exes

Status
Not open for further replies.

abbot1177

Technical User
Aug 13, 2004
3
US
is there a way to set up vb groups and projects in such a way so that you can have a vb standard exe project reference a vb activex exe project?

currently im using 2 seperate projects, but id like to group them. In combining the projects ive noticed the standard exe references the compiled version of the activex exe.

How does the standard exe project become aware/refernce the activex exe project's objects.
 
Yes, open your main project and then click 'Add Project' in the file menu. Browse to your ActivX exe and add it . Then give the project group a name.

zemp
 
yeah i have that done.

the problem is when i compile i get the error "user defined type is not defined" on this line:

Dim WithEvents object As ActiveXexeproject.internalobject

i figure this is because its not getting the correct info from the activex_exe project.

maybe i should point out that it compiles fine as two seperate projects. I want to convert it to a group project. Perhaps i am

 
Did you set a reference to the Active-X EXE?

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
no i didnt not reference the compiled executable.

I may be incorrect in my assumption here... But im assuming the the normal exe project does not require a compiled version of the active-x exe as a reference if they are a group.

If it does require, then is there a way to set the build order in a group ?






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top