Calculadora Jgambin v1 -VB6

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
90 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 8, 2011

Calculadora programada en vb6 como ejercicio para aprendizaje --- CODIGO - ABAJO ---

Option Explicit

Private Sub cmdDiv_Click() -Botón de división

txtResult.Text = Val(txtOper1.Text) / Val(txtOper2.Text)
lblOp.Caption = "/"
End Sub

Private Sub cmdProd_Click() -Botón de Multiplicación

txtResult.Text = Val(txtOper1.Text) * Val(txtOper2.Text)
lblOp.Caption = "*"
End Sub

Private Sub cmdResta_Click() -Botón de Resta

txtResult.Text = Val(txtOper1.Text) - Val(txtOper2.Text)
lblOp.Caption = "-"
End Sub

Private Sub cmdSuma_Click() -Botón de Suma

txtResult.Text = Val(txtOper1.Text) + Val(txtOper2.Text)
lblOp.Caption = "+"
End Sub

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (elanimentor)

  • wow man, que genial, pasa el codigo xDD

  • @GRIM7890 ok, voy a subir varios programas en el transcurso de esta semana les voy a poner el código en la descripción, gracias por comentar :D

  • @elanimentor de nada we, por cierto, con cual version programas?

  • @GRIM7890 el vb6 normal creo que de 1998

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • @elanimentor en mi opinion el mejor.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more