1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Private Sub cmdAjouter_Click()
liste.AddItem File.FileName
If Trim(File) <> "" Then
Else
msg = "Vous devez saisir un ou plusieurs fichiers!"
MsgBox msg
End If
End
Private Sub cmdEffacer_Click()
liste.Clear 'efface le contenu de la liste
End
Private Sub cmdQuitter_Click()
'Quitter le programme
Title$ = "Quitter l' application!"
msg = "Voulez-vous vraiment quitter sans programmer de batch?"
Reponse% = MsgBox(msg, 4 + 32, Title$)
If Reponse% = 6 Then End
End Sub
Private Sub Dir_Change()
File.Path = Dir.Path
End
Private Sub Drive_Change()
Dir.Path = Drive.Drive
End Sub |