Results 1 to 3 of 3

Thread: Doesn anyone else find some of the MSDN library poorly written?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2003
    Posts
    98

    Doesn anyone else find some of the MSDN library poorly written?

    So far i have read the thing about multiple forms about 10 times, and i still cant figure out how to do what they are trying to explain... they jump between variables and stuff, and they dont explain why they declare stuff as they do...

    im trying to figure out how to open a new instance and then close it, and i cant seem to pull it out of that article


  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: Doesn anyone else find some of the MSDN library poorly written?

    Is this what you are talking about ?
    VB Code:
    1. Dim frm1 as new form1
    2. frm1.show
    this instantiate an object from form1 and use Show method to show the form .

    to close it , just do this
    VB Code:
    1. frm1.close

    but it has to be other than the startup form of the project .

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2003
    Posts
    98
    i just figured it out...

    i had tried that method, but it was trying to close a different instance of the form, so i made a class, and it seems to be working. Yay!

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