Click here to Skip to main content
       

.NET Framework

 
GeneralRe: Load a Page Object from a filename PinmemberGuffa6-Mar-06 1:04 
QuestionGDI+ Pinmemberbadge19865-Mar-06 14:12 
AnswerRe: GDI+ PinmemberGuffa5-Mar-06 23:16 
GeneralRe: GDI+ Pinmemberbadge19866-Mar-06 0:46 
GeneralRe: GDI+ PinmemberGuffa6-Mar-06 1:00 
GeneralRe: GDI+ Pinmemberbadge19867-Mar-06 1:52 
QuestionPropertyGrid - Replace "Property value is not valid" message Pinmembernick_xenacom5-Mar-06 13:53 
QuestionHow to get Open button event of Word in addin PinmemberAnil_gupta5-Mar-06 6:14 
Hi,
 
I want to override the open button event in Word / Excel. I have created an addin. Now I need the index of Open button. Here is the code that i am using.
 
object oActiveExplorer oActiveExplorer=
applicationObject.GetType().InvokeMember("ActiveExplorer",BindingFlags.GetPr
operty,null,applicationObject,null);
 
CommandBars objCommandBars=
(CommandBars)oActiveExplorer.GetType().InvokeMember("CommandBars",BindingFla
gs.GetProperty,null,oActiveExplorer,null);
 
objToolBar = objCommandBars["File"];
CommandBarControl objCommandBarCtrl = objToolBar.Controls["FileOpen"];
CommandBarControl objCommandBarCtrl1 = objToolBar.Controls["Open"];
 
I have tried FileOpen and Open both but it is not correct. It is throwing an
exception.
Can anybody please help me.
 
Thanks
Anil Kumar Gupta
 
Anil Kumar Gupta
QuestionHow can I use a native DLL in .Net 2005? Pinmembera_kiani5-Mar-06 4:15 
AnswerRe: How can I use a native DLL in .Net 2005? Pinmembersoma42011-Mar-06 7:54 
AnswerRe: How can I use a native DLL in .Net 2005? PinmemberliRetro3-Apr-06 6:37 
QuestionSerialization Doubt Pinmembermanivannan.p5-Mar-06 2:20 
AnswerRe: Serialization Doubt PinmemberGuffa5-Mar-06 3:07 
QuestionHow does StringBuilder Work? Pinmembermanivannan.p5-Mar-06 2:13 
GeneralRe: How does StringBuilder Work? PinmemberGuffa5-Mar-06 3:08 
AnswerRe: How does StringBuilder Work? PinmemberVasudevan Deepak Kumar6-Mar-06 23:24 
QuestionUse sytem icons PinmemberViktor Nilsson4-Mar-06 2:49 
AnswerRe: Reading data samples from sound card Pinmemberdan neely3-Mar-06 7:42 
QuestionActive X in a Smart Client (is it Possible) Pinmembermark_e_mark3-Mar-06 6:15 
AnswerRe: Active X in a Smart Client (is it Possible) PinmemberVasudevan Deepak Kumar6-Mar-06 1:41 
Questionauto update a windows service Pinmembermweber26@hotmail.com3-Mar-06 5:51 
AnswerRe: auto update a windows service PinmemberDave Kreskowiak3-Mar-06 14:46 
Questionpocket pc application Pinmemberbhavz693-Mar-06 5:01 
QuestionNet 2.0 and COM Interop (Winword) Pinmembergill3-Mar-06 4:28 
AnswerRe: Net 2.0 and COM Interop (Winword) PinmemberDouglas Troy3-Mar-06 7:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 25 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid