Perché mi succede questo?
Eseguibile in -> E:\cartella
Nome server -> portatilevicky
Immagine sole.jpg in -> E:\cartella\bkg\sole.jpg
codice:
var ImgPath : string;
begin
ImgPath := 'portatilevicky:E:\cartella\bkg\';
imgSole.Picture.LoadFromFile(ImgPath + 'sole.jpg');
end;
ottengo questo messaggio di errore quando lancio l'eseguibile:
codice:
First chance exception at $7C812A5B. Exception class EFOpenError with message 'Cannot open file "E:\cartella\portatilevicky:E:\cartella\bkg\sole.jpg". La sintassi del nome del file, della directory o del volume è incorretta'.