Search results

  1. P

    What is the Right$ conversion to .net

    Here is my practice code: I get an error of Error 1 Type character '$' does not match declared data type 'Integer'. Error 2 'Public ReadOnly Property Right() As Integer' has no parameters and its return type cannot be indexed. For Line...sExtension = UCase$(Right$(txtFile.Text, 3))...
  2. P

    vba 6 to vb.net 2005

    Resolved Private Sub txtForemane_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtForemane.KeyPress If IsNumeric(e.KeyCode) = True Then e.Handled = True End Sub Well when I inserted this code I got this Error: Error 1 'KeyCode' is not a member...
  3. P

    vba 6 to vb.net 2005

    Thanks in advance... How would I write this code in vb2005, Private Sub txtForemane_Keypress (KeyAscii As Integer) If KeyAscii >= Asc("0") And KeyAscii <= Asc ("9") Then KeyAscii = 0 I understand that KeyAscii is dissolved with vb2005 Beginner Programmer, Patster Also what is the...
Top Bottom