Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to open a browse dialog with a specific folder in selected state Pin
V K 214-Apr-09 1:30
V K 214-Apr-09 1:30 
AnswerRe: How to open a browse dialog with a specific folder in selected state Pin
Hamid_RT14-Apr-09 1:35
Hamid_RT14-Apr-09 1:35 
GeneralRe: How to open a browse dialog with a specific folder in selected state Pin
V K 214-Apr-09 1:40
V K 214-Apr-09 1:40 
QuestionRe: How to open a browse dialog with a specific folder in selected state Pin
David Crow14-Apr-09 2:39
David Crow14-Apr-09 2:39 
AnswerRe: How to open a browse dialog with a specific folder in selected state Pin
V K 214-Apr-09 3:03
V K 214-Apr-09 3:03 
GeneralRe: How to open a browse dialog with a specific folder in selected state Pin
David Crow14-Apr-09 3:06
David Crow14-Apr-09 3:06 
GeneralRe: How to open a browse dialog with a specific folder in selected state Pin
David Crow14-Apr-09 2:40
David Crow14-Apr-09 2:40 
QuestionExcel automation using VC++ Pin
Shishir Srivastav14-Apr-09 0:55
Shishir Srivastav14-Apr-09 0:55 
I have created one Automation project to create Excel sheet. In that i used below code block to execute Macro.
VARIANT Result;
     Result = oApp.Run(COleVariant("MACRO1"),  // The "macro" name
        COleVariant(ObjToConvert),  // An array of Variants
     covOptional, covOptional, covOptional, covOptional,
     covOptional, covOptional, covOptional, covOptional,
     covOptional, covOptional, covOptional, covOptional,
     covOptional, covOptional, covOptional, covOptional,
     covOptional, covOptional, covOptional, covOptional,
     covOptional, covOptional, covOptional, covOptional,
     covOptional, covOptional, covOptional, covOptional,
     covOptional  // Run() takes 31 parameters!!
     );


When i am trying to debug its giving exception.
1. Can anyone please tell me what all arguments means here.
2. Do we have any other method through which one can execute Macro through program?
3. Do we have any method through which we can create data validation list using VC++?

Thanks.
QuestionWhat to do with this error message (embedded VC++ 4.0) ? Pin
kapardhi14-Apr-09 0:22
kapardhi14-Apr-09 0:22 
AnswerRe: What to do with this error message (embedded VC++ 4.0) ? Pin
ParagPatel14-Apr-09 0:33
ParagPatel14-Apr-09 0:33 
GeneralRe: What to do with this error message (embedded VC++ 4.0) ? Pin
kapardhi14-Apr-09 0:57
kapardhi14-Apr-09 0:57 
AnswerRe: What to do with this error message (embedded VC++ 4.0) ? Pin
Divyang Mithaiwala14-Apr-09 1:20
Divyang Mithaiwala14-Apr-09 1:20 
Questioncan anyone give code in vc++ Pin
N.Ravi Raj13-Apr-09 23:47
N.Ravi Raj13-Apr-09 23:47 
AnswerRe: can anyone give code in vc++ Pin
_AnsHUMAN_ 13-Apr-09 23:57
_AnsHUMAN_ 13-Apr-09 23:57 
GeneralRe: can anyone give code in vc++ Pin
N.Ravi Raj14-Apr-09 0:20
N.Ravi Raj14-Apr-09 0:20 
GeneralRe: can anyone give code in vc++ Pin
Rajesh R Subramanian14-Apr-09 0:51
professionalRajesh R Subramanian14-Apr-09 0:51 
GeneralRe: can anyone give code in vc++ Pin
Hamid_RT14-Apr-09 1:32
Hamid_RT14-Apr-09 1:32 
JokeRe: can anyone give code in vc++ Pin
CPallini14-Apr-09 5:08
mveCPallini14-Apr-09 5:08 
GeneralRe: can anyone give code in vc++ Pin
Hamid_RT14-Apr-09 8:42
Hamid_RT14-Apr-09 8:42 
GeneralRe: can anyone give code in vc++ Pin
CPallini14-Apr-09 9:12
mveCPallini14-Apr-09 9:12 
GeneralRe: can anyone give code in vc++ Pin
Hamid_RT14-Apr-09 9:40
Hamid_RT14-Apr-09 9:40 
GeneralRe: can anyone give code in vc++ Pin
CPallini14-Apr-09 10:44
mveCPallini14-Apr-09 10:44 
GeneralRe: can anyone give code in vc++ Pin
Hamid_RT14-Apr-09 20:23
Hamid_RT14-Apr-09 20:23 
GeneralRe: can anyone give code in vc++ Pin
_AnsHUMAN_ 14-Apr-09 1:14
_AnsHUMAN_ 14-Apr-09 1:14 
AnswerRe: can anyone give code in vc++ Pin
pallaka14-Apr-09 0:02
pallaka14-Apr-09 0:02 

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.