My operatting ststem is WinXP, VB 6.0, SQL Server Professional 2000. when i trying to access data on vb from SQL Server Pro 2000 i get error can't connect to SQL Server. can you tell me answer and send sample program for it.
SQL Connection
Collapse
X
-
Tags: None
-
Originally posted by pravin1166My operatting ststem is WinXP, VB 6.0, SQL Server Professional 2000. when i trying to access data on vb from SQL Server Pro 2000 i get error can't connect to SQL Server. can you tell me answer and send sample program for it.
You may get answers faster if you show what you currently have. You may or may not be close with what you have. -
Originally posted by pravin1166My operatting ststem is WinXP, VB 6.0, SQL Server Professional 2000. when i trying to access data on vb from SQL Server Pro 2000 i get error can't connect to SQL Server. can you tell me answer and send sample program for it.
main_connection .Open "Provider=SQLOL EDB.1;User ID=user_id;Pers ist Security Info=False;Pass word=user_passw ord;Intial Catalog=table_n ame;Data Source=server_n ame"
Set main_catalog= New ADOx.Catalog
main_catalog.Ac tiveConnection= main_connection
-----------------------------
And, check if your SQL SERVER is running....Comment
-
Originally posted by pravin1166My operatting ststem is WinXP, VB 6.0, SQL Server Professional 2000. when i trying to access data on vb from SQL Server Pro 2000 i get error can't connect to SQL Server. can you tell me answer and send sample program for it.
What is the specific error that your are getting when you try to connect.
thanks
ansumanComment
Comment