02-25-2016 04:37 AM
Bonjour, Lors de la création d'un programme avec utiliation des fonction rapport excel, le programme source fonctionne sans erreur alors que le programme . exe ne fonctionne pas.
en exemple le fchier test rapport.vi
qui utilse le fichier excel testreport.xltx
l'application est créée avec tous les paramètres par défaut.
02-26-2016 07:14 AM
Hi Clément,
This the English speaking part of the forum, please post in the French section next time if you want to interact in French 😉
As for your application, I don't see any problem, it actually runs the way it's meant to run.
When you run the program in the development environment, you give your VI the path of the .xltx file and then start your VI.
When you run your .exe, you don't have time to select a file path. Thus you try to open a file with an empty path, getting an error.
Try to add a while loop or an event structure in order to wait for the user to fill the path command.
Some help about event structures : http://zone.ni.com/reference/en-XX/help/371361K-01/glang/event_structure/
Feel free to ask for some more info 😉