943,962 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3570
  • C++ RSS
Aug 9th, 2006
0

Data From C++ GUI to Excel/Notepad, Application Trouble

Expand Post »
Hi,
I need to get data from a C++ application to a spread sheet or notepad file, has anyone any idea how to do this. I have access to programme source code but not sure where to start.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MikeTiger is offline Offline
3 posts
since Aug 2006
Aug 9th, 2006
0

Re: Data From C++ GUI to Excel/Notepad, Application Trouble

Explain a bit more. How is the program outputting the data now? Is it a console applitcation or a GUI application.

If the output is currently displayed in the console, the easiest method is to redirect the output to a text file.

If it is a GUI application, you will have to "read some file handling" in C tutorials.

Rather than outputting directly to an excel worksheet, it is easiest to output the data into a Comma Seperated Value formatted file ( CSV File ), and read the data using MS Excel or Open Office Excel into a worksheet.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Aug 9th, 2006
0

Re: Data From C++ GUI to Excel/Notepad, Application Trouble

read this article if you don't mind spending a few days learning how to do Office Automation in C++. I understand its easier with .NET but I haven't tried it myself.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,953 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: C++
Next Thread in C++ Forum Timeline: c vs c++





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC