Vb6/SQL Server 2000 connection a distance
jai cette chaine de connection qui fonctionne bien en localLAN mais je voudrais le modifier pour etre capable de me connecter a distance (internet)
Code:
1 2 3 4 5
| ConnectionString = "Provider=MSDASQL.1;Password=" & sPWD _
& ";User ID=" & sUserName & _
";Extended Properties=""Description=strData;DRIVER=SQL Server;SERVER=" _
& "myServer" & _
";UID=strUSER;PWD=strPASS;DATABASE=myDB""" |
Ai-je seulement besoin de changer "myServer" a "IP:Port//ServerName" ?
jai tout essayer les combinaisons possibles pour myServer and rien ny fait, peut-etre il y dautres chose a ajouter/modifier??
mon Enterprise Manager peut se connecter a distance a ma DB mais je n'arrive pas avec mon client VB
A Laide!!!!