-
August 23rd, 2010, 01:02 AM
#1
How can export data from CListCtrl to excel?
Hi all,
i want to export data from CListCtrl to excel file.
please tell me how can i do this.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
-
August 23rd, 2010, 01:10 AM
#2
Re: How can export data from CListCtrl to excel?
By hands!
Read every item wit subitems from a control and then put data to the excel sheet (table) using either automation or some of database technologies (opening connection with excel sheet and INSERT data INTO it)
What exactly is your problem: read data from list control or put it to excel table?
Victor Nijegorodov
-
August 23rd, 2010, 05:44 AM
#3
Re: How can export data from CListCtrl to excel?
What does the list control have to do with it? Presumably you had the data before you put it in the list control. I'd be asking how to get your data into Excel and not worry about the list control.
As Victor said, automation or ODBC are two ways to write to Excel.
-
August 23rd, 2010, 07:19 AM
#4
Re: How can export data from CListCtrl to excel?
you could write .csv textfile from your data and then invoke excel with that .csv.
-
March 10th, 2011, 10:19 PM
#5
Re: How can export data from CListCtrl to excel?
I want to introduce one article for you.
This article shows a method to export data to excel and other format files.
You can read this article on
http://www.codeproject.com/KB/cs/Exc...ExportWiz.aspx
-
March 11th, 2011, 05:26 AM
#6
Re: How can export data from CListCtrl to excel?
I want to introduce one article for you.
I want to introduce some logic to you.
This is a C++ forum, not a .NET forum. Also, spamming old articles isn't really nice to do.
You can read this too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|