Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/01/2005, 21:25
Avatar de xknown
xknown
 
Fecha de Ingreso: diciembre-2004
Ubicación: Cusco - Perú
Mensajes: 2.248
Antigüedad: 20 años, 1 mes
Puntos: 7
Puedes hacerlo de una manera simple con:
Código:
Private Sub txtCotizacion_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtCustomLog.KeyPress
        If Not (Char.IsDigit(e.KeyChar) Or Char.IsControl(e.KeyChar)) Then
            e.Handled = True
        End If
    End Sub
Saludos
__________________
Alex Concha
Buayacorp - Programación y Diseño