Results 1 to 6 of 6

Thread: ActiveX.exe

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    5
    I have a project which creates an instance of an activex.exe. I am able to run it on the pc where the activeX was created but when I create an exe version of my project and copy it (and the activeX.exe) to another pc (which also has Vb installed in it), the program gives me the following error.

    "ActiveX component can't create object".

    I believe this is because the ActiveX is not registered on the 2nd machine. I have tried to insert a registry key for the ActiveX manually using the regedit but that doesn't seem to work.

    I would like some help on how to register ActiveX.exe on a Win NT machine (if that in fact is the nature of my problem). Otherwise, I'd like some analysis on the type of error I am gettting.

    Thank You.
    Sriram Raghavan
    Graduate Student
    State Univ of NY at Buffalo

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    You need to register it using the RegSvr32 program.
    From the Start menu, choose Run...
    In the TextBox type regsvr32 C:\MyDirectory\AnotherDirectory\MyActiveX.Exe
    WARNING - replace with correct path.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    5

    Angry ActiveX.exe error again

    I did it but got this error.

    d:\mydir\fetch.exe was loaded but the dllRegisterServer entry point was not found.

    d:\mydir\fetch.exe does not appear to be a .DLL or .OCX file

    Thank You.

    Sriram Raghavan
    Graduate Student
    State Univ of NY at Buffalo

  4. #4
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    The first bit sounds like it thinks it's already registered, did you get rid of the key you entered in the registry when you tried to do it manually?

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    5

    Angry Resirtry

    I deleted what I created manually...still the same error persists. Any thoughts?
    Sriram Raghavan
    Graduate Student
    State Univ of NY at Buffalo

  6. #6
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    Try creating the project again under a slightly different name and register that. If the Active X exe is correct then it will register under the new name. Then delete the old one.

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