Results 1 to 3 of 3

Thread: closing multi-form apps

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    la la la you can't see me
    Posts
    46

    closing multi-form apps

    i feel stupid starting 2 threads inside of 15 minutes. oh well.

    when i show a second form in a single app, like this:

    Dim fred as New Form2()
    fred.show()
    Me.Hide()

    and then am ready to either close the app or go back to form1, i can't make it work. when i close form2, it closes and leaves form1 residing in the memory, but without a taskbar button or anything. i can only close it w/ the task manager. not to mention i can't even figure out how to even how to get back to form1.
    What does "formatting drive C..." mean?!

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    well this isnt the best way to do this, but it works:

    Dim frm as new Form2
    me.hide
    frm.ShowDialog ' it waits until form2 is closed and then it runs the next line
    me.show
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    la la la you can't see me
    Posts
    46
    thanks

    *resolved
    What does "formatting drive C..." mean?!

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