fbabinea
May 7th, 2001, 08:02 AM
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
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