Load Registry Components
-
Monday, April 30, 2012 10:12 PMI was wondering how I can somehow prompt the user to choose a registry key or entry in a dialog or tree view. Once they have chosen their entry, how is it possible to write the key or entry's path starting with either "HKEY_LOCALMACHINE\...", "HKEY_CURRENTUSER\...", etc, into a rich text box?
Bgeo99
All Replies
-
Tuesday, May 01, 2012 1:28 AM
yes, it possible but all depends on what you want to do with that info entered in richtextbox. If you try to create registry file (.reg ) from richtextbox then below is sample registry entry in .reg file.
REGEDIT4
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister\command] ; this is key
@="regsvr32.exe /u %1" ;value
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="regsvr32.exe %1";value
kaymaf
CODE CONVERTER SITE
- Proposed As Answer by Mark Liu-lxfModerator Wednesday, May 02, 2012 3:39 AM
- Marked As Answer by Mark Liu-lxfModerator Tuesday, May 08, 2012 5:51 AM
-
Tuesday, May 01, 2012 7:54 AM
It is not what you ask but from this sample on our website you need probably 5 rows.
http://www.vb-tips.com/RegistryExpirirantionKey.aspx
Success
Cor- Proposed As Answer by Mark Liu-lxfModerator Wednesday, May 02, 2012 3:39 AM
- Marked As Answer by Mark Liu-lxfModerator Tuesday, May 08, 2012 5:51 AM

