R
RD
We're picking up files on an FTP server using a vb.net program. We need to
know if the file we pick up is an ASCII comma separated file or if it is in
an Exel format without relying on the extension of the file name
exclusively. So we have to look in the file itself using Vb .Net program
code.
By looking at the contents of the file using a function or sub, how can we
determine reliably if it is an ASCII file or an Excel file?
Thanks for any help,
Bob
know if the file we pick up is an ASCII comma separated file or if it is in
an Exel format without relying on the extension of the file name
exclusively. So we have to look in the file itself using Vb .Net program
code.
By looking at the contents of the file using a function or sub, how can we
determine reliably if it is an ASCII file or an Excel file?
Thanks for any help,
Bob