LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX entering data programmatically

Using the ActiveX Event Callback VI as an example.
Run the VI and connect to the NI website.
How would you enter a string programmatically in the search box?
And then press the go button programmatically?
 
Thanks.
 
0 Kudos
Message 1 of 2
(2,588 Views)
Hi,

Although I have not found an example that does what you want, I believe I have an idea of how to do this, but it may not be easy.  To get more details on the ActiveX commands with IE, you will have to go to the msdn.com website for documentation. 

I would place an ActiveX container on the front Panel and specify it to be used with IE.  You will then use a Navigate property node to go to the page you want.  You would then need to return the active document automation with a document property node.  The tricky part now is to use to Variant to data and translate the document automation object into an IHTMLDocument2 property node.  From there we have many more properties and have access to a property called Submit.  You would of course need to collect the forums and elements before submitting.  I hope this helps.

Regards,

Nadim
Applications Engineering
National Instruments


0 Kudos
Message 2 of 2
(2,575 Views)