LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Afficher un fichier pdf à l'écran

Solved!
Go to solution

Bonjour à tous,

 

Je suis actuellement en train de réaliser un projet. Sur la face avant de ce projet, je voudrais mettre un bouton "aide", et lorsque l'on clique dessus, il affiche à l'écran un fichier .pdf contenant les informations nécéssaires pour faire fonctionner le projet. Cependant, je ne trouve pas de fonction permettant de faire cela ... J'ai essayé la fonction "OpenFile" mais elle n'affiche pas le fichier à l'écran. 

 

Pouvez-vous m'indiquer s'il existe cette fonction ? Ou sinon, comment faire pour afficher un fichier à l'écran ?

Merci beaucoup par avance !

 

 

0 Kudos
Message 1 of 3
(1,086 Views)
Solution
Accepted by topic author Armando1223

The Programmer's Toolbox (<folder of CVI app>\toolslib\toolbox\toolbox.fp) includes OpenDocumentInDefaultViewer () function which can be of help, provided .pdf files are associated with a proper viewer, which is probably already setup in your system.

 

I'm sorry for not answering in French but I don't know the language (I hope that Google did a good job in translating 😉 ). Please consider that in this general board the preferred language is English, however if you prefer there is a French regional community where to speak in your mother tongue: this one is probably the best board where to post a CVI-related question



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(1,083 Views)

Don't worry you resolved my problem ! Thanks a lot ! I will now speak in english !

0 Kudos
Message 3 of 3
(1,071 Views)