Results 1 to 6 of 6

Thread: *Resolved*What we used to do in VB6, to show a form?

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    *Resolved*What we used to do in VB6, to show a form?

    form2.show

    now if I have say a button(toolbar) and a menu item which calls his same form? on the clicks event - I just call formname.show. Thats it.

    Come VB.NET

    To display a form we use:

    dim frm as new form2
    frm.show

    Prob: Now if some one clicks on the button twice or say once on the button and then in the menu item - then as many instances of form2 are created and displayed - how do I STOPPPPP this?
    Last edited by veryjonny; Aug 9th, 2002 at 12:59 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width