HI All,

Currently while connecting to a local database i.e. QTP and the
database on same system , I am doing it by :

Set objconn=createobject("ADODB.Connection")
objconn.ConnectionString="DSN=MS Access Database;DBQ=C:
\ClassicsAccess.MDB.mdb;DriverId=281;FIL=MS
Access;MaxBufferSize=2048;PageTimeout=5;"
objconn.Open


But, if the database is on another system ..lets say 172.64.22.223,
Then How am i goint to connect to that database ? Should it be like :
Set objconn=createobject("ADODB.Connection", 172.64.22.223)
objconn.ConnectionString="DSN=MS Access Database;DBQ=C:
\ClassicsAccess.MDB.mdb;DriverId=281;FIL=MS
Access;MaxBufferSize=2048;PageTimeout=5;"
objconn.Open

or there is some other way to connect.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to