|
-
May 7th, 2001, 08:17 AM
#1
Thread Starter
Junior Member
calling COM EXE
I know this is a really simple question, and am almost embarrassed to ask it. I've got a VB application calling a VB COM EXE. I've made a reference to it, and inserted the following code:
dim obj as myComEXE.myClass
set obj = new myComEXE.myclass
When I run my standard EXE that calls the COM EXE, I get an error saying it can't create object.
My COM EXE basically has a class and a module. The class calls the Module's Main function, which in turn calls a few sub functions. All it is doing is connection to db, reading txt file.
What am I doing wrong???
Tks,
F
-
May 7th, 2001, 06:50 PM
#2
Fanatic Member
If you encounter this error, it usually means that the object is not installed or registered correctly, either on the client system, the server, or both. If the component is installed on the system but there isn't a Registry entry, then simply reregister the component.
Regards,
TheBao
-
May 8th, 2001, 01:25 AM
#3
New Member
Try this
In your ActiveX exe project, run File->make. Then run it once (dbl-click on the file)
Should work
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
|