Personal Video Database
English => Development => Scripts and Templates => Topic started by: pra15 on January 19, 2015, 11:12:17 am
-
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.
-
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 :
function GetDownloadURL : AnsiString;
begin
Result := 'C:\xxx.txt';
end;
Now with the new version of PVD i have an error.
Is anybody can explain why ?
-
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.
-
Ok Thanks,
I found why the error, i don't know why but with this version of PVD, the txt file can't be empty. You must write something in.
Thanks again, Ivek23, that's a long time, i worked not near to the net.
-
Ok Thanks,
I found why the error, i don't know why but with this version of PVD, the txt file can't be empty. You must write something in.
Thanks again, Ivek23, that's a long time, i worked not near to the net.
Welcome.