Click to See Complete Forum and Search --> : How to link an Access/VB app. to an internet based database
Winla
Sep 22nd, 2000, 02:23 PM
Supposed I have an Access or SQLServer DB with a known IP address on internet, Can I link DIRECTLY my VB or Access desktop program to that database? How? Thx for any idea.
kb244
Sep 22nd, 2000, 02:40 PM
SQL = Yes (just use the IP as the location)
Access = No (you cannot conect to an access DB over the net)
Winla
Sep 22nd, 2000, 03:05 PM
Thank for replying.
I just can't find info about this subject. Could you tell me where I could find more info.?
Can I still use ADO to access a SQLServer through internet? How about speed and security?
Thanks alot
kb244
Sep 22nd, 2000, 03:16 PM
yes you can still access SQL Server thru ADO (since it's accessing it over the net anyways, even thru the DSN) also Security, that depends on how you have SQL Server setup, speed, that also depends on how you have SQL Server setup, but in general, should be pretty secure (using a password) and speed should be very good (compared to access, and others)
I think what you want to look for is setting up a DNS-Less connection, if you cant or dont know how to register a DSN for that SQL on the machine the ADO connection is running from.
Winla
Sep 22nd, 2000, 03:59 PM
here is my connection syntax for ADO
myConnection="Provider=sqloledb; Data Source=server;" & _
"Initial Catalog=pubs; User Id=sa; Password=;"
where to specify that IP address?
Also, if using DSN, for seting up DSN on client machine, I need to specify the server of the DB. Since DB is located on internet, how to specify the server and the DB?
You know, I am talking about link to a DB through internet, not a local network.
thx
Winla
Sep 25th, 2000, 10:18 AM
kb244, you are right. I have found the right answer from MSDN
Thx.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.