Bonjour,
Dans ma Form j'aimerais rajouter un apercu des fichier - Boite de dialogue - lecteur+explorateur+nom des fichier
voici le détail
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub Command1_Click()
Form3.Hide
End Sub
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub
Private Sub File1_Click()
On Error Resume Next
Dim Document As String
Document = File1.Path & "\" & File1.FileName
ShellExecute Me.hWnd, vbNullString, Document, "", vbNullString, 1
End Sub
Merci de m'indiquer les contrôles ou objets à insérer + les codes
