| | |
New key word not recoginized in VB6 connecting to Access
![]() |
•
•
Join Date: Apr 2004
Posts: 1
Reputation:
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
![]() |
Similar Threads
- Connecting to a access database (Visual Basic 4 / 5 / 6)
- connecting vb to ms access 2005 (Visual Basic 4 / 5 / 6)
- Error message due to empty row, (VB6-ADO-ACCESS) (Visual Basic 4 / 5 / 6)
- vb6 sql to access (Visual Basic 4 / 5 / 6)
- seach a key word in a table (PHP)
- Connecting to MS Access with PHP (PHP)
- VB6 - Locate/Access Database in a Server directory (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Program Question...listboxes
- Next Thread: Preprocessor directives
| Thread Tools | Search this Thread |
* 6 2007 access activex add age basic beginner birth bmp calculator cd cells.find click client code college connection connectionproblemusingvb6usingoledb creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit excel excelmacro file filename form header iamthwee image inboxinvb internetfiledownload listbox listview liveperson login looping microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading remotesqlserverdatabase report save search sendbyte sites sql sql2008 sqlserver subroutine tags time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web windows





