I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following:
Have a webpage with a button, when pressed, it will launch a webpage that runs a server side exe (eg, notepad.exe or ribbons.scr), while at the same time run the same exe on the local client pc.
For my attached source files, i dont know why the index.cshtml doesnt show a button. Also disappointingly the notepad.exe did not run even when i set it to have security permissions so let everyone have all rights. im a little confused why there were 2 web.config files, and the IIS interface didnt seem to match the web.config settings, and also i dont understand why the visual studio code will launch the site with a certain port number, while your previous discussion 13 years ago suggested to use the session state to run at a different port.
Thank you for reading!

while at the same time run the same exe on the local client pc.

Not possible.

commented: i guess for local app launch it can be done via javascript inside the html? +0

No, Javascript cannot run/start executables on the client machine.

commented: Thanks for being clear on this issue. +17

I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site.

For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online .

You can get there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.