Internet Config API (pt 3. Clarification)
Internet Config API (pt 3. Clarification)
- Subject: Internet Config API (pt 3. Clarification)
- From: "Paul Popovich" <email@hidden>
- Date: Wed, 4 Dec 2002 09:51:52 -0500
Hm,
I have been setting those keys all along and they only seem be setting
the values in the SystemPreference panel.
Here's a sample of my code:
osErr = ICSetPref(icInstance, kICWWWHomePage, kICAttrNoChange,
plStringPtr, size);
if (osErr == noErr)
{
CFShow(CFSTR("successfully set HomePage!") );
}
osErr = ICSetPref(icInstance, kICWebSearchPagePrefs, kICAttrNoChange,
plStringPtr, size);
if (osErr == noErr)
{
CFShow(CFSTR("successfully set SearchPage") );
}
osErr = ICSetPref(icInstance, kICNNTPHostX, kICAttrNoChange,
plStringPtr, size);
if (osErr == noErr)
{
CFShow(CFSTR("successfully set News Server") );
}
This only appears to set the values in the SystemPreference "Internet"
panel.
Is there something wrong with this code maybe?
Sincerely,
Paul.
_______________________________________________
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.