Launching a .exe file from other

  • Thread starter Thread starter Fred Pizarro
  • Start date Start date
F

Fred Pizarro

Hi everybody. I have a CF app running in iPAQ 2210. I need launch a .exe
file from other. In then full version from the .NET Framework exists the
process class but it is missing in CF.

Somebody know how can I do this ?

Thanks
 
Fred Pizarro said:
Hi everybody. I have a CF app running in iPAQ 2210. I need launch a .exe
file from other. In then full version from the .NET Framework exists the
process class but it is missing in CF.

Somebody know how can I do this ?

Use OpenNETCF.Diagnostics.Process.Start.

See http://www.opennetcf.org for details.
 
Hi, Jon thanks for your help .. I have a problem, when I call this code the
system launch an TypeLoadException .. here is my code

....
using OpenNETCF.Diagnostics;

.....
private void CheckNewApp()

{

ProcessStartInfo procinfo = new ProcessStartInfo("MyAppChecker.exe");

procinfo.UseShellExecute = true;


Process MyProcess = Process.Start(procinfo);


MyProcess.Start();

}
 
Fred Pizarro said:
Hi, Jon thanks for your help .. I have a problem, when I call this code the
system launch an TypeLoadException .. here is my code

...
using OpenNETCF.Diagnostics;

....
private void CheckNewApp()

{

ProcessStartInfo procinfo = new ProcessStartInfo("MyAppChecker.exe");
procinfo.UseShellExecute = true;
Process MyProcess = Process.Start(procinfo);
MyProcess.Start();

}

How have you got OpenNETCF on the device? My own experience is that the
best way is just to make sure that OpenNETCF.dll is in the same
directory as your app.

I'm not sure which directory the above is going to try to run
MyAppChecker from though, by the way.
 
Back
Top