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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to