11-24-2017 12:51 AM
Dear Folks,
In the middle of completion of a project, im stuck in what seems like a simple problem maybe..
I'm creating word report using a template..it works fine in the development system.
Have MS word 7 version on this system.Have included LVclass andNIreport and template in source files- always included..build fine and runs fine on the development computer
In target system,
it says unable to find file.. im assuming its template file as the diplay shows path for the development system's.. how ever the template file is present in data folder fo the application..
One target system has MS word9 version and another one has MS word 16.. unable to figure out whats the issue..
Attached are screenshots and the vi..Any help is greatly appreciated..
Thanks,
Palvi
11-24-2017 03:37 AM
hi palch
I didn't look into your vi but your path seems too long which sometimes causes these kind of errors, try placing template in c:/ or d:/.
11-24-2017 04:59 AM
Thanks bharath for looking into the code.. I tried a shorter path name.. But no luck same error.. The template file is right in the data folder.. the application just doesnt seem to get the path or is it to do with the versions of MS word..
11-24-2017 05:38 AM
hi palch,
you made template path as absolute, the template should be present in that path. if you want the template to be in data folder you must configure in program to using relative path.
use application directory path and build the path to data folder\template..