Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
GeneralProblem in MessageQueue Pin
rbarzallo3-May-04 6:21
rbarzallo3-May-04 6:21 
GeneralRe: Problem in MessageQueue Pin
Jeff Varszegi3-May-04 10:21
professionalJeff Varszegi3-May-04 10:21 
GeneralRe: Problem in MessageQueue Pin
Heath Stewart3-May-04 10:26
protectorHeath Stewart3-May-04 10:26 
GeneralRe: Problem in MessageQueue Pin
Jeff Varszegi3-May-04 11:07
professionalJeff Varszegi3-May-04 11:07 
GeneralRe: Problem in MessageQueue Pin
rbarzallo4-May-04 12:35
rbarzallo4-May-04 12:35 
GeneralRe: Problem in MessageQueue Pin
Jeff Varszegi4-May-04 12:42
professionalJeff Varszegi4-May-04 12:42 
QuestionHelp: Outlook Add-In. How do I set the button icon? Pin
Tony Archer3-May-04 6:15
Tony Archer3-May-04 6:15 
AnswerRe: Help: Outlook Add-In. How do I set the button icon? Pin
Heath Stewart3-May-04 10:24
protectorHeath Stewart3-May-04 10:24 
You have to deploy the interop assemblies too, like Microsoft.Office.Interop.Outlook.dll. These need to either be installed into the Global Assembly Cache (GAC) or into the installation directory of your application (or in a sub-directory configured as a probing path).

It doesn't matter if your form is loaded or not - your add-in is still loaded otherwise you'd see no command button at all. Also, if you're using Office 2003 Smart Documents and its interop assemblies, you MUST add a code-group to the machine policy that points to your assembly, even if running under the local machine. Office 2003 includes a CLR host that works differently than the executable loader in Windows.

Finally, there's plenty of information about Office solutions development in MSDN, such as Custom Button Faces in a Managed Code Add-in for the Microsoft Office System[^]. The same should work for older interop assemblies that work with older versions of Office which almost always work completely with newer versions of Office (it's all about versioning interfaces in COM).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Help: Outlook Add-In. How do I set the button icon? Pin
Tony Archer3-May-04 11:10
Tony Archer3-May-04 11:10 
GeneralRe: Help: Outlook Add-In. How do I set the button icon? Pin
Heath Stewart4-May-04 2:48
protectorHeath Stewart4-May-04 2:48 
GeneralXmlDocument to TextBox (Best Practise) Pin
Michael P Butler3-May-04 5:51
Michael P Butler3-May-04 5:51 
GeneralRe: XmlDocument to TextBox (Best Practise) Pin
Daniel Turini3-May-04 6:28
Daniel Turini3-May-04 6:28 
GeneralConvert Unix Time to DateTime (C#) Pin
inyoursadachine3-May-04 5:47
inyoursadachine3-May-04 5:47 
GeneralRe: Convert Unix Time to DateTime (C#) Pin
Heath Stewart3-May-04 10:15
protectorHeath Stewart3-May-04 10:15 
GeneralRe: Convert Unix Time to DateTime (C#) Pin
leppie3-May-04 11:18
leppie3-May-04 11:18 
GeneralCustom Listview Pin
machocr3-May-04 5:09
machocr3-May-04 5:09 
GeneralRe: Custom Listview Pin
Heath Stewart3-May-04 10:14
protectorHeath Stewart3-May-04 10:14 
GeneralRe: Custom Listview Pin
machocr3-May-04 12:09
machocr3-May-04 12:09 
GeneralRe: Custom Listview Pin
Heath Stewart4-May-04 2:53
protectorHeath Stewart4-May-04 2:53 
Generalsetting up the bootstrapping sample Pin
kornstyle3-May-04 5:08
kornstyle3-May-04 5:08 
GeneralRe: setting up the bootstrapping sample Pin
Heath Stewart3-May-04 10:11
protectorHeath Stewart3-May-04 10:11 
GeneralRe: setting up the bootstrapping sample Pin
kornstyle3-May-04 11:03
kornstyle3-May-04 11:03 
GeneralRe: setting up the bootstrapping sample Pin
Heath Stewart4-May-04 8:13
protectorHeath Stewart4-May-04 8:13 
GeneralRe: setting up the bootstrapping sample Pin
kornstyle5-May-04 11:00
kornstyle5-May-04 11:00 
GeneralPermissions for Registry Entry Pin
Nagendra Kamath K3-May-04 4:27
Nagendra Kamath K3-May-04 4:27 

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.