Link to home
Start Free TrialLog in
Avatar of richard_gar
richard_gar

asked on

.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"
            myProcess.Start()

Open in new window

Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of richard_gar
richard_gar

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial