fork download
  1. Public Class frm1
  2. Private Sub txtInput_KeyPress(KeyCode As Integer)
  3. If KeyCode = 13 Then
  4. YourVariable = txtInput.Text
  5. End If
  6. End Sub
  7.  
  8.  
  9. End Class
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Visual Basic.Net Compiler version 0.0.0.5914 (Mono 2.4.2 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


/home/EzzUV7/prog.vb (4,15) : Error VBNC30451: Could not resolve the name 'YourVariable'
/home/EzzUV7/prog.vb (4,24) : Error VBNC30451: Could not resolve the name 'txtInput'
There were 2 errors and 0 warnings.
Compilation took 00:00:00.9573530
stdout
Standard output is empty