| | |
add custom control to outlook toolbar in VSTO
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2009
Posts: 1
Reputation:
Solved Threads: 0
I want to add a custom control to a tool bar in outlook. I am wrting the following code
Office.CommandBarControl ilc_Menu_Send_Progress = (Office.CommandBarControl)ilc_MainMenu.Controls
.Add(Office.MsoControlType.msoControlCustom,(object) testControl1, missing, 1, true);
But i am getting the following error
Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))
Office.CommandBarControl ilc_Menu_Send_Progress = (Office.CommandBarControl)ilc_MainMenu.Controls
.Add(Office.MsoControlType.msoControlCustom,(object) testControl1, missing, 1, true);
But i am getting the following error
Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))
![]() |
Other Threads in the C# Forum
- Previous Thread: Getting File Extension
- Next Thread: Server Files in Combobox ??
| Thread Tools | Search this Thread |
.net access algorithm array backup barchart bitmap box broadcast buttons c# check checkbox client clock combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees developer development draganddrop drawing dynamiccreation encryption enum excel file form format forms function gdi+ hospitalmanagementsystems httpwebrequest image index input install interface java label list listbox mandelbrot math microsystems mouseclick mysql operator password path photoshop picturebox pixelinversion post priviallages. programming property radians regex remoting richtextbox running... serialization server sleep soap socket sql sqlserver stack statistics stream string table temperature text textbox thread time timer update usercontrol validation visualstudio webbrowser windows windowsformsapplication winforms wpf write xml





