|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Reading a .DAT file with the Microsoft Text DriverI have an application that uses the Microsoft Text Driver to read ASCII
delimited files. Most of the time these files are either CSV or TXT file extension. Recently I needed to read some that had a DAT file extension. When I tried to open it with the Microsoft Text Driver an exception was thrown that said the file was already in use. But if I simply rename the file with a TXT file extension the application opens and reads the file just fine. What gives? Is there a special reason for using the text driver versus a .net built
in method? za***@construction-imaging.com wrote: Show quoteHide quote > I have an application that uses the Microsoft Text Driver to read ASCII > delimited files. Most of the time these files are either CSV or TXT > file extension. Recently I needed to read some that had a DAT file > extension. When I tried to open it with the Microsoft Text Driver an > exception was thrown that said the file was already in use. But if I > simply rename the file with a TXT file extension the application opens > and reads the file just fine. > > What gives? Charlie Brown wrote:
> Is there a special reason for using the text driver versus a .net built Ignorance?> in method? When developing the application I was told to use the text driver because that would make it easier to modify the application later to add other ODBC data sources. Show quoteHide quote > > za***@construction-imaging.com wrote: > > I have an application that uses the Microsoft Text Driver to read ASCII > > delimited files. Most of the time these files are either CSV or TXT > > file extension. Recently I needed to read some that had a DAT file > > extension. When I tried to open it with the Microsoft Text Driver an > > exception was thrown that said the file was already in use. But if I > > simply rename the file with a TXT file extension the application opens > > and reads the file just fine. > > > > What gives?
FSO equivalent in VB.net
Mask and dates Call Multithreaded Sub from Timer Complete Newbie Re: Is VB.NET Popular??? Is there some way to tell the debugger not to stop at WndProc? set focus Need some info about the Load event of Forms and Usercontrols How to Step back to caller in break mode Max Pool Size question |
|||||||||||||||||||||||