Micro Focus QTP (UFT) Forums
activex automation programmatically - 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: activex automation programmatically (/Thread-activex-automation-programmatically)



activex automation programmatically - nehastar - 06-13-2012

hi all,
I want to programmatically invoke an activex object. The code should invoke the object at runtime. Basically I want to identify the object based on its properties and not the coordinates. can anybody provide a sample code since i m new to qtp.my code should be able to access the properties of the object at runtime so that it is independent of the machine and the screen.

thanks in advance !!