cs_lecorsaire59
Messages postés39Date d'inscriptionmardi 9 octobre 2007StatutMembreDernière intervention17 octobre 2008
-
10 oct. 2007 à 14:56
PCPT
Messages postés13272Date d'inscriptionlundi 13 décembre 2004StatutMembreDernière intervention 3 février 2018
-
11 oct. 2007 à 22:35
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
PCPT
Messages postés13272Date d'inscriptionlundi 13 décembre 2004StatutMembreDernière intervention 3 février 201847 11 oct. 2007 à 10:15
salut,
qu'est que çà peut faire çà :
shell("C:\Program Files\VideoLAN\VLC\vlc.exe", vbMinimizedFocus) As Double
tu écrirais :
msgbox ("bonjour") as integer ???
<hr size="2" width="100%" />Prenez un instant pour répondre à [infomsg_SONDAGE-POP3-POUR-CS_769706.aspx ce sondage] svp