.net 1.1 and CE

I have visual studio 2003 and .net 1.1 SP1 installed and when I try to use the below code it is reporting:

Type 'System.Diagnostics.Process' is not defined

This works for me in visual studio 2008 with .net 3.5. Why can I not use it in .net 1.1 I have googled this and checked on M$ about this and it reports that I can use the System.Diagnostics namespace.

Dim myProcess As System.Diagnostics.Process = New System.Diagnostics.Process
            myProcess.StartInfo.FileName = "\hard disk\ocius\ocius_cf.exe"

Open in new window

Who is Participating?
CodeCruiserConnect With a Mentor Commented:
This namespace is not supported in compact framework 1.1 but is supported in 2.0 and 3.5.
You mentioned CE in the title of the question! Is it a Windows CE project? If so, the Compact Framework is a subset of the framework and does not include all the namespaces.
richard_garAuthor Commented:
Yes it is a Windows CE program and I am using VS2003 with CF Framework 1.1.

If I cannot use the system.diagnostics.process then how in .NET CF 1.1 can I launch an external program?

Thank You
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.