i know the remote server’s ip and stuff, and i can replicate the tables to that server, but what exactly do i change in this code for it to actually use the remote server?
That is SQL 2005 code, you need to use SQL 2000 code it would look more like this:
“Data Source=serverIPorname,1433;Network Library=DBMSSOCN;User ID=Username;Password=thePassword;”
Try it for 2005 as well, it will work it uses the built in libraries, the path you gave is not only SQL 2005, but the Express version installed on a local server the method for getting to a remote server is the same.