Archive for the ‘VB.Net’ Category

Use the FormBorderStyle Property to prevent form resizing - VB Express 2008.

FormBorderStyle.FixedSingle will prevent users from manually resizing the form. To prevent the form from being resized through code, handle the SizeChanged event and set the size back to the fixed size you want it to be.