Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to read a screen in Internet Explorer
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00791022
Message ID:
00791038
Views:
16
Hi John,

Take a look at WSH, specifically at the HTTPXML object, which can, without opening IE, capture the contents of the html that would be displayed into a string or a file, and take it from there.

Hope this helps!

Alex

>I have a VFP application that needs to read the current web page in Internet Explorer. The user navigates to an ASP web page where there are almost 20 files that need to be downloaded. I have been succesful in having the user enter the file name (the 1st 7 bytes are common to all files) and then downloading the files directly into my VFP application by using some setup vars to set the needed internet path. The problem is that now the ASP service provider is using 3 servers and the files could be on any one of the three. To make matters worse, the WRONG version of the files could be on one of them so I can't just look for the file (I was till I cought heck from the users). I need to be able to read the html of the page the user has on his/her screen so I can get the correct server.
>
>I have some API calls that tell me the name and handle of all open windows but I don't know where to go from there.
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform