[Gambas-user] file.save saves in DOS format

nospam.nospam.nospam at ...626... nospam.nospam.nospam at ...626...
Sun Nov 22 13:25:23 CET 2009


Joshua Higgins wrote:
> Thanks for the info. My program generates the /etc/exports file from
> a list of IP addresses and allowed shares. For some reason, when I'm
> using File.Save to save the contents of a TextArea to /etc/exports,
> it is putting the two end of line characters like the DOS format,
> instead of one, so the NFS server cannot read the configuration file.

So just Replace(TextArea1.Text, "\r\n", "\n")




More information about the User mailing list