Board index » delphi » System DSn

System DSn

Is there any way to create & configure a system DSN with Code so that I can
connect via ADO to a csv file

charlie

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/02

 

Re:System DSn


Quote
>Is there any way to create & configure a system DSN with Code so that I can
>connect via ADO to a csv file

Why not just use the Jet Ole db driver where you can specify the file to connect
to in the connectionstring?

Provider=Microsoft.Jet.OLEDB.4.0;Data Source= PathtoTextFile;
Extended Properties="text;HDR=YES;FMT=Delimited"

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads