• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to change default browser in Mac OS X 10.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change default browser in Mac OS X 10.2?


  • Subject: Re: How to change default browser in Mac OS X 10.2?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Tue, 13 May 2003 15:27:03 +0200

My code is

#define kICDefaultBrowser "%pHelper*http"

ICInstance theInst;
OSStatus status = ICStart( &theInst, 0 );
Size size = sizeof( OSType );
ICAttr attr = kICAttrNoChange;
status = ICSetPref( theInst, kICDefaultBrowser, attr, (OSType*)&creator, size ); <- Error!
status = ICStop( theInst );

What error do you get? Is it a compiler error, or does status get set to an error number? If yes, what number is it? Have you looked up what the error code means in the headers (you might have to peek at <MacErrors.h> if it's not in the Internet Config headers)
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
References: 
 >How to change default browser in Mac OS X 10.2? (From: Noriaki Misawa <email@hidden>)

  • Prev by Date: NSAttributedString encoding
  • Next by Date: Re: conditional NSTextView activation?
  • Previous by thread: Re: How to change default browser in Mac OS X 10.2?
  • Next by thread: child window view disappearing
  • Index(es):
    • Date
    • Thread