Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Gagnon
  Where is Mike Gagnon?
 Pointe Claire
 Canada
 Mike Gagnon
 To: Koen Piller
  Where is Koen Piller?
 Santpoort-Zuid
 Netherlands
 Koen Piller
 Tags
Subject: RE: save URL
Thread ID: 104571 Message ID: 104573 # Views: 3 # Ratings: 0
Version: Visual FoxPro 9 Category: Win32API programming
Date: Thursday, August 17, 2006 7:36:47 PM         
   


From the message 102431, ShellExecute is being used, and don't think it is possible using that method since there is no "hook" to internet explorer. But if you automate Internet explorer instead to can. Use the following example and navigate to another page, and the oBrowser.LocationUrl contains the current url


tcUrl="http://www.mapquest.com/"
PUBLIC oBrowser
oBrowser = CREATEOBJECT("internetexplorer.application")
oBrowser.navigate(tcURL)
oBrowser.visible = .t.

P.S. There is an example (faq184-4666) on Tek-Tips I wrote how to automate Mapquest.

> Hi,
>
> I have implented the MS routeplannner (thanks to Hans de Groot message 102431). Now I would like to save the changed URL the user typed in when e.g. changing the starting point. Any idea how to save the URL in my app after closing the Internet application and returning to the VFP app?
> Thanks




Mike Gagnon


ENTIRE THREAD

save URL Posted by Koen Piller @ 8/17/2006 6:11:00 PM
RE: save URL Posted by Mike Gagnon @ 8/17/2006 7:36:47 PM
RE: save URL Posted by Koen Piller @ 8/17/2006 10:07:25 PM
RE: save URL Posted by Mike Gagnon @ 8/18/2006 12:00:16 PM
RE: save URL Posted by Koen Piller @ 8/18/2006 2:18:11 PM
RE: save URL Posted by Mike Gagnon @ 8/19/2006 12:55:36 PM
RE: save URL Posted by Koen Piller @ 8/19/2006 6:12:19 PM
RE: save URL Posted by Mike Gagnon @ 8/19/2006 6:33:36 PM
RE: save URL Posted by Koen Piller @ 8/20/2006 1:03:13 AM
RE: save URL Posted by Borislav Borissov @ 8/20/2006 7:56:46 AM
RE: save URL Posted by Koen Piller @ 8/20/2006 8:43:32 AM
RE: save URL Posted by Borislav Borissov @ 8/20/2006 12:18:45 PM
RE: save URL Posted by Koen Piller @ 8/20/2006 1:14:42 PM
RE: save URL Posted by Borislav Borissov @ 8/20/2006 2:50:33 PM
RE: save URL Posted by Koen Piller @ 8/20/2006 3:53:04 PM
RE: save URL Posted by Borislav Borissov @ 8/20/2006 5:40:43 PM
RE: save URL Posted by Koen Piller @ 8/20/2006 5:58:09 PM
RE: save URL Posted by Borislav Borissov @ 8/20/2006 6:07:20 PM
RE: save URL Posted by Koen Piller @ 8/20/2006 6:45:10 PM
RE: save URL Posted by Borislav Borissov @ 8/20/2006 6:53:50 PM