Open a file

A

Aurelio

Hello,

How can i create an aplication that explores a folder and opens a file with
the .net compact framework 2.0?
With the .Net Framwork 2.0 is simpler by using the class
System.Diagnostics.Process, but it isn't in compact version.

Thanks
 
A

Aurelio

Yes, I've seen it.
One question...
In Visual Studio 2005, there ara three posibilities when you want to create
a new smart device project:
·Pocket Pc 2003
·Smartpjone 2003
·Windows CE 5.0

What is the difference between PocketPC 2003 and Windows CE 5.0 projects?
For example, in the first one, a can't use the System.Diagnostics.Process
class.


Un saludo

-----------------------------------------------------------------------------
Aurelio Martínez Corchano
Grupo LoUISE
Universidad de Castilla - La Mancha
-----------------------------------------------------------------------------


Alex Meleta said:
Hi,

System.Diagnostics.Process is in CF .NET 2.0
[http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.aspx]

So, use System.Diagnostics.Process.Start()

Alex
http://devkids.blogspot.com
 
A

Alex Meleta

Different type of projects is just for selecting appropriate env.

[Choosing a Smart Device Project Type]
http://msdn2.microsoft.com/en-us/library/ms228832(VS.80).aspx
What is the difference between PocketPC 2003 and Windows CE 5.0
projects? For example, in the first one, a can't use the System.Diagnostics.Process
class.

You probably select application for .NET CF 1.0. Read the comments when select
a project's type, you will see something like "A project for creating a .NET
Compact Framework 1.0 forms application for Pocket PC 2003 and later".

Alex
http://devkids.blogspot.com


Yes, I've seen it.
One question...
In Visual Studio 2005, there ara three posibilities when you want to
create
a new smart device project:
·Pocket Pc 2003
·Smartpjone 2003
·Windows CE 5.0
What is the difference between PocketPC 2003 and Windows CE 5.0
projects? For example, in the first one, a can't use the
System.Diagnostics.Process class.

Un saludo

----------------------------------------------------------------------
-------
Aurelio Martínez Corchano
Grupo LoUISE
Universidad de Castilla - La Mancha
----------------------------------------------------------------------
-------
Hi,

System.Diagnostics.Process is in CF .NET 2.0
[http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.
aspx]
So, use System.Diagnostics.Process.Start()

Alex
http://devkids.blogspot.com
Hello,

How can i create an aplication that explores a folder and opens a
file
with
the .net compact framework 2.0?
With the .Net Framwork 2.0 is simpler by using the class
System.Diagnostics.Process, but it isn't in compact version.
Thanks
 
C

Christian Resma Helle

If you did create a .NETCF 1.0 project then you can easily upgrade it
by right clicking on the project and selecting "Upgrade Project". Once
upgraded to .NETCF 2.0, it can't be undone.

Regards,
Christian Resma Helle
http://christian-helle.blogspot.com
 
P

Paul G. Tobey [eMVP]

Pocket PC 2003 devices run Windows CE 4.2. Windows CE 5.0 devices, well,
you get it. Pocket PC devices have additional APIs that Windows CE 5.0
devices will not. Choose the option that matches the device types that you
expect to target.

Paul T.

Aurelio said:
Yes, I've seen it.
One question...
In Visual Studio 2005, there ara three posibilities when you want to
create a new smart device project:
·Pocket Pc 2003
·Smartpjone 2003
·Windows CE 5.0

What is the difference between PocketPC 2003 and Windows CE 5.0 projects?
For example, in the first one, a can't use the System.Diagnostics.Process
class.


Un saludo

-----------------------------------------------------------------------------
Aurelio Martínez Corchano
Grupo LoUISE
Universidad de Castilla - La Mancha
-----------------------------------------------------------------------------


Alex Meleta said:
Hi,

System.Diagnostics.Process is in CF .NET 2.0
[http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.aspx]

So, use System.Diagnostics.Process.Start()

Alex
http://devkids.blogspot.com


Hello,

How can i create an aplication that explores a folder and opens a file
with
the .net compact framework 2.0?
With the .Net Framwork 2.0 is simpler by using the class
System.Diagnostics.Process, but it isn't in compact version.
Thanks

----------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top