943,715 Members | Top Members by Rank

Ad:
Apr 13th, 2004
0

New key word not recoginized in VB6 connecting to Access

Expand Post »
Hi,

I am trying to connect to a Microsoft Access DB using VB6, when I create a new connection I Dim DB as Connection, then Set db = New Connection. When the program is ran the complier doesn't recognize the word 'New'. Is there a link I can go to in order to research more about ODBC in order to connect to a Microsoft Access db using VB6. I am trying to look for the correct syntax in order to connect to the DB.

Any help would be appreciated.

Thank You,
Zoila
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ZoilaResendiz is offline Offline
1 posts
since Apr 2004
Apr 13th, 2004
0

Re: New key word not recoginized in VB6 connecting to Access

first take alook at this thread and it should help you out
http://daniweb.com/techtalkforums/showthread.php?t=272

and if you need alittle more info come on back or do a quick little google search on ODBC Access VB6 hope this helps
Team Colleague
Reputation Points: 36
Solved Threads: 2
PFO Founder
big_k105 is offline Offline
308 posts
since May 2003
Apr 28th, 2004
0

Re: New key word not recoginized in VB6 connecting to Access

I think that's probably a problem with your references. Go to Project->References and look at your references, it should tell you if something is missing. and if you're using ado, make sure you're using adodb.connection
Reputation Points: 19
Solved Threads: 0
Light Poster
BlackDice is offline Offline
43 posts
since Apr 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Program Question...listboxes
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Preprocessor directives





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC