Mohamed Jihed Jaouadi
Mohamed Jihed Jaouadi

Reputation: 1517

How to convert an excel file to .csv file?

I'm developping an application for Honeywell Dolphin 6100, a mobile computer with a barcode scanner that uses Windows CE 5.0 like OS.

I want to create a little application responsible of the convertion of an excel file to .csv file.

Is it possible in Win CE ? if so, any help on it ?

thank you in advance !!

Note: I'm using VS2008 and I'm working on Windows 7.

Upvotes: 4

Views: 6766

Answers (2)

ctacke
ctacke

Reputation: 67168

There's no reasonable way to do this on a Windows CE device. Presumably the CSV file is coming from a PC, so you must convert it on the PC (using an interop library or tool) before sending to the device.

Upvotes: 0

Freelancer
Freelancer

Reputation: 9064

You can do this by using saveas() method in Excel:

wbexceltocsv.SaveAs("c:\Filename.csv", Microsoft.Office.Interop.Excel.XlFileFormat.xlCSV)

Follow link:

http://www.c-sharpcorner.com/UploadFile/yuanwang200409/how-to-convert-xls-file-into-csv-file-in-C-Sharp/

As well this link can be helpful to you:

http://www.codeproject.com/Articles/246772/Convert-xlsx-xls-to-csv

Upvotes: 6

Related Questions