Click here to Skip to main content
15,064,665 members
Home / Discussions / COM
   

COM

 
AnswerRe: Unable to register 64 bit COM Server Pin
«_Superman_»19-Aug-11 4:18
professional«_Superman_»19-Aug-11 4:18 
QuestionRegarding SheetCalculate event in Excel API Pin
gtag20-Jun-11 10:02
Membergtag20-Jun-11 10:02 
AnswerRe: Regarding SheetCalculate event in Excel API Pin
«_Superman_»13-Jul-11 7:04
professional«_Superman_»13-Jul-11 7:04 
AnswerI need help...(context menu shell extension) [modified] Pin
T800G5-Jun-11 4:53
MemberT800G5-Jun-11 4:53 
Questionhow do i find all "src" attributes from frame object of html document? Pin
yogish29313-May-11 3:20
Memberyogish29313-May-11 3:20 
AnswerRe: how do i find all "src" attributes from frame object of html document? Pin
«_Superman_»21-Jun-11 19:43
professional«_Superman_»21-Jun-11 19:43 
QuestionHow to create an OLE control in EXCEL sheet? Pin
whiteclouds27-Apr-11 23:46
Memberwhiteclouds27-Apr-11 23:46 
AnswerRe: How to create an OLE control in EXCEL sheet? Pin
barneyman28-Apr-11 18:52
Memberbarneyman28-Apr-11 18:52 
CComPtr<MSEXCEL::OLEFormat>spOleFormat;
spOleFormat = spCtrl->get_OLEFormat();
IDispatch *pObj;
pObj = spOleFormat->get_Object();
CComQIPtr<ICASign> cpCASign(pObj);//Here an error occur. The value of pObj is valid. But the value of cpCASign is zero!


change that to ...

CComPtr<MSEXCEL::OLEFormat>spOleFormat;
spOleFormat = spCtrl->get_OLEFormat();

// changed
CComPtr<IDispatch> pObj;
pObj = spOleFormat->get_Object();
CComPtr<ICASign> cpCASign;

// changed
HRESULT hr=pObj.QueryInterface(&cpCASign);


and at least you'll have a error code to work with
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds28-Apr-11 21:07
Memberwhiteclouds28-Apr-11 21:07 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman29-Apr-11 13:55
Memberbarneyman29-Apr-11 13:55 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds1-May-11 19:21
Memberwhiteclouds1-May-11 19:21 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman1-May-11 19:30
Memberbarneyman1-May-11 19:30 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds2-May-11 15:48
Memberwhiteclouds2-May-11 15:48 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman2-May-11 17:11
Memberbarneyman2-May-11 17:11 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 0:38
Memberwhiteclouds3-May-11 0:38 
GeneralRe: How to create an OLE control in EXCEL sheet? [modified] Pin
barneyman3-May-11 13:57
Memberbarneyman3-May-11 13:57 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 15:29
Memberwhiteclouds3-May-11 15:29 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 21:16
Memberwhiteclouds3-May-11 21:16 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman3-May-11 22:15
Memberbarneyman3-May-11 22:15 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 23:32
Memberwhiteclouds3-May-11 23:32 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman4-May-11 18:15
Memberbarneyman4-May-11 18:15 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds4-May-11 22:16
Memberwhiteclouds4-May-11 22:16 
QuestionIAccessible, IAccessible2 Interface for Microsoft Active Accessibility Pin
kamaljagesia7-Apr-11 4:09
Memberkamaljagesia7-Apr-11 4:09 
AnswerRe: IAccessible, IAccessible2 Interface for Microsoft Active Accessibility Pin
xrg_soft@163.com1-Sep-11 4:43
Memberxrg_soft@163.com1-Sep-11 4:43 
QuestionHow to replace a '%' character in CComBSTR with "%%"? Pin
narayanagvs23-Mar-11 0:32
Membernarayanagvs23-Mar-11 0:32 

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.