locked
Kill IE browser in Windows Mobile 6.0 RRS feed

  • Question

  • Hi,

    We have initiated a browser from our WM6.0 code using system.diagnostics class.

    int processID = System.Diagnostics.Process.Start("iexplore.exe","OurSiteURL").Id;

    Now we need to kill the IE that we initiated through code. We tried the code below

    System.Diagnostics.Process.Kill(processID);

    but its not working. Is it possible to kill a particular IE browser instance from our code. Please advice

    regards

    Sreejith

    Tuesday, May 18, 2010 5:08 AM

Answers

  • Hi Sreejith

    Try this to kill it:

    System.Diagnostics.Process.GetProcessById (processID).Kill ();

    Michael


    MVP Windows Embedded
    Tuesday, May 18, 2010 11:50 AM