Results 1 to 2 of 2

Thread: ActiveX Errors

  1. #1
    etoo
    Guest

    ActiveX Errors

    Hi!

    If I have a program with a ActiveX control, and the users computer does not have it, the program will display a VB error message and not run.

    Is it possible for my program to trap this error and continue without the ActiveX control?

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Dim obj As Object

    On error goto handler
    Set obj = CreateObject("AppName.ObjName")
    On error goto 0

    Exit sub
    Handler:
    Msgbox "It failed!"
    End 'either one
    Resume 'of these is ok
    End sub
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

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