Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Call window application from ASPX page on localhost

Call window application from ASPX page on localhost

Scheduled Pinned Locked Moved ASP.NET
questioncsharpdatabasesysadminhelp
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yosh_
    wrote on last edited by
    #1

    I've created a small .Net webApp (ClassRegWebSolution), and what it does is to register students. However this webApp only runs on one system (i.e: The same system is the client and the server), but the DB resides on a central server elsewhere. I want to capture student images on the web page via a webcam, but can't accomplish this. So i've decided to write a winApp (imageCapture) that can capture images real-time. The problem now is calling the imageCapture to run when the user clicks a button on the .aspx page. Pls how can i acomplish this?

    He who goes for revenge must first dig two graves.

    N A K 3 Replies Last reply
    0
    • Y Yosh_

      I've created a small .Net webApp (ClassRegWebSolution), and what it does is to register students. However this webApp only runs on one system (i.e: The same system is the client and the server), but the DB resides on a central server elsewhere. I want to capture student images on the web page via a webcam, but can't accomplish this. So i've decided to write a winApp (imageCapture) that can capture images real-time. The problem now is calling the imageCapture to run when the user clicks a button on the .aspx page. Pls how can i acomplish this?

      He who goes for revenge must first dig two graves.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      I would investigate ClickOnce[^] "ClickOnce is a deployment technology that allows you to create self-updating Windows-based applications that can be installed and run with minimal user interaction."


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • Y Yosh_

        I've created a small .Net webApp (ClassRegWebSolution), and what it does is to register students. However this webApp only runs on one system (i.e: The same system is the client and the server), but the DB resides on a central server elsewhere. I want to capture student images on the web page via a webcam, but can't accomplish this. So i've decided to write a winApp (imageCapture) that can capture images real-time. The problem now is calling the imageCapture to run when the user clicks a button on the .aspx page. Pls how can i acomplish this?

        He who goes for revenge must first dig two graves.

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        No man, its not possible. One thing is possible for your case is to embed a Web Browser control and navigate to the page and invoke this from your win app directly on the web event. Otherwise if you want to access your win app from normal browsers, it cant do. There is another alternative as well. I thought you said that both windows application and web runs on the same system. In such a case you can use a direct call to your webcam from the server side too. but this will only work from the server. Hope this would help you. Cheers.

        Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


        My Latest Articles-->****
        InfoBox Visual Studio 2010 Extension
        Windows7 API Code Pack
        Simplify Code Using NDepend**

        1 Reply Last reply
        0
        • Y Yosh_

          I've created a small .Net webApp (ClassRegWebSolution), and what it does is to register students. However this webApp only runs on one system (i.e: The same system is the client and the server), but the DB resides on a central server elsewhere. I want to capture student images on the web page via a webcam, but can't accomplish this. So i've decided to write a winApp (imageCapture) that can capture images real-time. The problem now is calling the imageCapture to run when the user clicks a button on the .aspx page. Pls how can i acomplish this?

          He who goes for revenge must first dig two graves.

          K Offline
          K Offline
          K V Sekhar
          wrote on last edited by
          #4

          If your windows & web application resides on same system/server you can use System.Diagnostics.Process to run your window application.

          System.Diagnostics.ProcessStartInfo info = new system.Diagnostics.ProcessStartInfo("D:\MyWindow.exe");//FullpathOfYourWindow
          System.Diagnostics.Process p1 = System.Diagnostics.Process();

          p1.StartInfo = info;
          p1.Start(); //Your windows application will run.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups