Click here to Skip to main content
       

.NET Framework

 
GeneralRe: Load a Page Object from a filename PinmemberGuffa6-Mar-06 0:04 
QuestionGDI+ Pinmemberbadge19865-Mar-06 13:12 
AnswerRe: GDI+ PinmemberGuffa5-Mar-06 22:16 
GeneralRe: GDI+ Pinmemberbadge19865-Mar-06 23:46 
GeneralRe: GDI+ PinmemberGuffa6-Mar-06 0:00 
GeneralRe: GDI+ Pinmemberbadge19867-Mar-06 0:52 
QuestionPropertyGrid - Replace "Property value is not valid" message Pinmembernick_xenacom5-Mar-06 12:53 
QuestionHow to get Open button event of Word in addin PinmemberAnil_gupta5-Mar-06 5: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 3:15 
AnswerRe: How can I use a native DLL in .Net 2005? Pinmembersoma42011-Mar-06 6:54 
AnswerRe: How can I use a native DLL in .Net 2005? PinmemberliRetro3-Apr-06 5:37 
QuestionSerialization Doubt Pinmembermanivannan.p5-Mar-06 1:20 
AnswerRe: Serialization Doubt PinmemberGuffa5-Mar-06 2:07 
QuestionHow does StringBuilder Work? Pinmembermanivannan.p5-Mar-06 1:13 
GeneralRe: How does StringBuilder Work? PinmemberGuffa5-Mar-06 2:08 
AnswerRe: How does StringBuilder Work? PinmemberVasudevan Deepak Kumar6-Mar-06 22:24 
QuestionUse sytem icons PinmemberViktor Nilsson4-Mar-06 1:49 
AnswerRe: Reading data samples from sound card Pinmemberdan neely3-Mar-06 6:42 
QuestionActive X in a Smart Client (is it Possible) Pinmembermark_e_mark3-Mar-06 5:15 
AnswerRe: Active X in a Smart Client (is it Possible) PinmemberVasudevan Deepak Kumar6-Mar-06 0:41 
Questionauto update a windows service Pinmembermweber26@hotmail.com3-Mar-06 4:51 
AnswerRe: auto update a windows service PinmemberDave Kreskowiak3-Mar-06 13:46 
Questionpocket pc application Pinmemberbhavz693-Mar-06 4:01 
QuestionNet 2.0 and COM Interop (Winword) Pinmembergill3-Mar-06 3:28 
AnswerRe: Net 2.0 and COM Interop (Winword) PinmemberDouglas Troy3-Mar-06 6: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
Web01 | 2.8.140721.1 | Last Updated 29 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid