Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can VFP 'control' netscape or IE?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00045050
Message ID:
00045089
Views:
33
>I'd like to write a VFP program that controls a browser to:
>
>1) Open a specific web page using a URL from 'the database'
>2) Read the source to extract all the links and add all the (unique) URLs to the database
>3) Go to the next URL in the database and start over at step (1).
>
>Any ideas?
>
>Thanks in advance

You can invoke Intenet Explorer as an Active-X server. Microsoft's site has a paper listing the properties and methods of the server. I don't know if you can read the source or not but you can navigate the web under VFP's control.

To invoke the server
oIE = createobject("internetwxplorer.application")
oIE.visble=.T.

To open a URL
oIE.navigate(URLname)
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform