 |
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: remote database
What type of server database are you trying to connect to?
Here is a list of providers:
http://www.carlprothman.net/Default.aspx?tabid=81
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
20-03-2006 at 02:04 AM |
|
|
007 Level: Scholar
 Registered: 14-08-2003 Posts: 30
|
Re: remote database
i'm using microsoft access database
____________________________
Make your dreams REAL!
|
|
20-03-2006 at 03:41 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: remote database
Did you even look at the site I gave you? There you have OleDB provider for MS access, and have an example if database if located on a network share.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
20-03-2006 at 06:04 PM |
|
|
007 Level: Scholar
 Registered: 14-08-2003 Posts: 30
|
Re: remote database
can i use IP address for the connection of database in a remote PC instead of a shared Drive? how?
i'm trying to use the ff codes but it doesn't work
oConn.Open "Provider=MS Remote;" & _
"Remote Server=http://myServerName;" & _
"Remote Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=c:\somepath\mydb.mdb", _
"admin", ""
____________________________
Make your dreams REAL!
|
|
23-03-2006 at 12:57 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: remote database
quote: oConn.Open "Provider=MS Remote;" & _
"Remote Server=http://myServerName;" & _
"Remote Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=c:\somepath\mydb.mdb", _
"admin", ""
You never said that this database is not located on LAN network, which makes great difference. ADO communicates to remote server via RDS DataFactory, which I never used myself, but you should read about it, since I think I have read that this tehnoloogy has some major security holes.
Anyway, back to your problem. It should be
Remote Server=http:\\ ' not the Remote Server=http://
[Edited by Goran on 23-03-2006 at 03:16 PM GMT]
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
23-03-2006 at 02:14 PM |
|
|
007 Level: Scholar
 Registered: 14-08-2003 Posts: 30
|
Re: remote database
i'm opening it with vb6. my programs are two. i have a vb6 program for Server and another program for client. i have only one Access database. these two programs used the said database. but the problem is only one program can open the database.
i'm using Windows 98 for these two programs. all computer used the windows 98? i don't have OS for the server like windows NT or Windows 2003 server
this is my connection string. drive c is shared.
is it possible to used the IP address for the connection string?
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\O07\c\intranet\Database\dbUser.mdb;Persist Security Info=False
[Edited by 007 on 28-03-2006 at 01:23 AM GMT]
____________________________
Make your dreams REAL!
|
|
28-03-2006 at 01:18 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: remote database
If you open a database on a client PC, are you able to open the database on server afterwards? Or the access is denied only on client PC?
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
29-03-2006 at 11:44 PM |
|
|
007 Level: Scholar
 Registered: 14-08-2003 Posts: 30
|
Re: remote database
i already solved the problem. thnks for all the help Goran, GeoffS, steve_w,
____________________________
Make your dreams REAL!
|
|
30-03-2006 at 01:28 AM |
|
|
|
|
 |
 |