09-24-2022, 09:11 AM
hello,
i have intraweb application that show pdf files,
when i use on windows navigator no problem
but when i use on mobile phone or tablette , android or apple i have code 404 file not found
have you any explaination ?
best regards
my code:
procedure TFormToto.Prog1;
Var
rep tring;
fichier : string;
HRef: string;
begin
rep := 'Toto\';
fichier := 'toto.pdf';
FPath := TIWAppInfo.GetAppPath + 'Toto\' + rep + fichier;
HRef := TIWAppCache.AddFileToCache(WebApplication, FPath, MIME_PDF);
with IWModalWindow1 do begin
Reset;
Autosize := False;
Title := 'life of toto ' + Mois;
Draggable := False;
WindowWidth := 95;
WindowHeight := 95;
Src := HRef;
OnAsyncClick := nil;
Show;
end;
end;
i have intraweb application that show pdf files,
when i use on windows navigator no problem
but when i use on mobile phone or tablette , android or apple i have code 404 file not found
have you any explaination ?
best regards
my code:
procedure TFormToto.Prog1;
Var
rep tring;
fichier : string;
HRef: string;
begin
rep := 'Toto\';
fichier := 'toto.pdf';
FPath := TIWAppInfo.GetAppPath + 'Toto\' + rep + fichier;
HRef := TIWAppCache.AddFileToCache(WebApplication, FPath, MIME_PDF);
with IWModalWindow1 do begin
Reset;
Autosize := False;
Title := 'life of toto ' + Mois;
Draggable := False;
WindowWidth := 95;
WindowHeight := 95;
Src := HRef;
OnAsyncClick := nil;
Show;
end;
end;