Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening each url in separately default web browser
Message
From
26/11/2006 08:01:39
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
26/11/2006 07:29:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01172447
Message ID:
01172464
Views:
24
>>Hi all
>>I have a program that users can select some website as themselves favorites.
>>I have a form that in it i have a command button as "FAVORITES".
>>When user click it, i want to open selected website in separately default web browser.
>>I am using from below code. But this opens all url in one browser window, and only last selected url.
>>What is the best way for doing this?
>>Thanks
>>
>>
>>   MyObject = CREATEOBJECT("Shell.Application")
>>   SELECT M_Web
>>   GO TOP
>>   SCAN ALL FOR !EMPTY(WFav)
>>        MyObject.Open("http://www."+ALLTRIM(WWeb)+"/")
>>   ENDSCAN
>>
>
>Using FAQ #8134, my users have a similar problem, when my software creates an HTML file (for preview of certain reports). But this problem only happens in Internet Explorer - one report (HTML file) replaces the previous one.
>
>I tell them to install FireFox or Opera, and set it as the default browser.
>
>In general, I prefer Opera as a browser, but for our preview, it has display problems if the users use the "Zoom" feature, so the first choice would be FireFox.

I have not any problem with opening my url in default browser, my problem is that when i want to open some url in separate window , only one of them ( and it is last url ) opened. i think it is because of i put this command in scan loop.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform