Re: variable length arguments

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



How about if you explicitly set
firstButton.Visible = true;

catch ( Exception )
{
firstButton =
(CommandBarButton)commandBar.Controls.Add(MsoControlType.msoControlButton,
Type.Missing,Type.Missing, Type.Missing, Type.Missing);
firstButton.Caption = "GUIDE";
firstButton.FaceId = 86;
firstButton.Click +=
new _CommandBarButtonEvents_ClickEventHandler(ButtonClick);
}


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

.


Quantcast