vb.net - Visual Basic get all profiles from registry sub folder -


i trying find every sub folder of profiles program called autocad.

i have managed specify specific profile, able find profiles.

this have far 1 particular profile (its default profile on computers)

dim readvalue2014 string = my.computer.registry.getvalue(         "hkey_current_user\software\autodesk\autocad\r19.1\acad-d001:409\profiles\<<unnamed profile>>\dialogs\appload\startup", "numstartup", nothing) 

unnamed profile default profile. can see there other folders after need value numstartup from.

so need way list of sub folders folder profiles.

i assume can string other sub folders on end of list of profiles.

i have no idea how this. thanks

you might want use registrykey class instead of my. helper classes.

registrykey softwarekey = registry.currentuser.opensubkey("software") registrykey autodeskkey = softwarekey.opensubkey("autodesk") 

and on... , finally:

dim profilenames() string = profileskey.getsubkeynames() 

ps: need import microsoft.win32


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -