•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 427,488 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,404 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 4210 | Replies: 2
![]() |
•
•
Join Date: Apr 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
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
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- From "Word" to "Access" automatically (MS Access and FileMaker Pro)
- Problem with Composite Key in MS Access (MS Access and FileMaker Pro)
- Upgrading VB4 to VB6 and Database Connection to MS Access (Visual Basic 4 / 5 / 6)
- VB6 and MS Access 2002 (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Program Question...listboxes
- Next Thread: Preprocessor directives


Linear Mode