Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu hyperlinks
Message
 
 
À
18/08/2005 16:48:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01042067
Message ID:
01042081
Vues:
37
This message has been marked as the solution to the initial question of the thread.
>Assuming a user has Adobe Acrobat Reader installed on his system, how would you place a hyperlink to a PDF document on a menu dropdown?

Add item to a menu and call ShellExecute when it's selected by user.
DECLARE INTEGER ShellExecute IN shell32.dll ;
	INTEGER hndWin, ;
	STRING cAction, ;
	STRING cFileName, ;
	STRING cParams, ;
	STRING cDir, ;
	INTEGER nShowWin
lcPdfFileName = FULLPATH("mydoc.pdf")
ShellExecute(0, "Open", lcPdfFileName, "", "", 1)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform