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. Mobile Development
  3. Mobile
  4. Help Needed!! Problem in running an exe file

Help Needed!! Problem in running an exe file

Scheduled Pinned Locked Moved Mobile
helpcsharp
3 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
    ArchaBhandare
    wrote on last edited by
    #1

    I am new to mobile development. I want to start an exe in the '\Program Files' folder of my mobile device(I m using a Symbol device) from my C# application. Can anyone tell me what command to use in the code.. I see that to start .wav files there is 'Symbol.Audio.Controller' available. Is there any such thing for exe files.

    A A 2 Replies Last reply
    0
    • A ArchaBhandare

      I am new to mobile development. I want to start an exe in the '\Program Files' folder of my mobile device(I m using a Symbol device) from my C# application. Can anyone tell me what command to use in the code.. I see that to start .wav files there is 'Symbol.Audio.Controller' available. Is there any such thing for exe files.

      A Offline
      A Offline
      Ashvin Gunga
      wrote on last edited by
      #2

      Hi, May be you can have a look at the Process and PrcessStartInfo class..I think you first create a ProcessStartInfo class, passing the constructor, the name of your exe to be executed with its full path as first parameter, and the arguments, if any, for the exe as second parameter. Then, create the instance of Process class, and call the Start() method, passing the instance of ProcessStartInfo as parameter. Hope it helps.

      Ashvin Gunga

      1 Reply Last reply
      0
      • A ArchaBhandare

        I am new to mobile development. I want to start an exe in the '\Program Files' folder of my mobile device(I m using a Symbol device) from my C# application. Can anyone tell me what command to use in the code.. I see that to start .wav files there is 'Symbol.Audio.Controller' available. Is there any such thing for exe files.

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

        You can use the CreateProcess api to start an exe. There are many examples of how to do this on the web.

        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