>>Using ShellExecute to call a Web page, is there a way to know if it was successfully loaded? What I mean is that if we have a value that can't be interpreted by ShellExecute(), nothing will happen. How do we detect that in VFP? I would like to return a messagebox to tell the user that the value is not recognized to be interpreted as a URL.
>
>Any value over 32 means the call succeeded and the URL was probably alright. You can't tell whether the page loaded though. If hte URL is bad (ie malformed) the error will occur immediately, but if the page fails to load because the server is down, it will still return OK because the browser is run async.
>
>You can use the IE application object instead. There you can check for document complete events etc.
This works well. However, when passing a mailto to fire the mailer, it takes everything so it's always a success on that one. <s>