How to look the registry on Windows CE .NET 4.21

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.
 
H

hakan aktan

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
 
P

Paul G. Tobey [eMVP]

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.
 

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