LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI/ActiveX Automation Controller for IExplorer: How to search chapters/known strings inside a HTML page ?

My application is a sequence of single teststeps and
I want to offer a online help for each step, to show the testspecification. I can open the HTML file (compare NI sample iedemo.prj), but how can I get to the known chapter. Is there any Microsoft Internet Control function, like the EDIT/SEARCH of the Internet Explorer ?
0 Kudos
Message 1 of 3
(2,679 Views)
You can automate the Find function of Internet Explorer using command scripting through the INET_IWebBrowser2ExecWB function (see line 138 in the example for an example of this function). For help with the ExecWB function and options consult MSDN or the Internet Explorer programming help from Microsoft.

Another option would be to create a web page with bookmarks. That would allow you to jump to different parts of the page with the URL instead of searching for words.

Best Regards,

Chris Matthews
National Instruments
Message 2 of 3
(2,679 Views)
Dear Mr. Matthews, thank you for your quick support.
Using bookmarks seems easier. If my file C:\sample.htm
has the bookmark Chapter1. Can I specify a URL to get directly to Chapter1 ?

Best regards

Volker Baumgaertner
Siemens AG
Germany
0 Kudos
Message 3 of 3
(2,679 Views)