Results 1 to 3 of 3

Thread: How to check an exe COM is registered or not without going to VB IDE

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    BC, Canada
    Posts
    142
    My program can run on my machine and a couple of others within a NT network but can't run on the rest because of error with an exe COM object created by myself.

    Error msg says

    "ActiveX component can't create object"

    Is this a problem with object registry? If yes, how to check my exe COM object is registered properly on a machine without VB IDE?

    (I used PDW to setup installation package.)





  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Try this at a command prompt:
    Code:
    regsvr32 myobj.exe
    That should work fine. Alternatively, I think P&DW can do this on installation.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    BC, Canada
    Posts
    142
    Thx.
    I would like to know if the object is registered properly after running installation or regsvr32.exe.
    Actually, One way I just found after previous posting is to open VB editor from microsfot office(eg. Excel) and check the reference list. My object is there!

    Now the question is why my program can't use that registered object?
    what could be wrong with " ActiveX component can't create object" ?

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