Problem showing form

ZedEx

Newcomer
Joined
Feb 7, 2005
Messages
6
hi ive created a new project which has 7 forms in the program i have a drop down menu which i want to when clicked display other forms.

The code i have used to do this is form2.show how ever when i put this in a get this error message "Reference to a non-shared member requires an object reference"

Any ideas on how to correct this ? any help would be greatly appriciated.

Many Thanks
Zed
 
Its amazing how often this question is asked. I personally preferred instantiating my forms before using them even in vb6.
 
Back
Top