Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wwutils calling two browsers
Message
 
To
22/12/2008 15:34:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01369251
Message ID:
01369471
Views:
8
It sounds like some system misconfiguration for URLs handled by the Windows Shell. Not sure how that could happen, but do you also have problems like that when you click on a link in an email for example?

GoUrl() underneath uses ShellExecute() and all it does is pass the URL to the browser. So unless the page you're bringing up is opening new windows, you should only see the window with the actual result.

Note that if you access a link that requires a download of some sort (ie. the browser normally would 'open' this window) it will also pop up in this way. You're just hitting a URL the same way as if you typed it into your browser.

+++ Rick ---

>Could someone explain to me why the following is opening two browser windows? The first is the default for the computer, the second is the actual window I'm opening.
>
>Thanks, Dan
>
>
>
>set procedure to wwutils additive
>
>GoUrl (("http://www.mywebsite.com/images2009/");
>+ urlencode(alltrim(si1.temp))+".jpg")
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform