Click here to Skip to main content
15,900,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalstarting external program, waiting for completion Pin
Steve Kearon10-Nov-04 4:56
Steve Kearon10-Nov-04 4:56 
GeneralRe: starting external program, waiting for completion Pin
David Crow10-Nov-04 5:05
David Crow10-Nov-04 5:05 
GeneralRe: starting external program, waiting for completion Pin
Steve Kearon10-Nov-04 5:22
Steve Kearon10-Nov-04 5:22 
GeneralRe: starting external program, waiting for completion Pin
David Crow10-Nov-04 6:16
David Crow10-Nov-04 6:16 
GeneralRe: parameters of function ::SHGetSpecialFolderLocation(...) Pin
David Crow10-Nov-04 5:01
David Crow10-Nov-04 5:01 
GeneralRe: parameters of function ::SHGetSpecialFolderLocation(...) Pin
Michael Dunn10-Nov-04 15:10
sitebuilderMichael Dunn10-Nov-04 15:10 
QuestionWhat means F(const _variant_t& OptArgs) at import TLB into С++ ? Pin
vgrigor110-Nov-04 0:11
vgrigor110-Nov-04 0:11 
AnswerRe: What means F(const _variant_t& OptArgs) at import TLB into С++ ? Pin
jan larsen11-Nov-04 3:33
jan larsen11-Nov-04 3:33 
I'm not quite sure what you're asking for.
But if you don't want to send any optional args at all, then you could do like this:
<code>

_variant_t strChoices("Some choices");
_variant_t strPrompt("prompt");
_variant_t nMaxAttempts((long) 1);
_variant_t nTimeout((long) 1000);
_variant_t OptionalArgs( (long) DISP_E_PARAMNOTFOUND, VT_ERROR);

myAutomation->CreateMenu(strChoices, strPrompt, nMaxAttempts, nTimeout, OptionalArgs);

</code>


"After all it's just text at the end of the day. - Colin Davies

"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
GeneralMFC, raw win32, .net, managed c++ .... Pin
i2c9-Nov-04 23:43
i2c9-Nov-04 23:43 
GeneralRe: MFC, raw win32, .net, managed c++ .... Pin
jan larsen10-Nov-04 0:16
jan larsen10-Nov-04 0:16 
GeneralRe: MFC, raw win32, .net, managed c++ .... Pin
Maximilien10-Nov-04 2:43
Maximilien10-Nov-04 2:43 
GeneralRe: MFC, raw win32, .net, managed c++ .... Pin
Henry miller10-Nov-04 2:47
Henry miller10-Nov-04 2:47 
GeneralRe: MFC, raw win32, .net, managed c++ .... Pin
i2c10-Nov-04 20:45
i2c10-Nov-04 20:45 
GeneralRe: MFC, raw win32, .net, managed c++ .... Pin
jan larsen11-Nov-04 0:52
jan larsen11-Nov-04 0:52 
GeneralRe: MFC, raw win32, .net, managed c++ .... Pin
i2c11-Nov-04 3:08
i2c11-Nov-04 3:08 
GeneralChanging AppWizard Options Pin
Leyu9-Nov-04 23:30
Leyu9-Nov-04 23:30 
GeneralRe: Changing AppWizard Options Pin
David Crow10-Nov-04 3:20
David Crow10-Nov-04 3:20 
GeneralRe: Changing AppWizard Options Pin
Leyu10-Nov-04 5:44
Leyu10-Nov-04 5:44 
GeneralRe: Changing AppWizard Options Pin
David Crow10-Nov-04 7:25
David Crow10-Nov-04 7:25 
QuestionHow to repaint a listbox ? Pin
madretierra9-Nov-04 23:26
madretierra9-Nov-04 23:26 
AnswerRe: How to repaint a listbox ? Pin
David Crow10-Nov-04 8:48
David Crow10-Nov-04 8:48 
GeneralRe: How to repaint a listbox ? Pin
madretierra11-Nov-04 5:27
madretierra11-Nov-04 5:27 
GeneralWinsock Doubts in embedded Visual C Pin
IceBerG719-Nov-04 23:23
IceBerG719-Nov-04 23:23 
GeneralEditBox - Auto Scroll Pin
Anonymous9-Nov-04 23:15
Anonymous9-Nov-04 23:15 
GeneralRe: EditBox - Auto Scroll Pin
David Crow10-Nov-04 3:23
David Crow10-Nov-04 3:23 

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.