Mehram
asked on
Compiling error: User-Define type not Defined
I am using VB6. On Compiling exe file it is showing attached error on line :
Dim Strm As ADODB.Stream
Please help me. I am unable to compile .exe file
Capture.JPG
Dim Strm As ADODB.Stream
Please help me. I am unable to compile .exe file
Capture.JPG
ASKER
Yes I tried that but it was showing attached error.
Capture.JPG
Capture.JPG
Could you post a capture of the references you already have?
welcome in Windows 7 ...
ASKER
It looks like you're running an x64 development machine. The DLL's are probably x86. Can you set a target CPU somewhere in the properties? Try setting that to x86.
ASKER
How could i do that, please do me favor.
I'm not running a VB6 IDE here, so I can't do that sorry.
Try google a little further maybe.
Try google a little further maybe.
ASKER
Just for your information I am facing same error on windows server 2003 32 bit
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
On the Project menu, click to select References, and then set a reference to the Microsoft ActiveX Data Objects 2.5 Object Library.