|
-
Mar 14th, 2004, 07:27 PM
#1
Thread Starter
Member
Confused about showing a second form
Earlier i posted about showing a second form, and was told that using .show was the right way to do it...
But now im trying to make a second form open on a button click and it isnt working. No debug errors, but when i click the button to open second form it gives me an error like "System.NullReferenceException"
anyone know how i can fix this?
codewise i have a public variable...
Dim open as form2
and then under the _click method for my button is just
Open.show()
What am i forgetting?
--Flac
Everything great once started with the words "That will never catch on, you shouldnt even bother" be great, go against the crowed, do something stupid, you might become famous.
-
Mar 14th, 2004, 08:05 PM
#2
Sleep mode
-
Mar 14th, 2004, 11:20 PM
#3
Thread Starter
Member
Wow, ya, that was the problem. Thanks a lot.
Everything great once started with the words "That will never catch on, you shouldnt even bother" be great, go against the crowed, do something stupid, you might become famous.
-
Mar 15th, 2004, 05:14 AM
#4
Sleep mode
np , that needs a lot of reading because .NET work that way .
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
|