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

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2006
Posts: 3
Reputation: MikeTiger is an unknown quantity at this point 
Solved Threads: 0
MikeTiger MikeTiger is offline Offline
Newbie Poster

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

 
0
  #1
Aug 9th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

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

 
0
  #2
Aug 9th, 2006
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.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,500
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1479
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is online now Online
Still Learning

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

 
0
  #3
Aug 9th, 2006
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC