Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/11/2005, 17:52
chcma
 
Fecha de Ingreso: junio-2003
Ubicación: Asturias
Mensajes: 2.429
Antigüedad: 20 años, 11 meses
Puntos: 7
Mi solución:

Código:
        If Not Char.IsPunctuation(e.KeyChar) And Not Char.IsDigit(e.KeyChar) Then
            If Not e.KeyChar = Chr(8) Then
                e.Handled = True
            End If
        End If

En el evento KeyPress de la caja de texto.
__________________
Charlie.