Solved

Problems downloading html generated files w/vb5

Posted on 1998-07-14
1
146 Views
Last Modified: 2010-05-03
Hi.
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.
0
Comment
Question by:jfconti
1 Comment
 

Accepted Solution

by:
74wolfgang earned 200 total points
ID: 1465749
i don´t know the right answer , but how about the "sendkeys %s" command ?

bye
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Paint/Redraw window while dragging 16 68
Exit a vb6 apps when a calling it apps closes 15 41
Recommendation vb6 to vb.net or others 14 105
Set email body to html using vbscript 6 24
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now