Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute
Message
From
08/03/2004 11:15:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
05/03/2004 17:09:59
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00882701
Message ID:
00884110
Views:
11
Tore,

Thanks, that clears things up.

Jerry


>Hi Jerry,
>
>I am sorry, but I remembered wrong, my way opens an already open IE window, if one already exists. So, it works just like your code. However, if you want it, here is a very simple code:
>
>xx=CREATEOBJECT('hyperlink')
>xx.NavigateTo('yourURL')
>
>
>>Which hyperlink object do you add to your form? I added the label object from the VFP FFC\_hyperlink.vcx class library and it does not have a NAVIGATE() method.
>>
>>THISFORM.MyHyperlinkLabel.NAVIGATE() did not work.
>>
>>However, I can fill in the CTARGET property to make it work that way.
>>
>>Thanks,
>>
>>Jerry
>>
>>
>>
>>>Hi Jerry,
>>>
>>>The way I do it is to add a Hyperlink object to my form, and issue the following command:
>>>
>>>this.Parent.hyperlink1.NavigateTo('http://www.whatever.com')
>>>
>>>
>>>>I am using the ShellExecute api in a VFP Windows application. When a user press a button in my WinForm, I call ShellExecute and pass a URL to open a browser and display the website/page.
>>>>
>>>>This works fine except that ShellExecute will use either any open browser to display the page or open the default browser to display the page if a browser isn't open already.
>>>>
>>>>Is there a way to force ShellExecute to always open a new browser to display the page and ignore any open browser? Or is there a better way to call IE and pass it a URL to display?
>>>>
>>>>Thanks,
>>>>
>>>>Jerry
Previous
Reply
Map
View

Click here to load this message in the networking platform