Click here to Skip to main content
15,920,031 members
Home / Discussions / C#
   

C#

 
GeneralRe: BinaryFormatter: Serializing an object's base class Pin
mav.northwind8-Oct-08 10:05
mav.northwind8-Oct-08 10:05 
GeneralRe: BinaryFormatter: Serializing an object's base class Pin
Mark Salsbery8-Oct-08 11:01
Mark Salsbery8-Oct-08 11:01 
GeneralRe: BinaryFormatter: Serializing an object's base class Pin
Mark Salsbery8-Oct-08 12:21
Mark Salsbery8-Oct-08 12:21 
GeneralRe: BinaryFormatter: Serializing an object's base class Pin
mav.northwind8-Oct-08 23:46
mav.northwind8-Oct-08 23:46 
GeneralRe: BinaryFormatter: Serializing an object's base class Pin
Mark Salsbery9-Oct-08 5:09
Mark Salsbery9-Oct-08 5:09 
GeneralRe: BinaryFormatter: Serializing an object's base class Pin
mav.northwind9-Oct-08 8:42
mav.northwind9-Oct-08 8:42 
GeneralRe: BinaryFormatter: Serializing an object's base class Pin
Mark Salsbery9-Oct-08 8:54
Mark Salsbery9-Oct-08 8:54 
QuestionWhat do I put in a VSTO Outlook Add In shutdown handler? Pin
justastupidgurl8-Oct-08 2:59
justastupidgurl8-Oct-08 2:59 
I'm writing my first VSTO Outlook add-in. Basically "Hello World". It's VS 2008 targeting Outlook 2007. It's a standard MS VS build/publish.

In the startup handler I've got:

try
{
  Office.CommandBar commandBar = activeExplorer.CommandBars["Standard"];
  button = (Office.CommandBarButton)commandBar.Controls.Add(1, missing, missing, missing, missing);
  button.Style = Office.MsoButtonStyle.msoButtonCaption;
  button.Caption = "TEST";
  button.Tag = "btnProcess";
  //button.Click += new Microsoft.Office.Core._CommandBarButtonEvents_ClickEventHandler(button_Click);
  return true;
}
catch (ArgumentException e)
{
  MessageBox.Show(e.Message);
}


'button' is a local Office.CommandBarButton object.

It installs nicely and puts a 'TEST' button on the standard toolbar as expected. But when I uninstall via Control Panel, the button is still there when I restart Outlook.

I guess I need something in the shutdown handler to kill the button - but what? Office.CommandBarButton class does not have a dispose event. How come the button is still there after uninstallation, and how do I solve that? I'm a bit confused here. Help!

JustAStupidGurl

QuestionI need free C# TreeList( or TreeView) code that will run on the web form Pin
inerp8-Oct-08 1:30
inerp8-Oct-08 1:30 
AnswerRe: I need free C# TreeList( or TreeView) code that will run on the web form Pin
J4amieC8-Oct-08 1:39
J4amieC8-Oct-08 1:39 
AnswerRe: I need free C# TreeList( or TreeView) code that will run on the web form Pin
Giorgi Dalakishvili8-Oct-08 1:44
mentorGiorgi Dalakishvili8-Oct-08 1:44 
AnswerRe: I need free C# TreeList( or TreeView) code that will run on the web form Pin
leppie8-Oct-08 1:53
leppie8-Oct-08 1:53 
AnswerRe: I need free C# TreeList( or TreeView) code that will run on the web form Pin
Muhammad Gouda8-Oct-08 2:01
Muhammad Gouda8-Oct-08 2:01 
AnswerRe: I need free C# TreeList( or TreeView) code that will run on the web form Pin
#realJSOP8-Oct-08 2:59
professional#realJSOP8-Oct-08 2:59 
Questionstatic Object Pin
Deepak the Cool8-Oct-08 1:20
Deepak the Cool8-Oct-08 1:20 
AnswerRe: static Object Pin
Colin Angus Mackay8-Oct-08 2:08
Colin Angus Mackay8-Oct-08 2:08 
QuestionCentralized exception handler and logger Pin
matixsc8-Oct-08 0:57
professionalmatixsc8-Oct-08 0:57 
AnswerRe: Centralized exception handler and logger Pin
Giorgi Dalakishvili8-Oct-08 1:14
mentorGiorgi Dalakishvili8-Oct-08 1:14 
AnswerRe: Centralized exception handler and logger Pin
matixsc8-Oct-08 2:16
professionalmatixsc8-Oct-08 2:16 
QuestionRe:Installing Flash player with windows set up Pin
RameshwerE8-Oct-08 0:19
RameshwerE8-Oct-08 0:19 
QuestionUpdate requires a valid UpdateCommand when passed DataRow collection with modified rows. [modified] Pin
astrovirgin7-Oct-08 23:36
astrovirgin7-Oct-08 23:36 
AnswerRe: Update requires a valid UpdateCommand when passed DataRow collection with modified rows. Pin
Giorgi Dalakishvili8-Oct-08 0:23
mentorGiorgi Dalakishvili8-Oct-08 0:23 
AnswerRe: Update requires a valid UpdateCommand when passed DataRow collection with modified rows. Pin
nelsonpaixao8-Oct-08 12:47
nelsonpaixao8-Oct-08 12:47 
QuestionProblem with free up memory! Pin
Ha ha ha ha ha ha ha ha7-Oct-08 23:24
Ha ha ha ha ha ha ha ha7-Oct-08 23:24 
AnswerRe: Problem with free up memory! Pin
Simon P Stevens8-Oct-08 0:11
Simon P Stevens8-Oct-08 0:11 

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.