> >Hi friends > >I am trying to change the phone number to be dialed by a modem interface in >the palm. So I used > >err = NetLibIFSettingGet(AppNetRefnum, ifCreator, 0, netIFSettingModemPhone, >TlfPbx, &size); > >to get it, but the call to NetLibIFSettingSet doesn't change this value and >does not return any error number. > >How can I change this phone number from my program? > >Best regards >Patricio >
I came across this ages ago, here's what I remember, although I can't be 100% sure after all this time: NetLibIFSettingSet() doesn't change the values stored in the Prefs/Network Panels. It changes the settings to be used for a network connection. The Prefs/Network panel is the user's way of changing those settings, and the Network panels use NetLifIFSettingSet() when the user changes information or changes which provider is selected. If you want to change the Prefs/Network panels settings, you have to modify the Prefs/Network panel database. There's example code for how to do this up on the Knowledge Base (http://oasis.palm.com/dev/kb). Unfortunately it's down at the moment, so I can't give you the link. I think if you search for 'Network panel' you should find it. Cheers Russell -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
