Click here to Skip to main content
11,495,688 members (69,592 online)
   

COM

 
GeneralRe: WorkBooks::OpenText file not loading Pin
Richard MacCutchan28-Feb-13 22:47
mvpRichard MacCutchan28-Feb-13 22:47 
GeneralRe: WorkBooks::OpenText file not loading Pin
ForNow1-Mar-13 9:20
memberForNow1-Mar-13 9:20 
GeneralRe: WorkBooks::OpenText file not loading Pin
Richard MacCutchan2-Mar-13 0:46
mvpRichard MacCutchan2-Mar-13 0:46 
QuestionDISP_E_EXCEPTION & excepinfo->scode 800A03EC from WorkBooks::OpenText Pin
ForNow6-Feb-13 13:26
memberForNow6-Feb-13 13:26 
AnswerRe: DISP_E_EXCEPTION & excepinfo->scode 800A03EC from WorkBooks::OpenText Pin
Richard MacCutchan6-Feb-13 23:34
mvpRichard MacCutchan6-Feb-13 23:34 
QuestionWorkBooks::OpenText failure Pin
ForNow5-Feb-13 12:25
memberForNow5-Feb-13 12:25 
AnswerRe: WorkBooks::OpenText failure Pin
Garth J Lancaster5-Feb-13 15:47
memberGarth J Lancaster5-Feb-13 15:47 
QuestionDISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow29-Jan-13 15:04
memberForNow29-Jan-13 15:04 
Hi,

I getting the above return code the following is my code sequence

CLSID clsid;         // initialization
	HRESULT hr = CLSIDFromProgID(L"Excel.Application",&clsid)
 
IDispatch *pWApp;
 

	hr = CoCreateInstance(clsid, NULL, CLSCTX_LOCAL_SERVER, 
                          IID_IDispatch, (void **)&pWApp);
 
   LPOLESTR ptName = (LPOLESTR) _T("OpenText");
DISPID dispID;
 hr =  pWApp->GetIDsOfNames(IID_NULL, &ptName, 1 , LOCALE_USER_DEFAULT,&dispID);

I am using VIsual C++ 6.0 excel 2003

Thanks
AnswerRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan29-Jan-13 22:16
mvpRichard MacCutchan29-Jan-13 22:16 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow30-Jan-13 9:36
memberForNow30-Jan-13 9:36 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan30-Jan-13 10:35
mvpRichard MacCutchan30-Jan-13 10:35 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan30-Jan-13 10:39
mvpRichard MacCutchan30-Jan-13 10:39 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow30-Jan-13 10:58
memberForNow30-Jan-13 10:58 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan30-Jan-13 11:10
mvpRichard MacCutchan30-Jan-13 11:10 
GeneralFound the Answer PLease Read Pin
ForNow30-Jan-13 11:34
memberForNow30-Jan-13 11:34 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow30-Jan-13 15:51
memberForNow30-Jan-13 15:51 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan30-Jan-13 22:51
mvpRichard MacCutchan30-Jan-13 22:51 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow1-Feb-13 10:25
memberForNow1-Feb-13 10:25 
QuestionAppCrash Issue related to COM? Pin
Tony Tullemans24-Jan-13 14:17
memberTony Tullemans24-Jan-13 14:17 
AnswerRe: AppCrash Issue related to COM? Pin
Richard MacCutchan25-Jan-13 0:01
mvpRichard MacCutchan25-Jan-13 0:01 
GeneralRe: AppCrash Issue related to COM? Pin
Tony Tullemans28-Jan-13 12:28
memberTony Tullemans28-Jan-13 12:28 
GeneralRe: AppCrash Issue related to COM? Pin
Richard MacCutchan28-Jan-13 23:32
mvpRichard MacCutchan28-Jan-13 23:32 
AnswerRe: AppCrash Issue related to COM? Pin
Stephen Hewitt27-Jan-13 15:13
memberStephen Hewitt27-Jan-13 15:13 
Questionuse webbrowser to visit many webs without a break cause crash Pin
BianChengNan21-Jan-13 15:52
memberBianChengNan21-Jan-13 15:52 
QuestionHow to register a com exe without admin rights? Pin
Adarapu Harikrishna11-Jan-13 10:37
memberAdarapu Harikrishna11-Jan-13 10:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 5 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid