export & import data from vc++ or c++
-
plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..
-
plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..
use utilities for office. mso97.dll exports the required class to manipulate with office documents from your C++ application, get necessary classes from mso97.dll as a part of your application.
-
plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..
Just a tip. If you create a text file, even a HTML page with colors and tables, and name it as .XLS, it will be read by Excel converting the HTML formatting to Excel as close as possible...I have got good results using this approach :cool: GuimaSun www.nexsun.com.br NEXSUN TechZone
-
plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..
See if the MSDN article Q178749 is of any help.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..
Hi Shiva, You have some options, but I would say the easiest is using Automation, but the drawback is Excel has to be installed on the client machine. The other option is using ADO and accessing Excel files as if they were databases, in this case Excel doesn't have to be installed, but you are limited on what you can do. Anyways, to use Excel automation, check this article on the MSDN Office Automation Using Visual C++ Fabian