Thanks David but I have tried before using:

for (index = 0; 1; index++) 
{
 err = NetLibIFGet(AppNetRefnum, index, &ifCreator, &ifInstance);
 if (err) break;
 if (ifCreator && !err)
 {
  size = sizeof(TlfPbx);
  err = NetLibIFSettingSet(AppNetRefnum, ifCreator, 0, netIFSettingModemPhone,
TlfPbx, size);
 }
}

It doesn't set the phone number in the NetworkDB database, so is not permanent.
I have to say: the NetLibIFSettingGet retrieves the correct phone number.

Please help me

Patricio

>
>> I am trying to change the phone number dialed to connect to a network.
>> I've seen this number stored in the NetworkDB database records, but there

>> is no information about it's structure.
>
>       Ever read your SDK? Here's a hint:
>
>       netIFSettingModemPhone              // found in NetMgr.h
>
>
>
>/d
>
>
>
>-- 
>For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/
>
http://www.hoy.net

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to