• 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: Setting the default web browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the default web browser


  • Subject: Re: Setting the default web browser
  • From: Jens Bauer <email@hidden>
  • Date: Mon, 18 Mar 2002 16:47:59 +0100

Hi Terry,

On Fri, 15 Mar, 2002, Terry Smyth <email@hidden> wrote:

>I want to set the default web browser from within my program. I thought I
>could do this with Internet Config (ICSetPref), but I can't find the
>appropriate key to use. Have I just missed something, or is there any reason
>why I can't do this through IC?
>
>If I can use IC, will it work on OS X as well as 9?

Try something like this:

err = ICGetPref(inst, kICHelper "http", &attr, (char *) &helper, &size);

I know there is a list of browsers as well, but unfortunately, I forgot
what it's called. Try opening a *copy* of your internet preferences, and
look at the resources. When you've found the resource containing the
browser list, you should look at the name of this particular resource. In
"InternetConfig.h", you should search for the name of the resource, and
you will find the key.


Love,
Jens

--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Setting the default web browser (From: Terry Smyth <email@hidden>)

  • Prev by Date: Re: macnetworkprog digest, Vol 3 #67 - 13 msgs
  • Next by Date: Re: Setting the default web browser
  • Previous by thread: Re: Setting the default web browser
  • Next by thread: Re: Setting the default web browser
  • Index(es):
    • Date
    • Thread