Hi All,

I have a wierd problem with an Inputbox.
Who I have not in VB 2003 and 2008.


If I try this:

vb.net Code:
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2.         Dim result As String = Inputbox("Enter your username")
  3.         TextBox1.Text = result
  4.     End Sub

Then I've got this error:

'Inputbox' is a namespace and cannot be used as an expression.
Do I need to show an Inputbox in a different way than in vb 2003 or 2008.