Hello guys, it's me again :) This time I want you to show me a way to hide the Windows taskbar in Visual Basic 2008. To be more specific, I created a button in my application that says "Enable Full-Screen". The code I used so far in order to make some other stuff (related to this control) follows as this.
P.S: I want you to tell me where EXACTLY should I add the code and I'll be very glad.
Private Sub EnableFullScreenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EnableFullScreenToolStripMenuItem.Click
If EnableFullScreenToolStripMenuItem.Checked = True Then
WindowState = FormWindowState.Maximized
FormBorderStyle = Windows.Forms.FormBorderStyle.None
Else
WindowState = FormWindowState.Normal
FormBorderStyle = Windows.Forms.FormBorderStyle.Sizable
End If
End Sub