Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data types

Status
Not open for further replies.

dbayer

Programmer
Joined
Jul 17, 2000
Messages
2
Location
US
I am a rookie at VB, so my question is simple I'm sure.&nbsp;&nbsp;I'm using some code that was written by someone before me.&nbsp;&nbsp;He has the a line of code that goes <b>Private DataB As Database</b> Whenever I try to run the program I get errors that say 'User-defined data type not defined'&nbsp;&nbsp;I've got the same ocx's loaded that he used in the past, but I don't know why it won't run - HELP!<br>
 
Go to the project menu option in Visual BASIC and select the References option.&nbsp;&nbsp;Then scroll down to the M's and select 'Microsoft DAO 2.5/3.5 Compatability Layer'.&nbsp;&nbsp;If that's not available, select the most recent version in the list.&nbsp;&nbsp;You might even see what is missing.&nbsp;&nbsp;If that's the case, you'll see something that's checked, but it says MISSING.&nbsp;&nbsp;Uncheck it and check the most recent version of DAO. <p>Steve<br><a href=mailto:tribesaddict@swbell.net>tribesaddict@swbell.net</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top