Hello:
Can someone show me a sample code of how I can use odbc to create a new text csv file?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Mar 1, 2010, 4:10 AM
Please see CSS SQL Server Engineers : How to get a x64 version of Jet? which says that Jet has "entered a state of functional deprecation and sustained engineering". There is more there taht you should read.
I have found however Data : 64-bit OLEDB Provider for ODBC (MSDASQL) Is Now Available For Windows Server 2003 and I found Download details: Access Database Engine 2010 Beta. I assume that the 2010 Beta version is the latest.
So Giorgio, you might want to try the 2010 Beta download for Jet.
theLizardPosted Feb 28, 2010, 11:22 PM
I think you need to get your facts strait there Sam, ODBC is here for some time to come, do you think that the other major database providers are going to stop using ODBC, think again.
If you are peddling this type of misinformation Sam maybe it's time you retired.
GustavoPosted Feb 28, 2010, 2:15 PM
Ok... I will try to get away from ODBC and Jet. Thanks for the info.
I will surf on how to read, write, delete and update using the StreamWriter.
Reason I am not using the MS SQL databse stuff yet, is that I am trying to write a program that sets up a login program before it really connects to the real database.
This subject is closed... BUT, I will probably have more qestions after I read up on the StreamWrite stuff. Thank you very much for the info. I am learnign a lot.
Sam HobbsPosted Feb 28, 2010, 2:02 PM
I notice that the Microsoft.VisualBasic.FileIO.TextFieldParser class does not write CSV files and there is not a class in Microsoft.VisualBasic.FileIO to do that, so I assume Microsoft intends for us to write our own code for writing CSV files.
GustavoPosted Feb 28, 2010, 1:07 PM
Thanks... I dont want to write my stuff with old stuff... I will take out the ODBC stuff and go back to the "Microsoft.Jet.OLEDB.4.0". BTW: What do you think about the "Microsoft.Jet.OLEDB.4.0" ?
Sam HobbsPosted Feb 28, 2010, 1:01 PM