Time:11-11
CodePudding user response:
, for example in EDIT1 input is C: \ 001. JPG I want to click on the button, open the file, not open in DELPHI, but by the default WINDOWS open,
USES the SHELLAPI; Procedure TForm8. Button1Click (Sender: TObject); The begin ShellExecute (handle, the 'open', PWideChar (Edit1. Text), "', ' ', SW_SHOWNORMAL); end;
Page link:https//www.codepudding.com/Backend/80212.html