Use a script whithout connection to the net

Started by Ivek23, 10 01 May, 2021, 10:49:49 AM

Previous topic - Next topic

Ivek23

Quote from: pra15« on: 06 November 2020, 00:25:55 »
Hello,

I used a script with an old version of PVD to modify a field without connection to internet.
I had create a file x.txt in the harddisk of my PC and use it for the fonction of GetDownloadURl. It worked good.
But now with the version 1.0.2.7 of PVD i have an error in the debug mode in getdownloadurl.

I give my script if someone understand.
Thanks.


Quote from: pra15« on: 23 January 2015, 16:20:50 »
Hello,

I reinstall version 0.9.9.21 and the script is good, no error.
I create a file xxx.txt on C: and use it with the function getdownloadurl :

Quotefunction GetDownloadURL : AnsiString;

begin
      Result := 'C:\xxx.txt';
end;

Now with the new version of PVD i have an error.
Is anybody can explain why ?


Quote from: Ivek23« on: 23 January 2015, 16:20:50 »
Quote from: pra15
Now with the new version of PVD i have an error.

With this code,
function GetDownloadURL : AnsiString;    //obbligatoria

begin
logmessage('getdownloadURL demarre')
Result := 'C:\PVD_Vide.txt'; // Créer Fichier PVD_Vide.txt sur C://
logmessage('getdownloadURL fin')
end;
the attached file in the PVD version 1.0.2.7 with me script works.

This file is in PVD folder and works in debug and portable mode.

Attached are also log in txt file.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD