Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
My program has two forms form1 and form2. I want to create a button on form1 to open form2 when the program is running. Not quite sure how to accomplish this. Any help with this question is greatly appreciated.
  • 3 months later...
Posted

Hi, may i know why we have to do DIM m as New Form2?

why dont we just type: form2.show?

 

in another word, what is the meaning of defining a variable " Dim M as NEW Form2" ?

 

Thank you for your reply as i am quite confused with the migration from vb6 to vb.net :)

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...