Thank you so much for being so helpful!
Yes I see now to use Private instead and I wasn't sure whether I was meant to put "1" or 1 but my gut feeling thought it was "1", but now for future practices I understand now, maybe tell me why it still understands "1" even if it's a string when you are declaring it as an integer?
EDIT, I receive an error when I try to use MessageBox.show, have a look.
The code I used:
Private intMyNumber As integer = 1
Private Sub MsgBoxBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MsgBoxBtn.Click
MessageBox.Show("Your number is: " & intMyNumber & ".", MessageBoxButtons.OK, MessageBoxIcon.Information)
End Sub
and the error I recieved:
"Error 1 Overload resolution failed because no accessible 'Show' can be called without a narrowing conversion:
'Public Shared Function Show(owner As System.Windows.Forms.IWin32Window, text As String, caption As String) As System.Windows.Forms.DialogResult': Argument matching parameter 'owner' narrows from 'String' to 'System.Windows.Forms.IWin32Window'.
'Public Shared Function Show(owner As System.Windows.Forms.IWin32Window, text As String, caption As String) As System.Windows.Forms.DialogResult': Argument matching parameter 'text' narrows from 'System.Windows.Forms.MessageBoxButtons' to 'String'.
'Public Shared Function Show(owner As System.Windows.Forms.IWin32Window, text As String, caption As String) As System.Windows.Forms.DialogResult': Argument matching parameter 'caption' narrows from 'System.Windows.Forms.MessageBoxIcon' to 'String'.
'Public Shared Function Show(text As String, caption As String, buttons As System.Windows.Forms.MessageBoxButtons) As System.Windows.Forms.DialogResult': Argument matching parameter 'caption' narrows from 'System.Windows.Forms.MessageBoxButtons' to 'String'.
'Public Shared Function Show(text As String, caption As String, buttons As System.Windows.Forms.MessageBoxButtons) As System.Windows.Forms.DialogResult': Argument matching parameter 'buttons' narrows from 'System.Windows.Forms.MessageBoxIcon' to 'System.Windows.Forms.MessageBoxButtons'. c:\users\joegrech\documents\visual studio 2010\Projects\Variables Tutorial\Variables Tutorial\Main.vb 6 9 Variables Tutorial
"
Please help!
-Joe