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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sam HobbsRank #107 · 20.5K reputationPosted Feb 28, 2010, 11:10 PM EST
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.
Sam HobbsRank #107 · 20.5K reputationPosted Feb 28, 2010, 8:01 AM EST
GustavoRank #1,990 · 732 reputationPosted Feb 28, 2010, 8:07 AM EST
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 HobbsRank #107 · 20.5K reputationPosted Feb 28, 2010, 9:02 AM EST
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.
GustavoRank #1,990 · 732 reputationPosted Feb 28, 2010, 9:15 AM EST
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.
theLizardRank #1,079 · 1.8K reputationPosted Feb 28, 2010, 6:22 PM EST
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.