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. Opening windows application from a web application

Opening windows application from a web application

Scheduled Pinned Locked Moved ASP.NET
help
10 Posts 3 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.
  • A Offline
    A Offline
    arslanjatt
    wrote on last edited by
    #1

    Hi, I am trying to open a windows application by this code Process test = new Process(); test.StartInfo.FileName = "C:\\Program Files\\PakInc\\SupnaBurnCDSetup\\CSharpDemo.exe"; test.Start(); windows application is executed but it didn't work properly. Can anybody help me. Thanks

    N 1 Reply Last reply
    0
    • A arslanjatt

      Hi, I am trying to open a windows application by this code Process test = new Process(); test.StartInfo.FileName = "C:\\Program Files\\PakInc\\SupnaBurnCDSetup\\CSharpDemo.exe"; test.Start(); windows application is executed but it didn't work properly. Can anybody help me. Thanks

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      arslanjatt wrote:

      Process test = new Process(); test.StartInfo.FileName = "C:\\Program Files\\PakInc\\SupnaBurnCDSetup\\CSharpDemo.exe"; test.Start();

      Process.Start(fileName) will do

      arslanjatt wrote:

      windows application is executed but it didn't work properly.

      Which didn't worked properly ? Windows application or the website ?

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      A 1 Reply Last reply
      0
      • N N a v a n e e t h

        arslanjatt wrote:

        Process test = new Process(); test.StartInfo.FileName = "C:\\Program Files\\PakInc\\SupnaBurnCDSetup\\CSharpDemo.exe"; test.Start();

        Process.Start(fileName) will do

        arslanjatt wrote:

        windows application is executed but it didn't work properly.

        Which didn't worked properly ? Windows application or the website ?

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

        A Offline
        A Offline
        arslanjatt
        wrote on last edited by
        #3

        Windows application didn't work properly. Act. it is a demo aopplication to burn the cd. windows application is not installed on server not on client.

        A N 2 Replies Last reply
        0
        • A arslanjatt

          Windows application didn't work properly. Act. it is a demo aopplication to burn the cd. windows application is not installed on server not on client.

          A Offline
          A Offline
          arslanjatt
          wrote on last edited by
          #4

          Sorry i mean to sya windows application is installed on Web Server not on client. It communicate with the Local System. I can open a NOTEPAD.EXE properly and it work properly also. But, CSharpDemo.exe doesn't work properly.

          1 Reply Last reply
          0
          • A arslanjatt

            Windows application didn't work properly. Act. it is a demo aopplication to burn the cd. windows application is not installed on server not on client.

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            arslanjatt wrote:

            Windows application didn't work properly

            What is the error it is showing ? Is all prerequisites for .NET application installed on the machine ?

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

            A 1 Reply Last reply
            0
            • N N a v a n e e t h

              arslanjatt wrote:

              Windows application didn't work properly

              What is the error it is showing ? Is all prerequisites for .NET application installed on the machine ?

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

              A Offline
              A Offline
              arslanjatt
              wrote on last edited by
              #6

              Let me tell you in detail. What windows application does is to burn a cd by using NeroCommand.exe which is in the folder of C:\Program Files\Ahead\Nero\NeroCommand.exe. There is an object of ZylBurner.Burner class. It gets the NeroCommand.exe path by burner.GetNeroCommand(). When i run the application from the exe on local system it works properly and when i run it with the help of process it opened but didn't work properly. i mean to say not get the path of nerocommand.exe. Is there any problem of rights? Thanks for you cooperation

              P 1 Reply Last reply
              0
              • A arslanjatt

                Let me tell you in detail. What windows application does is to burn a cd by using NeroCommand.exe which is in the folder of C:\Program Files\Ahead\Nero\NeroCommand.exe. There is an object of ZylBurner.Burner class. It gets the NeroCommand.exe path by burner.GetNeroCommand(). When i run the application from the exe on local system it works properly and when i run it with the help of process it opened but didn't work properly. i mean to say not get the path of nerocommand.exe. Is there any problem of rights? Thanks for you cooperation

                P Offline
                P Offline
                Paddy Boyd
                wrote on last edited by
                #7

                You want to operate the CD burner on your web server through a web based client on a remote machine - is that correct?

                A 1 Reply Last reply
                0
                • P Paddy Boyd

                  You want to operate the CD burner on your web server through a web based client on a remote machine - is that correct?

                  A Offline
                  A Offline
                  arslanjatt
                  wrote on last edited by
                  #8

                  yes almost right

                  P 1 Reply Last reply
                  0
                  • A arslanjatt

                    yes almost right

                    P Offline
                    P Offline
                    Paddy Boyd
                    wrote on last edited by
                    #9

                    What's the bit that's almost wrong?

                    A 1 Reply Last reply
                    0
                    • P Paddy Boyd

                      What's the bit that's almost wrong?

                      A Offline
                      A Offline
                      arslanjatt
                      wrote on last edited by
                      #10

                      I couldn't understand what you want to say? Please let me know is it possible or not?

                      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