Launching a program from within a C#/VB SmartDevice application


This is just a quickie. If you are wondering how to launch an existing application from within your own Windows Mobile-based C# or VB.NET program, simply use the System.Diagnostics.Process.Start() method, like this:


System.Diagnostics.Process.Start("iexplore","");    // Start the web browser.


Another thing: having all your wisdom teeth extracted is a lot less fun than you might imagine.


Comments (4)

  1. Thanks! This is much cleaner than the Pinvoking of the the CreateProcess function!

    http://www.pinvoke.net/default.aspx/coredll.CreateProcess

  2. MSDN Archive says:

    You can find this and more here:

    http://channel9.msdn.com/wiki/default.aspx/MobileDeveloper.HomePage

    It’s also a good place to post questions…

    Yeah, viral marketing, baby!

  3. Cathy Dumas says:

    [obligatory story]

    one day I came home to find my sister unconscious on the couch with a trickle of blood coming out of her mouth. I shake her violently to wake her, thinking she’s dead or something. She’s just ticked at me for waking her – she was just taking a nap after her wisdom teeth had come out.

    moral: when you take a nap, you might want to consider taping a "not dead" sign to your forehead 🙂

  4. Stas says:

    Hey John,

    I am just a Windows Mobile user who’s been using this stuff since before it was called Windows Mobile, when it was still Pocket PC, and before that, when it was still Windows CE.

    I’m now on my 5th device that runs the mobile OS, and I wanted to find out about how I could ask the developers some questions and maybe get some feedback on something.

    Sample question: My Samsung i600 Smartphone has one volume control. One. For everything: Ring tone volume. Key beep Volume. Vibration Strength. Earpiece volume. Earphone volume. This is nothing like any normal phone I’ve ever had with different settings for all of these noises. For example, as someone who hears very well, I need my earphone volume set to its lowest setting, but to hear my phone ring (it’s quiet) I need the ring volume set high. With only one volume control, this is incredibly annoying. Since I only have my one phone to compare to, is this a hardware problem in the Samsung or a software problem in Windows Mobile?

    These are the kind of questions I want to ask, but I have no idea where to ask them.

    Where should I go?

Skip to main content