I have created an active form.
Form the htm page I double-click on the image and here's is what it should do:
It all works...well kind off! Sometimes I need to double-click 5 times before the APPLICATION runs :o/
The main problem is that the application that it runs...has a button which shellexecute's another external application.
This does not run.
If I run the application directly without running it from the active form it's ok but I get errors or no outcome
when doing it via the active form.
Can anyone help me please?
procedure TVRShowroom.Image1DblClick(Sender: TObject);
if fileexists('C:\myapplication.exe') then
if not fileexists('C:\myapplication.exe') then
ShellExecute(Handle, 'open', PChar('http://www.website.com/Setup.exe'), nil, nil, SW_SHOWNORMAL);