coutts
07-05-2005, 12:52 PM
Hi
Can anyone tell me how to programmatically "know" the name of the currently logged on user in Win XP and/or any of the other Windows versions. Maybe I should say why I want to do this. The project is a delayed startup program to stop all the run programs from starting right away but to delay them so the user can get going and start working. Local Machine entries are fine - but I need to work with the Run entries for the current user.
Thanks
Robert
Can anyone tell me how to programmatically "know" the name of the currently logged on user in Win XP and/or any of the other Windows versions. Maybe I should say why I want to do this. The project is a delayed startup program to stop all the run programs from starting right away but to delay them so the user can get going and start working. Local Machine entries are fine - but I need to work with the Run entries for the current user.
Thanks
Robert