Originariamente inviato da XWolverineX
Puoi anche usare un vecchio modo del Vb6

codice:
Private Sub Text_KeyPress(KeyAscii as Integer)
Select Case KeyAscii
Case Asc(".")
 KeyAscii = asc(",")
End Select
End Sub
Ciao, in vb.net è cosi:
codice:
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
    If e.KeyChar = "." Then
        e.KeyChar = CType(",", Char)
    End If
End Sub