Results 1 to 5 of 5

Thread: help with control!

  1. #1
    Guest

    Unhappy

    I have an ActiveX Control and it doesn't terminate (no terminate event is fired) when i close Internet Explorer.

    Am I forgetting to set some property so that it handles it correctly? Anyone know why it wouldn't terminate?

    Thanks!

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    post your code so that we may see if you have forgotten to terminate it in the OBJECTS Terminate event routine
    Code:
    SET MyControl = Nothing
    DocZaf
    {;->

  3. #3
    Guest
    well i assume the UserControl Terminate event should be called when I exit IE... it does it for a dummy control I set up. There must be something I changed that makes the UserControl want to persist. The Hide event occurs but no Terminate.

    Did I miss a setting or parameter for Usercontrol?

  4. #4
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    post your terminate event code

  5. #5
    Guest
    the event isn't even fired.

    private sub UserControl_Terminate()
    msgbox("terminate")

    end sub


    now there isn't anything really happening here, but when the Internet Explorer is closed the control should throw up the message box with Terminate in it.

    Can I force the Terminate to occur? Such as...

    private sub UserControl_Hide()
    Call Terminate
    end sub

    ??


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