Click here to Skip to main content
16,015,594 members
Home / Discussions / COM
   

COM

 
GeneralRe: WorkBooks::OpenText file not loading Pin
Richard MacCutchan28-Feb-13 21:47
mveRichard MacCutchan28-Feb-13 21:47 
GeneralRe: WorkBooks::OpenText file not loading Pin
ForNow1-Mar-13 8:20
ForNow1-Mar-13 8:20 
GeneralRe: WorkBooks::OpenText file not loading Pin
Richard MacCutchan1-Mar-13 23:46
mveRichard MacCutchan1-Mar-13 23:46 
QuestionDISP_E_EXCEPTION & excepinfo->scode 800A03EC from WorkBooks::OpenText Pin
ForNow6-Feb-13 12:26
ForNow6-Feb-13 12:26 
AnswerRe: DISP_E_EXCEPTION & excepinfo->scode 800A03EC from WorkBooks::OpenText Pin
Richard MacCutchan6-Feb-13 22:34
mveRichard MacCutchan6-Feb-13 22:34 
QuestionWorkBooks::OpenText failure Pin
ForNow5-Feb-13 11:25
ForNow5-Feb-13 11:25 
AnswerRe: WorkBooks::OpenText failure Pin
Garth J Lancaster5-Feb-13 14:47
professionalGarth J Lancaster5-Feb-13 14:47 
QuestionDISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow29-Jan-13 14:04
ForNow29-Jan-13 14: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 21:16
mveRichard MacCutchan29-Jan-13 21:16 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow30-Jan-13 8:36
ForNow30-Jan-13 8:36 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan30-Jan-13 9:35
mveRichard MacCutchan30-Jan-13 9:35 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan30-Jan-13 9:39
mveRichard MacCutchan30-Jan-13 9:39 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow30-Jan-13 9:58
ForNow30-Jan-13 9:58 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan30-Jan-13 10:10
mveRichard MacCutchan30-Jan-13 10:10 
GeneralFound the Answer PLease Read Pin
ForNow30-Jan-13 10:34
ForNow30-Jan-13 10:34 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow30-Jan-13 14:51
ForNow30-Jan-13 14:51 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
Richard MacCutchan30-Jan-13 21:51
mveRichard MacCutchan30-Jan-13 21:51 
GeneralRe: DISP_E_UNKNOWNNAME from GetIDsOfNames Pin
ForNow1-Feb-13 9:25
ForNow1-Feb-13 9:25 
QuestionAppCrash Issue related to COM? Pin
Tony Tullemans24-Jan-13 13:17
Tony Tullemans24-Jan-13 13:17 
AnswerRe: AppCrash Issue related to COM? Pin
Richard MacCutchan24-Jan-13 23:01
mveRichard MacCutchan24-Jan-13 23:01 
GeneralRe: AppCrash Issue related to COM? Pin
Tony Tullemans28-Jan-13 11:28
Tony Tullemans28-Jan-13 11:28 
GeneralRe: AppCrash Issue related to COM? Pin
Richard MacCutchan28-Jan-13 22:32
mveRichard MacCutchan28-Jan-13 22:32 
AnswerRe: AppCrash Issue related to COM? Pin
Stephen Hewitt27-Jan-13 14:13
Stephen Hewitt27-Jan-13 14:13 
Questionuse webbrowser to visit many webs without a break cause crash Pin
BCN-16321-Jan-13 14:52
BCN-16321-Jan-13 14:52 
QuestionHow to register a com exe without admin rights? Pin
Hari-Adarapu11-Jan-13 9:37
Hari-Adarapu11-Jan-13 9:37 

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.