03-11-2011, 10:48 PM
(This post was last modified: 03-12-2011, 01:14 AM by Krish Udavant.)
Hi Ankur,
I am new to qtp. I wish to invoke qtp 10 from MS Excel 2003 on Windows XP. I wrote following staements in excel macro. When I run this it gives me error called "ActiveX component cant create object". I tried registering - regsvr32 "C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll"
Can anybody help me please?
I am new to qtp. I wish to invoke qtp 10 from MS Excel 2003 on Windows XP. I wrote following staements in excel macro. When I run this it gives me error called "ActiveX component cant create object". I tried registering - regsvr32 "C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll"
Code:
Dim App
' --- launcing qtp with required setting from .vbs file
Set App = CreateObject("quicktest.application")
App.Launch
' --- making qtp visible
App.Visible = True
Can anybody help me please?