Re: Setting the default web browser
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.