I have two projects in my project window, how do I call a form in project2 when project1 is my startup project
Printable View
I have two projects in my project window, how do I call a form in project2 when project1 is my startup project
You must specify what project.
Code:Project2.Form2.Show
Thanks Megatron
I tried that, Project2.Form2.Show however does not work. Both of the projects are .vbp, is that a problem?
Hope somebody have an answer
PJC
You must have them added together in a Project Group (*.vbg).
The *.vbg was done the err I get is Variable not defined, the name of project2 is highlighted
Variable not defined? If you use option explicit in one or more of you forms in project2 that error may occur, if you haven't declared all variables.
Is temeof the Project called Project2?
Megatron
Project1 is called Login, Project2 is LogBook, I start with login, when that is succesfull executed I want to unload login and load LogBook, however no luck
Kedaman
All my form has Option Explicit, each project runs okay on its own
PJC