thhynes
Member
Greetings,
First of all before I ask this question I have searched books, the web, and help with in VB to no avail. I did take a course in Visual Basic about 7 years ago and forgot everything...well kind of
Okay my question....
I have a form and a button when the user presses the button I want form1 to disapear and form2 to appear
The code that I have is the following
Form1.hide()
Form2.show() or
Form1.Visible = False
Form2.Visible=True
However I get an error which is
Refrence to a non-shared member requires an object refrence
What am I doing wrong?
Thanks!
Tom
First of all before I ask this question I have searched books, the web, and help with in VB to no avail. I did take a course in Visual Basic about 7 years ago and forgot everything...well kind of
Okay my question....
I have a form and a button when the user presses the button I want form1 to disapear and form2 to appear
The code that I have is the following
Form1.hide()
Form2.show() or
Form1.Visible = False
Form2.Visible=True
However I get an error which is
Refrence to a non-shared member requires an object refrence
What am I doing wrong?
Thanks!
Tom