Tutorial base visual basic 6 - Somma,moltiplicazione, sottrazione, divisione di due numeri

Loading...

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

Uploaded by on Aug 9, 2010

piccolo programmino base per creare una calcolatrice che somma,divide, sottrae e moltiplica due numeri!!

codice:
Private Sub Command1_Click()
Text3.Text = Val(Text1.Text) + Val(Text2.Text)
End Sub

Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text1.SetFocus ' serve per impostare direttamente il cursore nella prima text box
End Sub

Private Sub Command3_Click()
End 'esce dal programma
End Sub

Private Sub Command4_Click()
Text3.Text = Val(Text1.Text) - Val(Text2.Text)
End Sub

Private Sub Command5_Click()
Text3.Text = Val(Text1.Text) * Val(Text2.Text)
End Sub

Private Sub Command6_Click()
Text3.Text = Val(Text1.Text) / Val(Text2.Text)
End Sub

PER ULTERIORI TUTORIAL VISITATE:
WWW.CODDINGMANIA.ALTERVISTA.ORG

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (favarese91)

  • un consiglio mò traducilo pure in iglese

  • @FavaresaLove graqzie per il consiglio mò =)

Video Responses

This video is a response to Beginning C++ Programming: Lesson 1
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
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