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!

Connect to remote database

Status
Not open for further replies.

new2this2002

Programmer
Jun 22, 2002
67
GB
i have an access database on my webserver, all the ODBC stuff is set up and i have created an asp page to connect to it and read the contents of one of the tables in the database.

My question is how do i do this using vb? I cant get it to work.
 
Using ADO try this to connect.

Dim CONN As New ADODB.Connection
With CONN
.ConnectionString = "DSN=myodbc"
.Open
End With
Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top