OUVRIR UN PDF

cs_Vaeron Messages postés 7 Date d'inscription mercredi 16 octobre 2002 Statut Membre Dernière intervention 10 décembre 2002 - 9 déc. 2002 à 15:37
cs_Vaeron Messages postés 7 Date d'inscription mercredi 16 octobre 2002 Statut Membre Dernière intervention 10 décembre 2002 - 10 déc. 2002 à 08:36
j'ai besoin dans un prog d'ouvrir un .pdf a partir d'un bouton...

thanks

2 réponses

cs_rene38 Messages postés 1858 Date d'inscription samedi 29 juin 2002 Statut Membre Dernière intervention 17 octobre 2013 11
9 déc. 2002 à 18:50
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
'-------------------
Dim Fichier As String, Chemin As String
Chemin = "C:\Dossier"
Fichier = "C:\Dossier\Fichier.pdf"
ShellExecute Form1.hWnd, "open", Fichier, vbNullString, Chemin, 3
0
cs_Vaeron Messages postés 7 Date d'inscription mercredi 16 octobre 2002 Statut Membre Dernière intervention 10 décembre 2002
10 déc. 2002 à 08:36
Oui je te remercie
mais j'ai trouvé hier lol
0
Rejoignez-nous