How can plain ascii text files be identified without having to look for the .txt extension?
Printable View
How can plain ascii text files be identified without having to look for the .txt extension?
Without looking at any extension, you'd have to open them up and check to make sure the data inside is all around the readable characters range
How do you do that???
Well you can get information on File I/O here ;
http://www.vbforums.com/showthread.p...hreadid=121667
So you'd read in the data, and then um... I suppose loop through for a while and check that each character is inside the character ranges for a-z, A-Z, 0-9 and also a few punctuation marks...