Click here to Skip to main content
15,887,746 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman29-Apr-11 13:55
barneyman29-Apr-11 13:55 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds1-May-11 19:21
whiteclouds1-May-11 19:21 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman1-May-11 19:30
barneyman1-May-11 19:30 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds2-May-11 15:48
whiteclouds2-May-11 15:48 
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 
Pleasure to see your reply. Thank you very much!
Some days ago, I find a message at MSDN. It said that if you want to add an OLE object into Excel worksheet, you should call OLEObjects.Add(), not Shapes.AddOLEObject(), because Shapes encapsulate the OLEObject returned by AddOLEObject. So the next operation such as OLEFormat.get_Object() can't get the raw point of the object inserted.
I had tried the way it recommend. But I can't get a OLEObjects from worksheet. I find that the reason of failure is the wrong LANGID parameter. I am trying to find the right parameter for it now. If you can't be success from the code above, you can try to do by this way. And if you know what parameter of LANGID is right, I will be very pleased to know it from you. Big Grin | :-D


Sincerely
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
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 
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 

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.