devxlogo

VB5(SP3) does not recognize the words Database …

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.

See also  Does It Make Sense to Splurge on a Laptop?
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist