Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Experts*
Posted

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

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...