Log in

View Full Version : Please help this newbie launch an external .exe


netBEUI
08-19-2003, 08:21 PM
I'm trying to use the following:

System.Diagnostics.Process.Start("\\Path\\To\\My\\Program\\blah.exe");

but I get this error when I try to build:

The type or namespace name 'Process' does not exist in the class or namespace 'System.Diagnostics' (are you missing an assembly reference?)

Any idea what I'm doing wrong? Should I be doing this differently? This app is intended to run on a PocketPC, I'm using Visual C# .NET 2003 to create it.

shadowen
08-20-2003, 04:32 PM
I assume that you're attempting to create a .NET application for the PPC using C# or VB.NET, well either way the System.Diagnostics.Process class does not exist in the .NET Compact Framework (the framework used in PPC's). See MSDN for more information ^_^...

--Seth