?
Solved

.net 1.1 and CE

Posted on 2009-03-31
3
Medium Priority
?
257 Views
Last Modified: 2013-11-26
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

0
Comment
Question by:richard_gar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24037476
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.
0
 

Author Comment

by:richard_gar
ID: 24042019
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
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 24044151
This namespace is not supported in compact framework 1.1 but is supported in 2.0 and 3.5.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question