how do i launch an application via button control? RRS feed

  • Question

  • User-2015869830 posted

     I'm programming in Visual Basic for the Windows Mobile platform.  How would I launch the camera application (or any application for that matter) from a button control in my mobile program?  I know the path is My Device\Windows\Camera but I don't know how I would start it from my program.

    Tuesday, October 21, 2008 1:52 PM


  • User-2060689755 posted

    Hi raulito,

    Please see the sample:

      Process firsProcess = new Process();

                    Process secondProcess = new Process();

                    secondProcess.StartInfo.FileName = "SecondProcessFilePath";


    Best regards,
    Guang-Ming Bian - MSFT

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 27, 2008 4:56 AM