-
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.
-
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. :rolleyes:
-
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.
-
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?
-
Resirtry
I deleted what I created manually...still the same error persists. Any thoughts?
-
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.