minimize visual basic code code example Example: vb window.minimize FormBorderStyle = Windows.Forms.FormBorderStyle.None