Problems downloading html generated files w/vb5
Posted on 1998-07-14
I need to download some web pages, my program works with a regular html file, but the site now generate the page with a cgi-script or similar. The msinet.ocx "openurl" just download a small part of the page (just until the "generated" part) and the statechanged events dont fired or run (with execute command). Now i try to use the web browser control, but this make a new problem for me: i need to save the html part to a string variable or a file for future procesing. I use "ExecWb" (from microsofts online help) with a OLE command called "OLECMDID_SAVEAS" but the program ask for a name to save it, and it must to work without user intervention. I think to send a key-hit to the keyboard buffer (an ALT-S) but i dont know how. I use Win95 OSR2, IE4.01 and VB5 w/SP3.
Any suggest welcomed welcomed. Thank You.