|
-
Jun 9th, 2000, 10:54 PM
#1
Thread Starter
New Member
I have two projects in my project window, how do I call a form in project2 when project1 is my startup project
-
Jun 9th, 2000, 10:57 PM
#2
You must specify what project.
Code:
Project2.Form2.Show
-
Jun 10th, 2000, 12:57 AM
#3
Thread Starter
New Member
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
-
Jun 10th, 2000, 01:14 AM
#4
You must have them added together in a Project Group (*.vbg).
-
Jun 10th, 2000, 01:27 AM
#5
Thread Starter
New Member
The *.vbg was done the err I get is Variable not defined, the name of project2 is highlighted
-
Jun 10th, 2000, 01:59 AM
#6
transcendental analytic
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.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 10th, 2000, 02:58 AM
#7
Is temeof the Project called Project2?
-
Jun 10th, 2000, 09:32 AM
#8
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|