Click here to Skip to main content
15,919,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fastest file writing Pin
Ryan Binns21-Jul-03 5:43
Ryan Binns21-Jul-03 5:43 
GeneralRe: fastest file writing Pin
John M. Drescher21-Jul-03 6:06
John M. Drescher21-Jul-03 6:06 
GeneralVisual C++ (Updating versions) Pin
ttran770021-Jul-03 2:53
ttran770021-Jul-03 2:53 
GeneralWizard sheet Banner Pin
Member 42425921-Jul-03 2:40
Member 42425921-Jul-03 2:40 
QuestionLarge Exponents? Pin
Selevercin21-Jul-03 2:39
Selevercin21-Jul-03 2:39 
AnswerRe: Large Exponents? Pin
G. Steudtel21-Jul-03 4:42
G. Steudtel21-Jul-03 4:42 
GeneralRe: Large Exponents? Pin
Selevercin21-Jul-03 16:08
Selevercin21-Jul-03 16:08 
GeneralExcel automation question Pin
Hadi Rezaee21-Jul-03 2:30
Hadi Rezaee21-Jul-03 2:30 
Hello,
I'm writing a program and i'm using Excel automation in my program.
I opend an excel document (sample.xls) with Workbooks::Open() function and now i wanna get access to document's cells.
But i don't know how to initial _Workbook object with my current excel document (sample.xls) !
I took a look at MSDN and excel automation samples, and i just found this:

Workbooks books;
_Workbook book;
LPDISPATCH lpDisp;

.
.
.

lpDisp = books.Add( covOptional );
book.AttachDispatch( lpDisp );

In this sample, the programmer first makes a new document and then uses of it.
But i don't want to do it and i just want to get handle of opened document.

Regards,
Hadi

GeneralRe: Excel automation question Pin
Manfred Staiger21-Jul-03 3:05
Manfred Staiger21-Jul-03 3:05 
GeneralRe: Excel automation question Pin
Hadi Rezaee23-Jul-03 10:10
Hadi Rezaee23-Jul-03 10:10 
GeneralSpeech Recognition Pin
superstein21-Jul-03 2:30
superstein21-Jul-03 2:30 
GeneralRe: Speech Recognition Pin
Bob Stanneveld21-Jul-03 8:52
Bob Stanneveld21-Jul-03 8:52 
GeneralRe: Speech Recognition Pin
superstein22-Jul-03 4:41
superstein22-Jul-03 4:41 
Generalclose IE window!!! Pin
xxhimanshu21-Jul-03 1:47
xxhimanshu21-Jul-03 1:47 
GeneralRe: close IE window!!! Pin
Bob Stanneveld21-Jul-03 9:03
Bob Stanneveld21-Jul-03 9:03 
GeneralDuplicate Dialogs Pin
Jay Hova21-Jul-03 1:32
Jay Hova21-Jul-03 1:32 
GeneralRe: Duplicate Dialogs Pin
Ryan Binns21-Jul-03 1:48
Ryan Binns21-Jul-03 1:48 
GeneralRe: Duplicate Dialogs Pin
Jay Hova21-Jul-03 2:47
Jay Hova21-Jul-03 2:47 
GeneralRe: Duplicate Dialogs Pin
Ryan Binns21-Jul-03 2:55
Ryan Binns21-Jul-03 2:55 
GeneralRe: Duplicate Dialogs Pin
Jay Hova21-Jul-03 3:18
Jay Hova21-Jul-03 3:18 
GeneralRe: Duplicate Dialogs Pin
Ryan Binns21-Jul-03 3:26
Ryan Binns21-Jul-03 3:26 
GeneralRe: Duplicate Dialogs Pin
Jay Hova21-Jul-03 3:39
Jay Hova21-Jul-03 3:39 
GeneralRe: Duplicate Dialogs Pin
Ryan Binns21-Jul-03 3:40
Ryan Binns21-Jul-03 3:40 
GeneralRe: Duplicate Dialogs Pin
G. Steudtel21-Jul-03 3:34
G. Steudtel21-Jul-03 3:34 
GeneralRe: Duplicate Dialogs Pin
Jay Hova22-Jul-03 9:42
Jay Hova22-Jul-03 9:42 

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.