|
-
November 2nd, 1998, 06:53 PM
#1
dim db as database ??
I tried to set "dim db as database" and it told me that database was an undefined variable. Anyone have any ideas why VB isn't recognizing it?
thanks
-
November 3rd, 1998, 03:37 AM
#2
Re: dim db as database ??
Yep.. actually its kind of easy if you know the answer.. Include DAO???.dll in your project ( Menu Project - References - probably MSDAO350.dll with VB6. Normally it's in the list)
That's the dll you need to have access to databases.
Hope it helps!
Crazy D
-
November 20th, 1998, 06:51 AM
#3
Re: dim db as database ??
From the Visual Basic Project menu, select reference menu item and set a reference to Microsoft DAO 3.5(or the version you have) library. Then you won't get the error.
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
|