Answer Posted / ravi_kanakam
Check this............
Function db_connect( byRef curSession ,connection_string)
dim connection
on error resume next
' Opening connection
set connection = CreateObject("ADODB.Connection")
If Err.Number <> 0 then
db_connect= "Error # " & CStr(Err.Number) & " " &
Err.Description
err.clear
Exit Function
End If
connection.Open connection_string
If Err.Number <> 0 then
db_connect= "Error # " & CStr(Err.Number) & " " &
Err.Description
err.clear
Exit Function
End If
set curSession=connection
db_connect=0
End Function
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is the difference between call to existing action and copy of an action?
What is the virtual object?
if numbers are always changing write a script for that
Explain about the test fusion report of quicktest professional (qtp)?
how to download mercury qtp9.2 ny internet ?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
Explain Descriptive Programming Types with Examples?
Does quicktest professional is unicode compatible?
What is the process of synchronizing qtp and aut?
Why script error occur in between recording in qtp?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
is there any addin for remedy user application
how can we compare descriptive programing with a regular expression