Hi, Im brand new to VB and almost completely new to scripting.
Where could I find a list of the most basic and useful commands with explanations, or even just like a dictionary of commands in VB?
Also, (this is a painfully easy question but searches haven't come up with any useful results) how do you make something happen if a button is clicked... Ill explain.
Ive made my first app - the picture viewer - and am currently expanding it. So far I have added a full-screen function with
Private Sub FullScreenButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FullScreenButton.Click Me.WindowState = 2 'maximized (2) Me.FormBorderStyle = 0 'none (0) FullScreenButton.Text = "Close Full Screen" FullScreenButton.Name = "CloseFSButton" 'Do I need this line? End Sub End Class
Now how do I make it Close full screen when that button has been clicked?
Ive been playing around with it for a while but cant figure it out :(