I have an .exe that I need to run on the server when the user clicks a button from the web form.
If I run the .exe manually from the server (no website involved - i just execute it myself), it opens up a document, takes a screenshot, and saves the screenshot as a .jpg on the server.
I need this to happen when the client clicks a button on the web page. The problem is, when I use cfexecute with ColdFusion or try to process.start using ASP.net, the .exe simply runs in the background of the server, so my screenshot actually comes up completely black (obviously the document is not opened on the desktop).
My question is - how can I make the .exe execute on the desktop of the server so that the screenshot will be valid?