dtd646 Posted August 28, 2003 Posted August 28, 2003 can't figure this out. I am trying to show one form and hide another using: frmUpdate.Show() frmMain.Hide() I get the following error: Reference to a non-shared member requires an object reference. How do I do this??I am using visual studio.net Thanks Quote
*Experts* mutant Posted August 28, 2003 *Experts* Posted August 28, 2003 You need to create an instance of that form: Dim frmUpdate As New UpdateForm 'change to whatever you have as the name 'and create a new instance using the New keyword. frmUpdate.Show() 'show the form Quote
Grimfort Posted September 1, 2003 Posted September 1, 2003 Your in the real world of programming now, you have to keep track of all your forms. Theres a few tutorials about, I suggest getting your teeth into one. Quote
Jay1b Posted September 2, 2003 Posted September 2, 2003 Real world of programming? Everyone has to start somewhere, perhaps he's been in the 'real world of programming' but in a difference language. What he wrote would of worked fine in good ole VB6. Quote
Deathjester Posted September 3, 2003 Posted September 3, 2003 heheh. i hate that phrase too, but i have to say i don't think VB6 was ever in the 'real world' of programming. can we have a show of hands please :D "...must form angry mob!!! they said VB6 is noddy and we aren't real programmers!!!..." did anybody see that edition of wells and ... nevermind. Quote
Diablicolic Posted September 4, 2003 Posted September 4, 2003 'Real World Programming' The term always offends me everytime I hear someone say it. Even when I'm reading it out of a book. :( Quote "Reality is fake, Dreams are for real"
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.