> mode=fileModeReadWrite;
> IpSetting=FileOpen(0,"Ip.txt",sysFileTFileStream,0,mode,NULL);
> FileWrite (IpSetting, temp, 1, strlen(temp), NULL);
> FileClose(IpSetting);
>
> IpSetting=FileOpen(0,"Ip.txt",0,0,mode,NULL);
> FileRewind(IpSetting);
> FileRead (IpSetting, temp1, 1, 16, NULL);
> SetFieldText(MainStatusField, temp1, 79, true);
> FileClose(IpSetting);

you fail to punch the terminator in your string. for that I shall refer you
to M. Burmeister. he is a very rude man and he will probably tell you off.

you could also skip the first close and the second open.



-- 
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