Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am new to VB.net so be kind.

 

In my sub Main I call a popup dialog box that displays the loading status as different tasks are completed so the user knows what is going on. So I pushed all this processing out to a module. I set up the module to access the form in one of 2 ways, as a status window that opens shows what is going on with text through a label, and as a modal message box that opens as a dialog and displays buttons and text as necessary. Here�s the question. Since I declare the form as new then use that to reference its properties. Can I have multiple instances of the form open at the same time? For instance.

 

dim form1 as new frmMessage

dim form2 as new frmMessage

 

??? Will this give me 2 references to the same object or 2 different objects? Is there a way I can create the form so I can have multiple instances of the same form?

 

Thanks

Brian :confused:

"Beer is proof that God loves us and wants us to be happy."

-Benjamin Franklin

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