Results 1 to 2 of 2

Thread: How to stop ComException errors when you close a form, and a com is still executing?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    How to stop ComException errors when you close a form, and a com is still executing?

    When i close a form, and a webbrowser is navigating (or i have a do:doevents:loop until wb.busy = false loop), i get comexception errors up the wazoo.

    how can i stop these? is there anyway to unload certain compunents on form_queryunload?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Try giving it a null value .

    VB Code:
    1. Object =Nothing

    it's like unloading it .

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