Opening an http:// URL in the user's default web browser?
Opening an http:// URL in the user's default web browser?
- Subject: Opening an http:// URL in the user's default web browser?
- From: Chris Boot <email@hidden>
- Date: Mon, 27 Aug 2001 20:37:01 +0200
Hi,
I'm trying to open an http:// URL in the user's default web browser. How
would I go about this in Cocoa? I've tried NSWorkspace's openURL: method,
but that doesn't work and complains that LaunchServices gave it an error
(application not found). LaunchServices apparently only opens file:///
URLs, judging by the header. So that leaves me with InternetConfig, which
is part of HIToolbox.framework, in Carbon.framework. I don't want to have
to include that whole framework, so I'm stumped. Is there any way of
opening such a URL in Cocoa?
Thanks,
--
Chris Boot
email@hidden
"Modem error handling really su~c%dk,s.^D^D&x@R*cCKo#?CB,*o#?C!!b %o#?
NO CARRIER