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
- Anonymous
September 13, 2005
Thanks! This is much cleaner than the Pinvoking of the the CreateProcess function!
http://www.pinvoke.net/default.aspx/coredll.CreateProcess - Anonymous
September 14, 2005
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! - Anonymous
September 27, 2005
[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 :) - Anonymous
September 28, 2005
The comment has been removed