Set not permitted
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Set not permitted 

You attempted to change a property whose settings either cannot be set at run time or else can only be set under certain conditions. For example, you may have tried to change the Appearance, ControlBox, MinButton, or MaxButton property settings for the form at run time, or you may have tried to set the Visible property to False for the last remaining visible submenu on a parent menu.

To correct this error

  • Check the property and determine under what conditions it can be set.

See Also

Show:
© 2016 Microsoft