Create a transaction-processing program

Create a transaction-processing program - VB/VBA/VBS - Programmation

Marsh Posté le 04-09-2014 à 21:15:15    

Bonsoir à tous,  
 
J'ai deux exercices à faire malheureusement je n'arrive pas à faire le deuxième exo et aucun de mes collègues n'y arrive.
 
Voici le premier exo:
 
write a visual Basic program that has two textboxes. the program should swap values between the two textboxes; also include code to exit the program.
 
voici ce que j'ai fais , est apparemment  ça fonction.
Public Class Form1
 
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim number As Decimal
        number = TextBox1.Text
        Dim secondnumber As Decimal
        secondnumber = TextBox2.Text
        TextBox1.Text = secondnumber
        TextBox2.Text = number
    End Sub
 
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Me.Close()
    End Sub
 
    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
 
    End Sub
End Class
 
 
Voici  maintenant le deuxième exo que j'arrive pas du tout à faire:
 
Create a transaction-processing program capable of storing  a maximum of 100 fixed-lenght records for a company that can have a maximum of 100 customers. Each record consists of an account number(that acts as the record key), a last name, a first name and balance. The program can update an account, create an account and delete an account. The next several sections introduce the techniques neccessary to create this credit-processing program. we now discuss the program used to create the random-acess  and the transaction-processing application use to manipulate data. class FrmCreateRandomAccessFilecreate a random-access file.
 
Merci d'avance  
(désolé mais malheureusement mes cours sont en anglais )

Reply

Marsh Posté le 04-09-2014 à 21:15:15   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed