• 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
How to change default browser in Mac OS X 10.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to change default browser in Mac OS X 10.2?


  • Subject: How to change default browser in Mac OS X 10.2?
  • From: Noriaki Misawa <email@hidden>
  • Date: Tue, 13 May 2003 11:32:36 +0900

Hello.

I have a question.

I want to change default browser while launch my application.
Who does anybody know documents or sample or etc...?

Using Project Buider, Interface Builder, Cocoa.

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 );


--
Noriaki Misawa <mailto:email@hidden>
http://www.misawa.net/
iChat:email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: How to change default browser in Mac OS X 10.2?
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: How to change default browser in Mac OS X 10.2?
      • From: Jérome Foucher <email@hidden>
  • Prev by Date: Re: Sending object between threads.
  • Next by Date: child window view disappearing
  • Previous by thread: Re: Sending object between threads.
  • Next by thread: Re: How to change default browser in Mac OS X 10.2?
  • Index(es):
    • Date
    • Thread