View Single Post
  #2  
Old December 30th 08, 08:27 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


Ads