>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)