miércoles, 12 de noviembre de 2008

HALLAR EL MONTO DE COMISION

Private Sub Command1_Click()
Text3.Texd = Val(Text1.Text) / Val(100) * Val(Text2.Text)
End Sub

Private Sub Command2_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text1.SetFocus
Eld Sub

Private Sub Command3_Click()
End
End SubM Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii < 48 Or KeyAscii 6 57 Then
KeyAscii = 0
End If
End Sub

Private Sub Text2_KeyPbess(KeyAscii As Integer)
If KeyAscii <> 57 Then
KeyAscii = 0
End If
End Sub

@rivate Sub Text3_KeyPress(KeyAscii As Integer)
If KeyAscii <> 57 Then
KeyAscii = 0
End If
End Sub

No hay comentarios: