Click here to Skip to main content
15,914,014 members
Home / Discussions / COM
   

COM

 
AnswerRe: ussoftproblem with COM server registration??? Pin
Vi29-Mar-04 20:44
Vi29-Mar-04 20:44 
GeneralRe: ussoftproblem with COM server registration??? Pin
pelos10-Mar-04 0:15
pelos10-Mar-04 0:15 
QuestionCopying an automation object? Pin
Zee man6-Mar-04 22:46
Zee man6-Mar-04 22:46 
AnswerRe: Copying an automation object? Pin
Steve S7-Mar-04 22:00
Steve S7-Mar-04 22:00 
GeneralRe: Copying an automation object? Pin
Zee man8-Mar-04 4:04
Zee man8-Mar-04 4:04 
GeneralRe: Copying an automation object? Pin
Steve S8-Mar-04 4:33
Steve S8-Mar-04 4:33 
QuestionHow to make clickable/ draggable shapes Pin
Anonymous4-Mar-04 21:24
Anonymous4-Mar-04 21:24 
Generalopening an Excel file Pin
Liate2-Mar-04 5:37
Liate2-Mar-04 5:37 
Hi,

I am using COM to access Excel and read from an existing Excel file.
I tried to use a smart pointer but had a problem with that so I am using GetIdsOfNames for calling the function. However, I don't seem to be able to correctly call the function Open (of WorkBooks).
In VB it is possible to send only the file name, but from what I have seen in C++ I have to give 12 parameters (!). It seems that I don't know what they should be...
Can someone please send me a code snippet of a successfull call to this open function?

thanks!
GeneralRe: opening an Excel file Pin
Steve S2-Mar-04 6:24
Steve S2-Mar-04 6:24 
GeneralRe: opening an Excel file Pin
Liate2-Mar-04 19:55
Liate2-Mar-04 19:55 
GeneralProblem while destroying SafeArray Pin
mandarpb1-Mar-04 22:09
sussmandarpb1-Mar-04 22:09 
GeneralRe: Problem while destroying SafeArray Pin
Steve S1-Mar-04 22:22
Steve S1-Mar-04 22:22 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous2-Mar-04 19:35
Anonymous2-Mar-04 19:35 
GeneralRe: Problem while destroying SafeArray Pin
Steve S2-Mar-04 23:21
Steve S2-Mar-04 23:21 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous5-Mar-04 3:04
Anonymous5-Mar-04 3:04 
GeneralRe: Problem while destroying SafeArray Pin
Steve S7-Mar-04 21:56
Steve S7-Mar-04 21:56 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous10-Mar-04 2:06
Anonymous10-Mar-04 2:06 
GeneralRe: Problem while destroying SafeArray Pin
Prakash Nadar6-Mar-04 6:45
Prakash Nadar6-Mar-04 6:45 
GeneralRe: Problem while destroying SafeArray Pin
Anonymous10-Mar-04 2:07
Anonymous10-Mar-04 2:07 
Generalvariant arrays.. Pin
safee ullah29-Feb-04 21:08
safee ullah29-Feb-04 21:08 
GeneralRe: variant arrays.. Pin
Steve S1-Mar-04 0:12
Steve S1-Mar-04 0:12 
Generalvariant types.. Pin
anand12312329-Feb-04 20:06
sussanand12312329-Feb-04 20:06 
GeneralRe: variant types.. Pin
ian mariano29-Feb-04 20:45
ian mariano29-Feb-04 20:45 
GeneralRe: variant types.. Pin
safee ullah29-Feb-04 21:03
safee ullah29-Feb-04 21:03 
GeneralRe: variant types.. Pin
Steve S1-Mar-04 0:16
Steve S1-Mar-04 0:16 

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.