Registry beginner, Please HELP

T

Timothy Taylor

Below is code that works to get the Device Name.
Where can i find the Owner Name that the owner had filled out?
Another thing... Is there a registry value where i could tell it where the
default place to install CAB files would be a storage card instead of main
memory? ANY other helpful information about registry is much appriciated,

Thank you so much in advanced,

-Tim

Private Sub btnGetID_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnGetDeviceName.Click

Dim devicename As String = Nothing

Dim size As Integer = 128

Dim reg As OpenNETCF.WinAPI.Registry.RegKey = New
OpenNETCF.WinAPI.Registry.RegKey

reg.Open(reg._HKEY_LOCAL_MACHINE, "Ident")

reg.QueryValue(devicename, "Name", size)

reg.Close()

MsgBox("Your Device Name is " & devicename)

End Sub
 
N

Neil Enns [MSFT]

The owner name isn't easily accessible on pre-2003 Pocket PC devices. It's
stored as a blob in the registry that you'd have to parse out. In Pocket PC
2003 the entries were converted to strings.

--
Neil Enns
Lead Program Manager
Microsoft Mobile Devices Product Group

This posting is provided "AS IS" with no warranties, and confers no rights.
 
T

Timothy Taylor

Where could i find that on a 2003 device?

Neil Enns said:
The owner name isn't easily accessible on pre-2003 Pocket PC devices. It's
stored as a blob in the registry that you'd have to parse out. In Pocket PC
2003 the entries were converted to strings.

--
Neil Enns
Lead Program Manager
Microsoft Mobile Devices Product Group

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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