Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Mar 16, 1998

VB5(SP3) does not recognize the words Database ...

Question:
Please help.

I cannot seem to get VB5(SP3) to understand the words Database, Workspace, etc. I had to reinstall VB and now none of my code works!

Phrases like "Dim newDB as Database" do not work, and "Database" does not even come up as an allowable word on the pop-up after I type the word "as" The same applies to WorkSpace, etc.

PLEASE HELP - I am stumped

Ira Goldklang

Answer:
This problem is not really restricted to service pack 3. In order for words like Database and such to pop up, you have to have the DAO 3.5 library referenced in your project. Select Project->References and add in the data access libraries -- use DAO 3.5 if you're talking to Access 97, for instance.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date