|
-
Aug 18th, 2000, 02:25 PM
#1
Thread Starter
New Member
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
-
Aug 18th, 2000, 02:32 PM
#2
Guru
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.
-
Aug 18th, 2000, 02:38 PM
#3
Thread Starter
New Member
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
-
Aug 18th, 2000, 03:02 PM
#4
Frenzied Member
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?
-
Aug 18th, 2000, 03:09 PM
#5
Thread Starter
New Member
Resirtry
I deleted what I created manually...still the same error persists. Any thoughts?
Sriram Raghavan
Graduate Student
State Univ of NY at Buffalo
-
Aug 18th, 2000, 03:56 PM
#6
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|