Re: Launching Internet Explorer from a Cocoa app
Re: Launching Internet Explorer from a Cocoa app
- Subject: Re: Launching Internet Explorer from a Cocoa app
- From: Paul Ferguson <email@hidden>
- Date: Sat, 23 Mar 2002 15:59:55 -0800
On Sat, 23 Mar 2002, Alex Nygren wrote:
I need help...I am having trouble launching Internet Explorer using
NSTask.
As an example of how I am trying to do it:
...
Unless you need to specifically launch Internet Explorer, you should
launch the app the user has selected as their preferred browser, which
is easy to do:
void LaunchBrowserWithURL(NSString * theURL)
{
[[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString: theURL]];
}
<fergy/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.