read write REGISTRY in cf2003

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

Guest

h

anyone know or has a exaple how to read and write a registry key in vb under cf2003

thank yo
-- kurt --
 
hi maarte

thank u 4 the great hint. i did find the dll and it is working
4 all interrested in it there a vb version of calling a registry key using the OpenNETCF.Win32.Registry.dll download the class at: http://www.opennetcf.org/registry.asp
now just add a button 2 ur application. call it button1 and add the following code

Imports OpenNETCF.Win32.Registr

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetRegKey.Clic

MsgBox(OpenNETCF.Win32.Registry.LocalMachine.OpenSubKey("init").GetValue("Launch60").ToString
End Su

best regard
-- kurt -
 
Back
Top