Click here to Skip to main content
12,695,365 members (29,482 online)
   

COM

 
GeneralRe: How to get the path Pin
Richard MacCutchan27-Feb-13 23:46
mvpRichard MacCutchan27-Feb-13 23:46 
GeneralRe: How to get the path Pin
sarfaraznawaz28-Feb-13 0:27
membersarfaraznawaz28-Feb-13 0:27 
GeneralRe: How to get the path Pin
Richard MacCutchan28-Feb-13 0:28
mvpRichard MacCutchan28-Feb-13 0:28 
QuestionWorkBooks::OpenText file not loading Pin
ForNow12-Feb-13 11:38
memberForNow12-Feb-13 11:38 
AnswerRe: WorkBooks::OpenText file not loading Pin
Richard MacCutchan27-Feb-13 23:09
mvpRichard MacCutchan27-Feb-13 23:09 
GeneralRe: WorkBooks::OpenText file not loading Pin
ForNow28-Feb-13 9:07
memberForNow28-Feb-13 9:07 
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 
AnswerRe: How to register a com exe without admin rights? Pin
Richard MacCutchan12-Jan-13 1:10
mvpRichard MacCutchan12-Jan-13 1:10 
GeneralRe: How to register a com exe without admin rights? Pin
Marius Bancila23-Jan-13 11:37
memberMarius Bancila23-Jan-13 11:37 
GeneralRe: How to register a com exe without admin rights? Pin
Richard MacCutchan23-Jan-13 23:48
mvpRichard MacCutchan23-Jan-13 23:48 
GeneralRe: How to register a com exe without admin rights? Pin
Marius Bancila24-Jan-13 4:07
memberMarius Bancila24-Jan-13 4:07 
QuestionWhat type of permissions are needed to resolve Acccess denied for GetDsOfNames to registry entry HKCR\Typelib Pin
ForNow7-Jan-13 12:41
memberForNow7-Jan-13 12:41 
AnswerRe: What type of permissions are needed to resolve Acccess denied for GetDsOfNames to registry entry HKCR\Typelib Pin
Richard MacCutchan7-Jan-13 23:20
mvpRichard MacCutchan7-Jan-13 23:20 
QuestionCreating .OCX file hangs Pin
ForNow1-Jan-13 18:44
memberForNow1-Jan-13 18:44 
QuestionGetIDsOfNames returning -1 Pin
ForNow27-Dec-12 13:28
memberForNow27-Dec-12 13:28 
AnswerRe: GetIDsOfNames returning -1 Pin
Richard MacCutchan27-Dec-12 22:48
mvpRichard MacCutchan27-Dec-12 22:48 
QuestionMixing native OLE with MFC interface/wrappers Pin
ForNow26-Dec-12 16:30
memberForNow26-Dec-12 16:30 
AnswerRe: Mixing native OLE with MFC interface/wrappers Pin
DriveByCoder24-Mar-15 8:41
memberDriveByCoder24-Mar-15 8:41 
Question_WorkSheet::Paste usage Pin
ForNow19-Dec-12 14:01
memberForNow19-Dec-12 14:01 
AnswerRe: _WorkSheet::Paste usage Pin
Jochen Arndt19-Dec-12 22:45
memberJochen Arndt19-Dec-12 22:45 
GeneralRe: _WorkSheet::Paste usage Pin
ForNow20-Dec-12 6:21
memberForNow20-Dec-12 6:21 
GeneralRe: _WorkSheet::Paste usage Pin
Jochen Arndt20-Dec-12 22:04
memberJochen Arndt20-Dec-12 22:04 
QuestionMSDN documentation for MFC OLE wrapper method/prperties Pin
ForNow17-Dec-12 14:10
memberForNow17-Dec-12 14:10 
AnswerRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
Richard MacCutchan17-Dec-12 23:19
mvpRichard MacCutchan17-Dec-12 23:19 
GeneralRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
ForNow18-Dec-12 3:28
memberForNow18-Dec-12 3:28 
GeneralRe: MSDN documentation for MFC OLE wrapper method/prperties Pin
Richard MacCutchan18-Dec-12 3:54
mvpRichard MacCutchan18-Dec-12 3:54 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 13 Dec 2016
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid