|
-
Jan 17th, 2003, 05:51 AM
#1
Thread Starter
New Member
Declare Connection Object
I am trying to declare a connection object in the main.bas module of my VB6 project.
I have tried the following statements:
Dim db As ADODB.Connection
and
Dim db As Connection
I get the following compile error for both
"User-defined type not defined"
Can anyone help?
Thanks
Roger
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
|