Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebBrowser control ?
Message
From
01/07/2006 01:36:52
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
 
To
30/06/2006 09:23:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01132988
Message ID:
01133239
Views:
18
>Speaking of which... did anyone try to do this with webbrowser control invisible? Scouring a webpage behind the scenes... almost like a poor man's webservice.

When I started this, nobody was talking about webservices - when switching from IE3 to IE4.

>I've built a couple of forms which did this (get values from webpages fields, sometimes set and posted some), but each time the user had to see the page, never needed to do it invisibly. Just curious - would that work?

I had usually a pageframed design with webbrowser filling most of one page, debug info in another I dynamically add when I was working on it - and this did work, at least for the sites scraped for one client, as he was intersted in certain stock trading constellations shown on the main page.

Scraping with webbrowser on visible form minimized probably worked everywhere (never got complaints). As the clients know how the program operates, I see no benefit of working invivisbly. I sometimes minimized the webbrowser dimensions (as the PI's were sometimes taxed even over the trickle feed from ISDN <g>), but a visual reminder in case of problems is better.

I did automate IE once with no GUI shown, experimented with .visible and showing off screen and went with off screen. As some of todays pages seem to work differently when user interaction (if only mouse moving) is detected, I'ld argue to keep the automated session as similar to the human operated as possible.

my 0.02 EUR

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform