Micro Focus QTP (UFT) Forums
Running QTP script from a VB Application - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Running QTP script from a VB Application (/Thread-Running-QTP-script-from-a-VB-Application)



Running QTP script from a VB Application - scsenthil - 07-06-2009

Hi,

I am trying to run a QTP script from a VB application and also capture the result of the run.

I would like to know, what DLLs (related to QTP) I should refer in my VB application, so that I can automate the above process using a VB application.

I have installed QTP 9.5 in my PC and from my VB application I could see the DLL 'QTApplicationObj 1.0 Type Library (QTApplicationObj.dll)'. I assume this is the 'application extension' DLL that enables the QTP automation.

But when I try to refer/load this DLL, I am getting the error, 'Error in Loading the DLL'.

Regards,
Senthil