E.B.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question'Dans la section Général - Déclarations Private Declare Function SHGetSpecialFolderPath Lib "shell32.dll" Alias "SHGetSpecialFolderPathA" (ByVal hWnd As Long, ByVal lpszPath As String, ByVal nFolder As Integer, ByVal fCreate As Boolean) As Long 'Dans un sub, Command1_Click() par exemple Const CSIDL_DESKTOPDIRECTORY = &H10 Dim Bureau As String, Retour As Long Bureau = Space$(255) Retour = SHGetSpecialFolderPath(Me.hWnd, Bureau, CSIDL_DESKTOPDIRECTORY, False) Bureau = Left(Bureau, InStr(Bureau, Chr$(0)) - 1)
E.B.