06-22-2010 02:47 AM
Hi everybody, I was wondering if it's possible to collect data from a web frame using it's source code.
I have included my web frame and an extract of its source code. I hope you can help me to find the way to resolve it.
I'm available for any kind of questions 😄
Thanks
06-23-2010 08:34 AM - edited 06-23-2010 08:35 AM
Hello,
You have to know how the web page is built, in order to retrieve the requiered data. Here is an example of how you can process. Use a WebBrowser ActiveX control on your front panel, and then use the properties and method exposed by this control. The loop waits for page loading completion. You may have to convert variant data (such as the value of Document) in the ActiveX reference class you need to manipulate.
Here in this sample, I just read the content of the <body>'s web page.
Best regards,
07-15-2010 04:50 AM
Hi thanks for the tip I would like to know if you can help me to stop the refreshment of the web page I've already tried with IWebBrowser2::Quit and Stop, but it doesn't work I use "GoHome" to stop the refreshment
Please find included an extract of my Vi
best regards
Ben