Current User
-
In the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DocFolderPaths lives the paths to all users. How may I enum them? How may I find current user? "Naked we come and bruised we go." - James Douglas Morrison Best Wishes, ez_way
-
In the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DocFolderPaths lives the paths to all users. How may I enum them? How may I find current user? "Naked we come and bruised we go." - James Douglas Morrison Best Wishes, ez_way
BaldwinMartin wrote: How may I enum them? Use RegEnumKey or RegEnumKeyEx BaldwinMartin wrote: How may I find current user? GetUserNameThe GetUserName function retrieves the user name of the current thread. This is the name of the user currently logged onto the system. or you can search For a set of Netowrk CLasses at CP to get a class Related to User Enumeration/other user related activities,But that work in window2000 and above. ----------------------------- "I Think It Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
-
In the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DocFolderPaths lives the paths to all users. How may I enum them? How may I find current user? "Naked we come and bruised we go." - James Douglas Morrison Best Wishes, ez_way
If you just need the path for the 'My Documents' folder, you can use
SHGetFolderPath()
[^].
Software Zen:
delete this;
-
If you just need the path for the 'My Documents' folder, you can use
SHGetFolderPath()
[^].
Software Zen:
delete this;
Hi! Check this link if you want the current user info http://support.microsoft.com/kb/111544/EN-US/
-
If you just need the path for the 'My Documents' folder, you can use
SHGetFolderPath()
[^].
Software Zen:
delete this;
Great and Thank you, I am trying to get to the GUID folder and it's content. As you know the GUID folders are a little tricky to get access to, so this helps quite abit. Thanks! "Naked we come and bruised we go." - James Douglas Morrison Best Wishes, ez_way
-
Hi! Check this link if you want the current user info http://support.microsoft.com/kb/111544/EN-US/
Great answer that you! This will help alot. Thank you, "Naked we come and bruised we go." - James Douglas Morrison Best Wishes, ez_way
-
BaldwinMartin wrote: How may I enum them? Use RegEnumKey or RegEnumKeyEx BaldwinMartin wrote: How may I find current user? GetUserNameThe GetUserName function retrieves the user name of the current thread. This is the name of the user currently logged onto the system. or you can search For a set of Netowrk CLasses at CP to get a class Related to User Enumeration/other user related activities,But that work in window2000 and above. ----------------------------- "I Think It Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
Thank you very much for the helpful answer. Thanks, Again, "Naked we come and bruised we go." - James Douglas Morrison Best Wishes, ez_way
-
Thank you very much for the helpful answer. Thanks, Again, "Naked we come and bruised we go." - James Douglas Morrison Best Wishes, ez_way
BaldwinMartin wrote: Thank you very much for the helpful answer. Thanks, Again, Thanks for that WonderFul Thanks ----------------------------- "I Think this Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk