K
Keith Franklin, MS MVP
Have application written with ASP.NET that serves HTML+TIME pages with
embedded .WMV files. As the .WMV files cycle IEXPLORE.EXE just grows and
grows and grows until crash.
On Windows XP we can kill the IEXPLORER.EXE process and restart it via .NET
System.Diagnostics.Process Namespace. On Windows XP embedded appears that we
cannot.
Any help would be great...
Here is code in Windows XPe that is failing...
//process.CloseMainWindow is the problem under XPe ....
{
process.StartInfo = new
System.Diagnostics.ProcessStartInfo(programName, programParameters);
while (!process.HasExited )
{
count++;
process.WaitForExit(1000);
if (count > resetWaitCount)
{
process.CloseMainWindow();
while (!process.HasExited)
{
System.Threading.Thread.Sleep(500);
}
process.Close();
System.Threading.Thread.Sleep(resetDelay);
process.Start();
count = 0;
}
}
process.Close();
this.Close();
}
embedded .WMV files. As the .WMV files cycle IEXPLORE.EXE just grows and
grows and grows until crash.
On Windows XP we can kill the IEXPLORER.EXE process and restart it via .NET
System.Diagnostics.Process Namespace. On Windows XP embedded appears that we
cannot.
Any help would be great...
Here is code in Windows XPe that is failing...
//process.CloseMainWindow is the problem under XPe ....
{
process.StartInfo = new
System.Diagnostics.ProcessStartInfo(programName, programParameters);
while (!process.HasExited )
{
count++;
process.WaitForExit(1000);
if (count > resetWaitCount)
{
process.CloseMainWindow();
while (!process.HasExited)
{
System.Threading.Thread.Sleep(500);
}
process.Close();
System.Threading.Thread.Sleep(resetDelay);
process.Start();
count = 0;
}
}
process.Close();
this.Close();
}