LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Internet Explorer ActiveX - Saving a webpage

Is there a way to save a webpage to a local drive?
 
I'm actually trying to perform a function based on a field in a webpage, but the ony way I can think to do that is save it as a text file and parse the file for the info I need, so if someone can give me an idea on how to do that, I would appreciate it.
 
0 Kudos
Message 1 of 3
(2,947 Views)
Hi MattZ,

One way to accomplish this would be to download the webpage through data socket. I modified the example program under <CVI>\samples\datasocket\Reader to demonstrate this. You end up with a char[] in memory that you can parse to your desire.

Regards,
Message 2 of 3
(2,922 Views)
Thanks.  That got the job done.
0 Kudos
Message 3 of 3
(2,917 Views)