connec to sql server 2000 through inter net

Posted on 2006-04-30
Medium Priority
Last Modified: 2013-12-25
i have pos system in head office (server) and clients ( 7 diffrent location)
when we add new item in the head office i must go to all the location to import this new items to the system so they can use it

the problem now we open 3 new clients in diffrrent city in the same country so to add new items i need to travel to this 3 cites

can i connect all the clients to the head office directly if i add new item to the head office(server) then all the clients can use the new data online direct without gooing and importing the new data to other location and is it useful (speed)

any helps please

i use vb6 programming (ado)

Question by:abdulhameeds
  • 2

Accepted Solution

pradapkumar earned 750 total points
ID: 16575245
if have static ip over internet you can access your server by changing the connection string like

Driver={SQL Server};Server=<your Server IP address comes here>;Database=<your db name>;Uid=user;Pwd=asdasd;

try this and give feedback
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 16575253
you need to use the Server IP address that is visible on the internet, and of course ensure that the port 1433 is open in the firewall for the offices that try to connect to your sql server.

Author Comment

ID: 16583096
thanks all this is my connection string

On Error GoTo OCError
   Set adoPOSACC = New ADODB.Connection
    sAttributes = "DATABASE=" & DATABASENAME & vbCr & "Description=VISPOS" & vbCr & "OemToAnsi=No" & vbCr & "Server=" &
    RegisterDatabase "VISPOS", "SQL Server", True, sAttributes
    VisConn.CursorLocation = adUseClient
    VisConn.Open sConnectString

i try to put the ip not work with me
the network domain error

i tryied the ip

Expert Comment

ID: 16583203
first tell us whether it is working on web server or in your organizations personal server? If it of your organization's one then it should have the public IP address which one was visible for the entire internet. Then only u can use that MS SQL server. Or try to buy a web hosting account from Service providers They will have the server with Public IP address. So that you can access that database from anywhere otherwise it is not possible to access your SQL server over internet(network).

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question