I’ve developed a VB application. Now I want to disabled resizing the form. I know there is a property “Border style”, which changes to fixed single, can do my work. But I want minimize button to my form. Minimize button is only in “Sizable” mode. I changed another property “MaxButton” to false. When I run my program, still I can resize the form.
PLEASE TELL ME HOW TO DISABLE RESIZING THE FORM.

Make your border style to none. Then use the whatever graphics you want to use. Do total customization. Make your own window.
To move mouse see the last post in this thread. If you want comments I will explain the code.

To move mouse see the last post in this thread. If you want comments I will explain the code.

I mean to move form, sorry. :D i was in hurry.

You can capture the form resizing event then set the form into normal size.

Private Sub Form_Resize()
    If (Me.WindowState <> vbMinimized) Then
        Me.Width = 4800
        Me.Height = 3600
    End If
End Sub

And set max button to false.

Hi,
Set BorderStyle of the form to :
1 -Fixed Single

Regards
Veena

@ veena : I think the OP was do that.

@Jx_Man,

Yes... I did not read the question properly...
Your solution works perfect..

Regards
Veena

This question has already been answered. Start a new discussion instead.