there is an easier way, where you change your formborderstyle back to the default formborderstyle, then use this code in your form_load event, which will give your form the look of no borders with the functionality of a form with default formborderstyle:

vb Code:
  1. Dim gp As New Drawing.Drawing2D.GraphicsPath
  2. Dim r As Rectangle = Me.ClientRectangle
  3. r.Offset(0, SystemInformation.CaptionHeight + 2)
  4. gp.AddRectangle(r)
  5. Me.Region = New Region(gp)