Results 1 to 5 of 5

Thread: Really simple question

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Posts
    13

    Really simple question

    okay been messing around with this for an hour and for some reason can't figure it out.

    i have a form that when finiished closes then opens another form
    i want to later call the form load event of the first form to redisplay it how do i call that from the second form?

    it's probably something really stupid that i'm missing but any help will be greatly appreciated

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Huh? Are you trying to show one form fro the other?

    VB Code:
    1. Dim frm As New MyFromNameHere
    2. frm.Show

    Remember though if you close the 'main' form of the application then everything will close.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Posts
    13
    does .show in vb.net reload the form though?
    i know in vb six it didn't is why i've been trying to find a way to call the load event since there is no mroe .load in .net

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Yes (basically) see in VB6 you almost always loaded only 1 instance of a form but now in .NET forms are like every other object and need to be instanced so the As New part actually creates a New form.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Posts
    13
    thanks much for the quick replys

    i didn't realize that had changed

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