No soy muy bueno en programación VB en nuestra tarea de informática. Ayúdame a escribir el código. Es urgente. Responde directamente o envíame un correo electrónico: 707942359@qq.com.
Agregue un control de botón Comando y un control TextBox al formulario;
El código fuente es el siguiente:
Private Sub Command1_Click()
Si IsNumeric(Text1.Text) = True Then
Me.Print Text1.Text amp "¡Es un número!"
ElseIf Asc(Text1.Text) gt; ; = 65 And Asc(Text1.Text) lt;= 90 Or Asc(Text1.Text) gt;= 97 And Asc(Text1.Text) lt;= 122 Entonces
Yo.Print Text1.Text amp; " ¡Es una letra! "
Else
Me.Print Text1.Text amp "¡Son otros caracteres!"
End If
Fin Sub
Sub Privado Form_Load()
Text1.Text = ""
Fin Sub