Results 1 to 2 of 2

Thread: module unload?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313

    module unload?

    At the top of a module in the declarations section i have this defined

    Code:
    Dim Errorfrm As New Form3
    I also have a menu item that calls a function in the module

    Code:
    Module.Function1()
    that function then displays the form

    Code:
    Errorfrm.show()
    When I click the menu button the first time, the form errorfrm and runs fine. I close the newly displayed errorfrm. and then click the Menu button again and get an error on the errorfrm.show(). And yes I made sure i exited the first call to module.function1() I used
    Code:
    Exit Function
    I am guessing I should maybe unload the errorfrm, but if i do that the user will not see what has been displayed on the errorfrm. Any sudgestions?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I didn't understand much of what you are talking about, but try using ShowDialog instead of Show.

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