Click here to Skip to main content
15,923,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateProcessWithLogonW Pin
Rob Manderson27-May-04 12:41
protectorRob Manderson27-May-04 12:41 
GeneralRe: CreateProcessWithLogonW Pin
cobyjone28-May-04 3:48
cobyjone28-May-04 3:48 
GeneralChanging Size Font and Vertical Scroll Bar Pin
Eversman27-May-04 10:16
Eversman27-May-04 10:16 
GeneralRe: Changing Size Font and Vertical Scroll Bar Pin
gUrM33T27-May-04 15:07
gUrM33T27-May-04 15:07 
GeneralUsing Excel data in VC++ 6.0 Pin
greg8927-May-04 9:31
greg8927-May-04 9:31 
GeneralRe: Using Excel data in VC++ 6.0 Pin
Anthony_Yio27-May-04 17:47
Anthony_Yio27-May-04 17:47 
GeneralRe: Using Excel data in VC++ 6.0 Pin
greg8928-May-04 2:33
greg8928-May-04 2:33 
GeneralRe: Using Excel data in VC++ 6.0 Pin
Anthony_Yio28-May-04 19:00
Anthony_Yio28-May-04 19:00 
Try

//I am sure there are some elegant ways to do these
 //conversions. Looks like a mess for me but heck, I do not 
//have a test environment off hand for this. 

 LPVARIANT lpVar = (book.Sheets(COleVariant((short)(1)))).operator LPVARIANT( ); 

LPDISPATCH lpDispatch;

if(lpVar->vt == VT_DISPATCH)
{
 lpDispatch = lpVar->ppdispVal;
}
else
{
 //error
 ASSERT(NULL); 
}

sheets.AttachDispatch(lpDisp);



Sonork 100.41263:Anthony_Yio

Life is about experiencing ...

GeneralEndModalDialog?? Any Ideas Pin
Cedar Sith27-May-04 7:15
Cedar Sith27-May-04 7:15 
GeneralRe: EndModalDialog?? Any Ideas Pin
Anthony_Yio27-May-04 16:54
Anthony_Yio27-May-04 16:54 
GeneralRe: EndModalDialog?? Any Ideas Pin
Cedar Sith28-May-04 3:01
Cedar Sith28-May-04 3:01 
GeneralRe: EndModalDialog?? Any Ideas Pin
Anthony_Yio28-May-04 19:06
Anthony_Yio28-May-04 19:06 
GeneralRe: EndModalDialog?? Any Ideas Pin
Gary R. Wheeler28-May-04 5:25
Gary R. Wheeler28-May-04 5:25 
GeneralALT+TAB functionality. Pin
baskarchinnu27-May-04 7:06
baskarchinnu27-May-04 7:06 
GeneralRe: ALT+TAB functionality. Pin
Alexander M.,27-May-04 8:34
Alexander M.,27-May-04 8:34 
GeneralRe: ALT+TAB functionality. Pin
baskarchinnu27-May-04 21:23
baskarchinnu27-May-04 21:23 
Questionhow to add a minimize button and maximize button on a dialog? Pin
vividtang27-May-04 6:39
vividtang27-May-04 6:39 
AnswerRe: how to add a minimize button and maximize button on a dialog? Pin
David Crow27-May-04 7:05
David Crow27-May-04 7:05 
AnswerRe: how to add a minimize button and maximize button on a dialog? Pin
Alexander M.,27-May-04 8:41
Alexander M.,27-May-04 8:41 
GeneralRe: how to add a minimize button and maximize button on a dialog? Pin
J.B.27-May-04 17:00
J.B.27-May-04 17:00 
GeneralDDE Server Pin
orcun colak27-May-04 5:20
orcun colak27-May-04 5:20 
GeneralRe: DDE Server Pin
David Crow27-May-04 7:13
David Crow27-May-04 7:13 
GeneralInstall the .Net framework Pin
sweep12327-May-04 5:04
sweep12327-May-04 5:04 
GeneralRe: Install the .Net framework Pin
valikac27-May-04 5:11
valikac27-May-04 5:11 
GeneralRe: Install the .Net framework Pin
toxcct27-May-04 5:29
toxcct27-May-04 5:29 

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.