Hi,

I want to read an Input file that was generated from a UNIX system.

This is my code :

Open FicName for input as #1
Line input #1, FLigne



=> FicName (the file) and FLigne (string to hold the line read)

But when I read the first line of this file, I don't get only the first line and this give me a memory problem (too much information).

I know this is caused because some document generated from UNIX system do not terminate each line with a carriage return and a linefeed...

So I was wondering if anyone of you knows how to convert a UNIX file to a DOS format (with CR and LF...)??

I am able to convert it with an application (Ultra Edit) but I need to be able to do it in my application.

thanks a lot, really appreciate it!

Al