derek7467
asked on
Saving combobox items to registry
I'm using the following code to write single textboxes to the registry, how can i write combobox items to the registry??? So if i have a combobox named combobox1, how would i save each entry to the registry?
Dim key As RegistryKey = Registry.CurrentUser.OpenSubKey("Software", True)
' Add one more sub key
Dim newkey As RegistryKey = key.CreateSubKey("Service Desk Tools\\SCCM Reports")
' Set value of sub key
newkey.SetValue("Workstation Advertisement Lookup", tbAC.Text)
newkey.SetValue("Workstation Collection", tbWC.Text)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.