Web Application - Desktop Application

How can I send a command from a web page to a desktop application...

Example: I have a txtbox in the webpage, then i type some text (ex.: Hello) when I click submit my desktop application calls a function to show a MessageBox with the hello

Thanks




Answer this question

Web Application - Desktop Application

  • thePerm

    I know that, I'm using web service I just wonder that is a better way...

    Any way... Thanks



  • littlePT

    There are all sorts of reasons why you shouldn't do this... The application, if it were possible to invoke a control on it, may not be running, you shouldn't be executing code directly on a client's machine, and there are probably a lot of better ways to present a user experience than a message box especially from a web app.

  • Alain de la Kethulle

    Can you give me an example of window handle....

    Thanks



  • Raven25

    I don't have much idea but u can try ISAPI application. Another way u might go is if you can attach window handle with ur desktop aaplication from web application that might do. But for that your web application might need proper security authintication.



  • GDigrego

    U can't directly communicate from a web application to desktop application.

    I will suggest you before starting read the architecture of ASP.net and how its work.

    There is an alternate way that will do your job. You can use XML web Service for this purpose.



  • Web Application - Desktop Application