Click here to Skip to main content
15,113,873 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman29-Apr-11 14:55
Memberbarneyman29-Apr-11 14:55 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
whiteclouds1-May-11 20:21
Memberwhiteclouds1-May-11 20:21 
GeneralRe: How to create an OLE control in EXCEL sheet? Pin
barneyman1-May-11 20:30
Memberbarneyman1-May-11 20:30 
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 
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 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 
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 

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.