Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can i access a data from remote site

Status
Not open for further replies.

azamatali

Programmer
Aug 20, 2001
50
0
0
IN
hi
i am trying to written an application through which i am acces data from remote site
any body help me
 
Hi,

It depends on the type of database that you are connections to, but it is all in the connection string. E.g. with SQL Server it would be something like

conn.open="Provider=SQLOLEDB.1;User Id=YourUserId;Password=YourPassword;Data Source=IP Address of Remote SQL
Server;Database=YourDatabase;Network Library=dmssocn;Network Address=IP
Address of Remote SQL Server"
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
How are you connected to the remote site? -Chris Didion
Matrix Automation, MCP
 
I hate that laughing face that allways comes up in the SQL Server connection string - its really not funny at all. Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top