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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

working with multiple projects

Status
Not open for further replies.

InactiveX

Programmer
Jan 19, 2003
2
ZA
I have 3 projects in a Group Project.
Projects A,B, and C.

I set up Project A as a startup project. How can call formX in project B?

I just used this statements but it didn't work.:

load formX
formX.show

Thanks. InactiveX
 
What the group allows you to do is interactively debug a system that inludes vb DLLs and such. If projectB is a dll, the debugger will drop into it when a call to it is made.

It doesn't allow you to share forms between one app and another, however. To do something like that, forget about the group and add formX to project A instead. Project A then stands on its own. If it's a common re-use scenario, then consider making an ActiveX component (dll or control) that you can reference from any project.
Hope this helps.
--Bob
 
A form can be stored inside of a DLL (if the form is to be reused), but you would need to control the form through a public COM objected exported from the DLL. - Jeff Marler B-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top