|
-
Nov 16th, 2006, 11:10 AM
#1
Thread Starter
Member
Remote Connection VB6/SQL Server 2000
I have this connection string that works for locallan connection:
[Highlight=VB]
ConnectionString = "Provider=MSDASQL.1;Password=" & sPWD _
& ";User ID=" & sUserName & _
";Extended Properties=""Description=strData;DRIVER=SQL Server;SERVER=" _
& "myServer" & _
";UID=strUSER;PWD=strPASS;DATABASE=myDB"""
VBCODE]
but i want to modify it to connect remotely (internet) to my DB....
do I only have modify "myServer" to "IP:Port//ServerName" ?
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
|