Código Delphi [-] // http://docwiki.embarcadero.com/Libra...onmentVariable // https://en.wikipedia.org/wiki/Environment_variable //'APPDATA'; //C:\Users\%UserName%\AppData\Roaming //'LOCALAPPDATA'; //C:\Users\%UserName%\AppData\Local //'USERPROFILE'; //C:\Users\%UserName%\ lPath := IncludeTrailingPathDelimiter(GetEnvironmentVariable('USERPROFILE')) + 'Desktop'; frxPDFExport1.filename:= lPath '\archivo1.PDF';
// http://docwiki.embarcadero.com/Libra...onmentVariable // https://en.wikipedia.org/wiki/Environment_variable //'APPDATA'; //C:\Users\%UserName%\AppData\Roaming //'LOCALAPPDATA'; //C:\Users\%UserName%\AppData\Local //'USERPROFILE'; //C:\Users\%UserName%\ lPath := IncludeTrailingPathDelimiter(GetEnvironmentVariable('USERPROFILE')) + 'Desktop'; frxPDFExport1.filename:= lPath '\archivo1.PDF';