Writefile in Templates not allowed and Windows API not allowed - page 2

 

you can even use Savefile in Files directly, generating the file from the code. it worked 100%.

I debugged the directory and was correct as well using \\ .etc, but what I wasn't able was applytemplate from "files" dir reason why I started exploring different solutions (moving with the win API and finally applying from a chart); I'll try again to apply from Files and see if it works.

 
Enrico De Landerset #:

you can even use Savefile in Files directly, generating the file from the code. it worked 100%.

I debugged the directory and was correct as well using \\ .etc, but what I wasn't able was applytemplate from "files" dir reason why I started exploring different solutions (moving with the win API and finally applying from a chart); I'll try again to apply from Files and see if it works.

It does work without issue. I just tried it as follows ...

ChartApplyTemplate( 0, "\\Files\\Default (White)" );

The file stored in the "Files" directory was "Default (White).tpl".

 
works 100%... Thanks Fernando! .. no words for your kindness!