05-24-2021 12:21 PM
Hi,
I'm using LabVIEW 2016 with Windows 7 Pro SP1 x64.
I did what comes in this link: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019O6PSAU&l=es-MX
But in the .exe gives me an error.
Thanks
Solved! Go to Solution.
05-28-2021 02:43 AM
Difficult to say much without the code, but maybe it's not able to find the template file for the report? Are you using relative path for the template?
05-28-2021 07:49 AM
The VI and the .exe are in "Error RGT.rar" file, before build the project the VI works.
05-28-2021 10:06 AM
05-30-2021 05:00 PM
the template is in the project folder and is also in the labview project
05-31-2021 05:43 AM
That is irrelevant for the executable:
As you use this VI to determine the base path of your executable, your excel template needs to be in the same directory as your executable. That is not the case in your *.rar file.
Regards, Jens
05-31-2021 03:17 PM
Thanks Bro, I don't think that detail will affect
06-01-2021 01:29 AM
That's a little arrogant on my opinion. Someone goes through all the effort of debugging your code and provides you the answer (which I'm sure is the correct one) and you don't even bother to test it?
Could you at least provide some reason to support your argument?
p.s. If you would bother to check your error messages properly, you would most likely find the path of the file it's not finding or at least the exact operation that failed
06-01-2021 05:51 AM
06-01-2021 05:55 AM
Sorry Jens, I was not writing to you and maybe I also misunderstood the message from Spartan virus.
I was answering to this: "Thanks Bro, I don't think that detail will affect". Which I took in a way, that he did not approve your solution.
So, my bad. Sorry for both.