Click here to Skip to main content
12,697,620 members (27,373 online)

.NET Framework

 
GeneralRe: Load a Page Object from a filename Pin
Guffa6-Mar-06 1:04
memberGuffa6-Mar-06 1:04 
QuestionGDI+ Pin
badge19865-Mar-06 14:12
memberbadge19865-Mar-06 14:12 
AnswerRe: GDI+ Pin
Guffa5-Mar-06 23:16
memberGuffa5-Mar-06 23:16 
GeneralRe: GDI+ Pin
badge19866-Mar-06 0:46
memberbadge19866-Mar-06 0:46 
GeneralRe: GDI+ Pin
Guffa6-Mar-06 1:00
memberGuffa6-Mar-06 1:00 
GeneralRe: GDI+ Pin
badge19867-Mar-06 1:52
memberbadge19867-Mar-06 1:52 
QuestionPropertyGrid - Replace "Property value is not valid" message Pin
nick_xenacom5-Mar-06 13:53
membernick_xenacom5-Mar-06 13:53 
QuestionHow to get Open button event of Word in addin Pin
Anil_gupta5-Mar-06 6:14
memberAnil_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? Pin
a_kiani5-Mar-06 4:15
membera_kiani5-Mar-06 4:15 
AnswerRe: How can I use a native DLL in .Net 2005? Pin
soma42011-Mar-06 7:54
membersoma42011-Mar-06 7:54 
AnswerRe: How can I use a native DLL in .Net 2005? Pin
liRetro3-Apr-06 6:37
memberliRetro3-Apr-06 6:37 
QuestionSerialization Doubt Pin
manivannan.p5-Mar-06 2:20
membermanivannan.p5-Mar-06 2:20 
AnswerRe: Serialization Doubt Pin
Guffa5-Mar-06 3:07
memberGuffa5-Mar-06 3:07 
QuestionHow does StringBuilder Work? Pin
manivannan.p5-Mar-06 2:13
membermanivannan.p5-Mar-06 2:13 
GeneralRe: How does StringBuilder Work? Pin
Guffa5-Mar-06 3:08
memberGuffa5-Mar-06 3:08 
AnswerRe: How does StringBuilder Work? Pin
Vasudevan Deepak Kumar6-Mar-06 23:24
memberVasudevan Deepak Kumar6-Mar-06 23:24 
QuestionUse sytem icons Pin
Viktor Nilsson4-Mar-06 2:49
memberViktor Nilsson4-Mar-06 2:49 
AnswerRe: Reading data samples from sound card Pin
dan neely3-Mar-06 7:42
memberdan neely3-Mar-06 7:42 
QuestionActive X in a Smart Client (is it Possible) Pin
mark_e_mark3-Mar-06 6:15
membermark_e_mark3-Mar-06 6:15 
AnswerRe: Active X in a Smart Client (is it Possible) Pin
Vasudevan Deepak Kumar6-Mar-06 1:41
memberVasudevan Deepak Kumar6-Mar-06 1:41 
Questionauto update a windows service Pin
mweber26@hotmail.com3-Mar-06 5:51
membermweber26@hotmail.com3-Mar-06 5:51 
AnswerRe: auto update a windows service Pin
Dave Kreskowiak3-Mar-06 14:46
memberDave Kreskowiak3-Mar-06 14:46 
Questionpocket pc application Pin
bhavz693-Mar-06 5:01
memberbhavz693-Mar-06 5:01 
QuestionNet 2.0 and COM Interop (Winword) Pin
gill3-Mar-06 4:28
membergill3-Mar-06 4:28 
AnswerRe: Net 2.0 and COM Interop (Winword) Pin
Douglas Troy3-Mar-06 7:20
memberDouglas Troy3-Mar-06 7:20 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 17 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid