當前位置:成語大全網 - 新華字典 - vb.net ascii碼查詢

vb.net ascii碼查詢

'新建壹個TextBox1,壹個Label1

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress

Label1.Text = Asc(e.KeyChar)

End Sub