bonjour,
je suis débutant sur VB et je cherche a faire qqch de relativement simple : créer un ptit logiciel capable d'ouvrir un MP3, voici ou j'en suis mais j'arrive à lancer VLC mais le fichier sélectionner ne se lance pas:



Option Explicit
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub
Private Sub File1_bdClick()
shell ("C:\Program Files\VideoLAN\VLC\vlc.exe")
End Sub
Private Sub File1_Click()
SelectedFile = File1.Path & "\" & File1.FileName
shell("C:\Program Files\VideoLAN\VLC\vlc.exe", vbMinimizedFocus) As Double
End Sub
Private Sub Timer1_Timer()
Label1.Caption = Time
End Sub
merci de votre aide