Click here to Skip to main content
15,125,074 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds2-May-11 16:48
Memberwhiteclouds2-May-11 16:48 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman2-May-11 18:11
Memberbarneyman2-May-11 18:11 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 1:38
Memberwhiteclouds3-May-11 1:38 
GeneralRe: How to create an OLE control in EXCEL sheet? [modified] Pin
barneyman3-May-11 14:57
Memberbarneyman3-May-11 14:57 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 16:29
Memberwhiteclouds3-May-11 16:29 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds3-May-11 22:16
Memberwhiteclouds3-May-11 22:16 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman3-May-11 23:15
Memberbarneyman3-May-11 23:15 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds4-May-11 0:32
Memberwhiteclouds4-May-11 0: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 19:15
Memberbarneyman4-May-11 19:15 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds4-May-11 23:16
Memberwhiteclouds4-May-11 23:16 
QuestionIAccessible, IAccessible2 Interface for Microsoft Active Accessibility Pin
kamaljagesia7-Apr-11 5:09
Memberkamaljagesia7-Apr-11 5:09 
AnswerRe: IAccessible, IAccessible2 Interface for Microsoft Active Accessibility Pin
xrg_soft@163.com1-Sep-11 5:43
Memberxrg_soft@163.com1-Sep-11 5:43 
QuestionHow to replace a '%' character in CComBSTR with "%%"? Pin
narayanagvs23-Mar-11 1:32
Membernarayanagvs23-Mar-11 1:32 
AnswerRe: How to replace a '%' character in CComBSTR with "%%"? Pin
«_Superman_»2-Apr-11 4:07
professional«_Superman_»2-Apr-11 4:07 
QuestionMozilla DOM Model Pin
kamaljagesia8-Mar-11 23:42
Memberkamaljagesia8-Mar-11 23:42 
QuestionOPC connectivity problem : CoCreateInstance issue Pin
Neo Andreson18-Feb-11 3:24
MemberNeo Andreson18-Feb-11 3:24 
AnswerRe: OPC connectivity problem : CoCreateInstance issue Pin
Randy Kondor19-Feb-11 15:37
MemberRandy Kondor19-Feb-11 15:37 
Questionquestion about COM event handler Pin
asr112214-Feb-11 4:40
Memberasr112214-Feb-11 4:40 
QuestionHow to get COM IID from a registered dll Pin
drakkor_111-Feb-11 14:22
Memberdrakkor_111-Feb-11 14:22 
AnswerRe: How to get COM IID from a registered dll Pin
drakkor_111-Feb-11 14:33
Memberdrakkor_111-Feb-11 14:33 
GeneralRe: How to get COM IID from a registered dll Pin
NedoRot14-Feb-11 3:32
MemberNedoRot14-Feb-11 3:32 
QuestionIObjectWithSite - amidoinitrite? Pin
T800G2-Feb-11 11:53
MemberT800G2-Feb-11 11:53 
QuestionPlz help with QueryInterface() [modified] Pin
Ganesamoorthy.S26-Jan-11 23:59
MemberGanesamoorthy.S26-Jan-11 23:59 
AnswerRe: Plz help with QueryInterface() Pin
Yusuf27-Jan-11 2:02
MemberYusuf27-Jan-11 2:02 
QuestionCComContainedObject Question Pin
Craig Longman23-Jan-11 13:36
MemberCraig Longman23-Jan-11 13:36 

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.