Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Launch an external exe
#1
Hello,

I am starting to migrate my VCL application to Intraweb. I'm not used to working with it. In my VCL code, I am running an external application with "ShellExecute". In Intraweb, I don't know how to do this.
Code:
ShellExecute(0 , 'OPEN' ,PChar(ExtractFilePath(Application.ExeName)+ '.\Application.exe'), Nil, Nil, SW_SHOW);
The .exe is located in the "wwwroot". Do you have any idea how to launch an .exe from my application?

I don't want the app to run in the web browser. I only want to launch an application from a click of a browser button. For example, we launch a Notepad.

Thanks.
Reply


Messages In This Thread
Launch an external exe - by Amélie - 11-20-2021, 03:38 PM
RE: Launch an external exe - by Jose Nilton Pace - 11-20-2021, 04:08 PM
RE: Launch an external exe - by DanBarclay - 11-20-2021, 07:42 PM
RE: Launch an external exe - by Amélie - 11-20-2021, 09:11 PM
RE: Launch an external exe - by DanBarclay - 11-20-2021, 11:46 PM
RE: Launch an external exe - by Alexandre Machado - 11-26-2021, 07:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)