|
-
May 7th, 2001, 08:02 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, 08:32 PM
#2
Addicted Member
Make sure the exe is registered.
Other than that... sounds good
That which does not kill us, only makes us stronger. 
-
May 8th, 2001, 01:26 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
|