MsgBox error? Lolwut?[Solved]
I was going to use MsgBox in a proggy I'm making, but I came up with an error, so I made a new project to test if It was something goofed up with my code. Well... It wasn't.
New code, something simple:
[PHP]Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox = "Hai"
End Sub
End Class
[/PHP]
Error:Error 1 Argument not specified for parameter 'Prompt' of 'Public Function MsgBox(Prompt As Object, [Buttons As Microsoft.VisualBasic.MsgBoxStyle = MsgBoxStyle.DefaultButton1], [Title As Object = Nothing]) As Microsoft.VisualBasic.MsgBoxResult'.
MsgBox is underlined blue.
Msgbox("Hai")
That's how I always did it.