Click here to Skip to main content
15,915,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSpin Control Pin
AbhiHcl13-Jul-10 0:52
AbhiHcl13-Jul-10 0:52 
AnswerRe: Spin Control Pin
Richard MacCutchan13-Jul-10 1:33
mveRichard MacCutchan13-Jul-10 1:33 
GeneralRe: Spin Control Pin
AbhiHcl13-Jul-10 21:40
AbhiHcl13-Jul-10 21:40 
GeneralRe: Spin Control Pin
Richard MacCutchan13-Jul-10 21:51
mveRichard MacCutchan13-Jul-10 21:51 
AnswerRe: Spin Control Pin
chaau14-Jul-10 17:23
chaau14-Jul-10 17:23 
QuestionUsing MS Excel in VC++ Pin
QSMZ12-Jul-10 20:39
QSMZ12-Jul-10 20:39 
AnswerRe: Using MS Excel in VC++ Pin
Cedric Moonen12-Jul-10 21:30
Cedric Moonen12-Jul-10 21:30 
AnswerRe: Using MS Excel in VC++ Pin
Roger Stoltz13-Jul-10 0:08
Roger Stoltz13-Jul-10 0:08 
QSMZ wrote:
I want to use MS Excell in VC++ program for recording and plotting data.


I'm not really clear on what you mean.
Perhaps you would benefit from writing a DLL that you use from Excel for "data recording" depending on the where you get the "data" from.

If you only want Excel for presentation reasons you may record and plot the data in your own application, but save it to an Excel file and draw charts in it using automation as Cédric said.
I've done this about five years ago, but unfortunately that means I don't have any source code to give away and I've forgotten the details.
However, it's not really that hard, just search for Excel and automation and you'll get a lot of useful results.

One tip I remember though, use multidimensional safearrays for writing the data into the Excel sheet if you have a lot of data. I had about 10MB and writing it cell by cell took about 40 minutes. Using a multidimensional safearray it only took a couple of seconds.

"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


AnswerRe: Using MS Excel in VC++ Pin
Sameerkumar Namdeo13-Jul-10 0:31
Sameerkumar Namdeo13-Jul-10 0:31 
AnswerRe: Using MS Excel in VC++ Pin
SnowHow13-Jul-10 10:39
SnowHow13-Jul-10 10:39 
Questiongetting day of week Pin
zon_cpp12-Jul-10 19:35
zon_cpp12-Jul-10 19:35 
AnswerRe: getting day of week Pin
CPallini12-Jul-10 21:27
mveCPallini12-Jul-10 21:27 
AnswerRe: getting day of week Pin
Aescleal12-Jul-10 21:37
Aescleal12-Jul-10 21:37 
QuestionBorland C++ to Visual C++ conversion Pin
coder21k12-Jul-10 19:22
coder21k12-Jul-10 19:22 
AnswerRe: Borland C++ to Visual C++ conversion Pin
hypheni12-Jul-10 21:18
hypheni12-Jul-10 21:18 
AnswerRe: Borland C++ to Visual C++ conversion [modified] Pin
Rolf Kristensen13-Jul-10 6:07
Rolf Kristensen13-Jul-10 6:07 
QuestionCustom DateTime Control Pin
AbhiHcl12-Jul-10 19:08
AbhiHcl12-Jul-10 19:08 
QuestionCan i convert from CStrin to double Pin
raju_shiva12-Jul-10 19:05
raju_shiva12-Jul-10 19:05 
AnswerRe: Can i convert from CStrin to double Pin
«_Superman_»12-Jul-10 19:49
professional«_Superman_»12-Jul-10 19:49 
AnswerRe: Can i convert from CStrin to double Pin
Aescleal12-Jul-10 21:57
Aescleal12-Jul-10 21:57 
QuestionTerminateProcess doesn't work as expected on Windows XP Pin
pubis12-Jul-10 13:18
pubis12-Jul-10 13:18 
AnswerRe: TerminateProcess doesn't work as expected on Windows XP Pin
El Corazon12-Jul-10 14:40
El Corazon12-Jul-10 14:40 
AnswerRe: TerminateProcess doesn't work as expected on Windows XP Pin
«_Superman_»12-Jul-10 16:27
professional«_Superman_»12-Jul-10 16:27 
GeneralRe: TerminateProcess doesn't work as expected on Windows XP Pin
pubis13-Jul-10 4:32
pubis13-Jul-10 4:32 
GeneralRe: TerminateProcess doesn't work as expected on Windows XP Pin
«_Superman_»13-Jul-10 5:43
professional«_Superman_»13-Jul-10 5:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.