oigan, en VB6.0 yo tenia una forma muy eficiente de asegurarme que el usuario no introdujera valores alfanumericos en un textbox que unicamente debia aceptar numeros.... y es el siguiente:
--------------------------------------------
Private Sub txtCotizacion_KeyPress(KeyAscii As Integer)
KeyAscii = filtroEntero(KeyAscii)
End Sub
--------------------------------------------
Public Function filtroEntero(KeyAscii As Integer) As Integer
If KeyAscii <> 8 Then
If KeyAscii < 48 Or KeyAscii > 57 Then
filtroEntero = 0
Else
filtroEntero = KeyAscii
End If
Else
filtroEntero = 8
End If
End Function
--------------------------------------------
pero ahora estoy aprendiendo VB.NET y la verdad no tengo ni la menor idea de como emular esta funcionalidad con la ayuda del evento keypress del textbox.....
por favor si alguien tiene una idea.... que la diga....
de antemano muchisimas gracias...
atte: el nizaro :(