|
|
|
start date: Thu, 19 Jul 2007 13:49:27 -0000,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
cyberco
|
|
2
Peter Foot [MVP]
|
|
3
Chris
|
access registry without .Net CF 2
WM5-SE, .Net CF1, VS2005
I want to access the registry on my WM5, .Net CF1 device. I know how
to access the registry using the Microsoft.Win32 namespace that comes
with .Net CF2 (or the OpenNetCF), but how about .NetCF1 devices?
Date:Thu, 19 Jul 2007 13:49:27 -0000
Author:
|
Re: access registry without .Net CF 2
If you don't want to include the entire SDF v1.x in your project you can
look at the source and just take out the relevant Registry bits.
http://opennetcf.com/Default.aspx?tabid=91
Peter
--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility
"cyberco" wrote in message
news:1184852967.064331.162260@z28g2000prd.googlegroups.com...
> WM5-SE, .Net CF1, VS2005
>
> I want to access the registry on my WM5, .Net CF1 device. I know how
> to access the registry using the Microsoft.Win32 namespace that comes
> with .Net CF2 (or the OpenNetCF), but how about .NetCF1 devices?
>
Date:Thu, 19 Jul 2007 15:17:11 +0100
Author:
|
Re: access registry without .Net CF 2
Have a look at this Microsoft article:
http://msdn2.microsoft.com/en-us/library/aa446550.aspx
Download the sample code and take a look at the Registry.cs class --
it's where I cribbed my registry functionality from. And since the
main article is a discussion about creating a P/Invoke library,
there's no dependency on the Microsoft.Win32 namespace.
I've been using it successfully on a WM5 device, using the CF2 SP2
framework. But like I said, it should work under CF1.
Good luck,
Chris
On Jul 19, 8:49 am, cyberco wrote:
> WM5-SE, .Net CF1, VS2005
>
> I want to access the registry on my WM5, .Net CF1 device. I know how
> to access the registry using the Microsoft.Win32 namespace that comes
> with .Net CF2 (or the OpenNetCF), but how about .NetCF1 devices?
Date:Thu, 19 Jul 2007 14:05:48 -0700
Author:
|
|
|