How to look the registry on Windows CE .NET 4.21

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm looking a way to view via an IDE or other tool, the registry of the PDA.
I'm under Windows CE .NET 4.21.

Is there a way to do that, in order to view some parameters, in fact the
remote desktop program ?

Thanks in advance.
 
Here's an answer i gave , for a question semms like yours:
----------------------------------------------------------
Here is an examle by using opennetcf.dll . If you add dll to your project
and Referances it will work fine.
Also check www.opennetcf.org

Imports OpenNETCF.Win32

Imports System.Collections

'Global variable

Private registryKey As RegistryKey

Private Sub btnRegRead_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnRegRead.Click

Dim keyName As String = tbKeyName.Text

Dim valueName As String = tbValueName.Text

Dim regValue As String

Try

registryKey = OpenNETCF.Win32.Registry.LocalMachine.CreateSubKey(keyName)

If registryKey.ValueCount = 0 Then

MsgBox("Registry not found.")

Else

regValue = CType(registryKey.GetValue(valueName), String)

MsgBox("Registry Value is : " & regValue)

End If

registryKey.Close()

Catch ex As Exception

MsgBox("Err: " & ex.Message)

End Try

End Sub
 
You can use the Remote Registry Editor found in eMbedded Visual C++ 4.0, if
you have an SDK for the target device installed.

Paul T.
 
Back
Top