|
-
Jul 25th, 2003, 01:23 AM
#1
Thread Starter
Member
Cannot retrieve records from database in other computer
hi
i am trying to make a connection to database that are in other computer. But the follow errors occurs: Could not find installable ISAM. btw i am using vb.net
this are the codes:
Dim path As String
mConn = New ADODB.Connection()
path = "server=172.20.144.4;uid=administrator;pwd=;database=Bio.mdb"
mConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & path)
i am not sure whether my codes is correct or not but i koe i cannot connect to that computer. Can any one tell me why?
thanks alot
-
Jul 25th, 2003, 02:04 AM
#2
I don't think you can use an IP address when trying to connect to an MS Access database. You should use a servername and share path, like this
oConn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
"Dbq=\\myServer\myShare\myPath\myDb.mdb;" & _
"Uid=admin;" & _
"Pwd="
-
Jul 25th, 2003, 02:06 AM
#3
or if you're using OLEDB...
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=\\myServer\myShare\myPath\myDb.mdb"
-
Jul 25th, 2003, 03:14 AM
#4
Thread Starter
Member
sorry
hi
i am not too familar with access,
sorry what do u mean by myserver and myshare?
regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|