Bonsoir,
Vu que tu utilises Shell et non ShellExecute, je te conseille la lecture de cette discussion où tu as un problème similaire au tien.
Si c'est pour ouvrir uniquement le fichier, je conseillerais l'utilisation de ShellExecute avec :
ShellExecute 0, vbNullString, "C:\Users\André\Documents\A - Documents usuels\Informatique\A-Projet Applications\A-Mode d'emploi\Documentation\Doc camescope S20.pdf", vbNullString, vbNullString, 0
Avec la déclaration correspondante :
Public 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
Cordialement,
Partager