|
-
February 16th, 2000, 06:18 PM
#1
Remote DB ConnectionString
I use this ASP code to insert values on a web DB.
<%Set AdoConn = Server.CreateObject ("ADODB.Connection")
AdoConn.Provider = "Microsoft.Jet.OLEDB.4.0"
AdoConn.ConnectionString = "Data Source=" & Server.MapPath ("/cgi-bin/MyDataBase.mdb")
AdoConn.Open
SQL = "INSERT INTO MyTable (date,title) VALUES (#" & date() & "#,'" & AnyTextVar & "')"
AdoConn.execute(SQL) %>
But I want to create a Remote (client) Application in VB, to acomplish this task, and I don't know how to translate this instructions to an ADO Connection String.
This server is a free hosting sevice, and I don't have to use a DNS less connection too... so it gets more complex because of that.
If you know how to translate this to an ADO ConnectionString Please Help!
Thanks!
=ED=
=EDGARDO=
Univ. Of Puerto Rico
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
|