On Wed, 8 Dec 2004 17:05:03 -0800, "Eric" <Er**@discussions.microsoft.com> wrote:
¤ Hi,
¤
¤ I need to find a way to identify between a few different file formats
¤ WITHOUT looking at the file extension. Very often our customers will name
¤ file incorrectly. For example, they'll send us a file that's named
¤ 'filename.xls', but it's actually a tab delimited or comma delimited file.
¤
¤ The possible formats that I need to identify are: HTML, tab delimited, comma
¤ delimited or Excel.
Can't be done programmatically. There is nothing particularly unique about tab delimited or comma
delimited files (other than the delimiter).
Unless you add a customized header or identifier of some type you won't likely be able to tell them
apart without looking at them.
Paul ~~~
pc******@ameritech.net
Microsoft MVP (Visual Basic)