R
Roy Lasris
I want to determine the names of users on a particular computer that are using
Word. I have discovered that about the only place one might look is in:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc
FolderPaths"
I can obtain the value of a known user (let's say me, Roy) by this formula
aName = System.PrivateProfileString("", _
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc
FolderPaths", "Roy")
(the above actually gives me much more than I need--its the full path to the
MyDocs folder under my settings, but I can parse the extraneous stuff out.)
I would like to know if there is a routine that would identify each of the
users in that registry item, something along the lines of:
For Each oUser in Registry
aName = System.PrivateProfileString("", _
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc
FolderPaths", oUser)
Any ideas as to how this might be done would be greatly appreciated.
Thanks.
Roy
Word. I have discovered that about the only place one might look is in:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc
FolderPaths"
I can obtain the value of a known user (let's say me, Roy) by this formula
aName = System.PrivateProfileString("", _
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc
FolderPaths", "Roy")
(the above actually gives me much more than I need--its the full path to the
MyDocs folder under my settings, but I can parse the extraneous stuff out.)
I would like to know if there is a routine that would identify each of the
users in that registry item, something along the lines of:
For Each oUser in Registry
aName = System.PrivateProfileString("", _
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc
FolderPaths", oUser)
Any ideas as to how this might be done would be greatly appreciated.
Thanks.
Roy