Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening URL in default browser on specific window
Message
From
31/12/2016 02:52:58
 
 
To
30/12/2016 19:21:06
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01646212
Message ID:
01646230
Views:
55
>>>Ah! maybe this link can solve your problem
>>>this talks on DOM syntax to set or return target attribute of links in a web page (_blank,_self,_top,_parent or filename of a named frame).must access to the document object.
>>>
>>>
>>>http://www.w3schools.com/jsref/prop_base_target.asp
>>
>>I don't need to control the target of the links of the web page, it's the page itself that I want to be rendered at a named target. As I see it, it should be some kind of launch option of the browser, but most probably such option does not exist.
>>
>>Merci, quand même, Yousfi.
>
>Possible workaround (?):
>
>- Let the browser window come up wherever it wants (maybe hidden or off-screen [if possible] would be good)
>- Scrape that
>- Paste into your target window

Thanks, Al.

I would like to avoid having a browser window hanging around, hence my quest for a runnable solution. The Navigate method in InternetExplorer object offers a parameter to specify a named window, but I don't want to invoke no other than the default browser, even if the solution only works with a specific one.

But your idea and Yousfi's lead me to think on a proxy URL that is opened instead of the target URL, which would give an environment where some manipulation could be possible. I'll have a look at it and report back.

Thanks again, to both of you.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform