Hi,
a client is storing the pictures on the server. I created the code below but I am keep getting the error that temp.bmp can not be found. Please any second look would help. I am getting crazy with this.
Please note that “File Name” already has “.jpg” included 122344.jpg
CODE BEGIN**
Path := ENVIRON(‘TEMP’) + ‘’;
JewelrySetup.CALCFIELDS(“Picture Converter”);
IF NOT EXISTS(Path + ‘PC.exe’) THEN
JewelrySetup.“Picture Converter”.EXPORT(Path + ‘PC.exe’);
WndStyle := 0;
Wait := TRUE;
IF EXISTS(JewelrySetupFilePath + “File Name”) THEN
BEGIN
CREATE(WshShell);
WshShell.Run(Path+'PC.exe -outfile ’ + ‘"’ +Path+'temp.bmp -color 256 -bmp ’ + ‘"’
+JewelrySetupFilePath + “File Name”,WndStyle,Wait);
CLEAR(WshShell);
Picture.IMPORT(Path+‘temp.bmp’,FALSE);
END
ELSE BEGIN
CLEAR(Picture);
END;
CODE END**