![]() |
msoControl Button Error
objButtonAdd = objBar.Controls.Add(msoControlButton)
i am getting error msoControlButton is not declared any ideas??? im using vs 2008 creting add-in for outlook 2003 |
msoControl Button Error
Either fully qualify that reference as
Microsoft.Office.Core.msoControlButton or add an Imports statement something like: Imports Office = Microsoft.Office.Core and then use Office.msoControlButton to qualify the reference. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Al_21_11" wrote in message ... objButtonAdd = objBar.Controls.Add(msoControlButton) i am getting error msoControlButton is not declared any ideas??? im using vs 2008 creting add-in for outlook 2003 |
msoControl Button Error
With Office 2007 (Interop 12), yuou have to reference MsoControlType
objButton = CommandBar.Controls.Add(MsoControlType.msoControlB utton) -- Jeremy A. Marut "Ken Slovak - [MVP - Outlook]" wrote: Either fully qualify that reference as Microsoft.Office.Core.msoControlButton or add an Imports statement something like: Imports Office = Microsoft.Office.Core and then use Office.msoControlButton to qualify the reference. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Al_21_11" wrote in message ... objButtonAdd = objBar.Controls.Add(msoControlButton) i am getting error msoControlButton is not declared any ideas??? im using vs 2008 creting add-in for outlook 2003 |
All times are GMT +1. The time now is 12:29 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com