DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us