Just to clarify, when you say
ButtonName.Enabled = False
This does not seem to work. Any help would be appreciated.
What do you mean, you can still click the button?
The .Available property will hide the button/menuitem from the users view (effectively disabling it), whereas .Enabled will leave the button/menuitem on the menustrip/toolstrip but grey it out so it can't be clicked.
What do you want to happen when you disable the control?
The only reason I ask is that .Enabled seems to work perfectly well for myself and everyone else in this thread so I'm pretty much ruling out a problem with VS.
HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!
You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman
Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.