Click here to Skip to main content
15,885,546 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman2-May-11 17:11
barneyman2-May-11 17:11 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 0:38
whiteclouds3-May-11 0:38 
GeneralRe: How to create an OLE control in EXCEL sheet? [modified] Pin
barneyman3-May-11 13:57
barneyman3-May-11 13:57 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 15:29
whiteclouds3-May-11 15:29 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 21:16
whiteclouds3-May-11 21:16 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman3-May-11 22:15
barneyman3-May-11 22:15 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 23:32
whiteclouds3-May-11 23:32 
Sorry, maybe I make you nervous. That's my fault. Smile | :)

1. Nothing output when I call OLEObjects.Add. Maybe it's because I call the Dispatch.Invoke() to add. The reason of I call Dispatch.Invoke() instead of OLEObjects.Add() is that an error of 0x800A03EC always occurred for OLEObjects.Add().
2. I can't get the meaning of your second suggestion. You tell me to query OLEObjects at the object Shapes.AddObject returned?
3. Your meaning is that I should query some container interfaces such as IOleContainer for the object returned by Shapes.AddOLEObject(), isn't it? Why?

By the way, the error of 0x800A03EC isn't means wrong cultureinfo. The correct meaning is that another operation background is executed on the same object. I must make the object such as button lost focus. This is a bug for Office 2003. Smile | :)

Following is the explanation from Microsoft:
http://support.microsoft.com/kb/823988/en-us[^][]

I had try to do as the code provided by Microsoft. But nothing changed.

I hope you can help me in advance. Thank you!
There is some white cloud floating on the blue sky. That's the landscape I like.

GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman4-May-11 18:15
barneyman4-May-11 18:15 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds4-May-11 22:16
whiteclouds4-May-11 22:16 
QuestionIAccessible, IAccessible2 Interface for Microsoft Active Accessibility Pin
kamaljagesia7-Apr-11 4:09
kamaljagesia7-Apr-11 4:09 
AnswerRe: IAccessible, IAccessible2 Interface for Microsoft Active Accessibility Pin
xrg_soft@163.com1-Sep-11 4:43
xrg_soft@163.com1-Sep-11 4:43 
QuestionHow to replace a '%' character in CComBSTR with "%%"? Pin
narayanagvs23-Mar-11 0:32
narayanagvs23-Mar-11 0:32 
AnswerRe: How to replace a '%' character in CComBSTR with "%%"? Pin
«_Superman_»2-Apr-11 3:07
professional«_Superman_»2-Apr-11 3:07 
QuestionMozilla DOM Model Pin
kamaljagesia8-Mar-11 22:42
kamaljagesia8-Mar-11 22:42 
QuestionOPC connectivity problem : CoCreateInstance issue Pin
Neo Andreson18-Feb-11 2:24
Neo Andreson18-Feb-11 2:24 
AnswerRe: OPC connectivity problem : CoCreateInstance issue Pin
Randy Kondor19-Feb-11 14:37
Randy Kondor19-Feb-11 14:37 
Questionquestion about COM event handler Pin
asr112214-Feb-11 3:40
asr112214-Feb-11 3:40 
QuestionHow to get COM IID from a registered dll Pin
drakkor_111-Feb-11 13:22
drakkor_111-Feb-11 13:22 
AnswerRe: How to get COM IID from a registered dll Pin
drakkor_111-Feb-11 13:33
drakkor_111-Feb-11 13:33 
GeneralRe: How to get COM IID from a registered dll Pin
NedoRot14-Feb-11 2:32
NedoRot14-Feb-11 2:32 
QuestionIObjectWithSite - amidoinitrite? Pin
T800G2-Feb-11 10:53
T800G2-Feb-11 10:53 
QuestionPlz help with QueryInterface() [modified] Pin
Ganesamoorthy.S26-Jan-11 22:59
Ganesamoorthy.S26-Jan-11 22:59 
AnswerRe: Plz help with QueryInterface() Pin
Yusuf27-Jan-11 1:02
Yusuf27-Jan-11 1:02 
QuestionCComContainedObject Question Pin
Craig Longman23-Jan-11 12:36
Craig Longman23-Jan-11 12:36 
QuestionProblem in registering a 32 bit C++ COM/ATL Service on Windows7 64 bit Pin
Aseem Sharma22-Dec-10 15:01
Aseem Sharma22-Dec-10 15:01 

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.