LVCVA Posted February 9, 2008 Posted February 9, 2008 When I use the following code: #RequireAdmin MsgBox(4096, "Test", @MyDocumentsDir, 10) the body of the message box is blank. It works when run on XP but not on Vista. What am I missing?
Mast3rpyr0 Posted February 9, 2008 Posted February 9, 2008 are you logged in as admin? My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here!
Draygoes Posted February 9, 2008 Posted February 9, 2008 You do not need to be admin to request information about the current user. This is not a problem with your code, this is a problem with the machine that is running vista. Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.
PcExpert Posted February 9, 2008 Posted February 9, 2008 (edited) Just tested your code, and it works for me. I get the full path to the mydocumentsdir on Vista. Edited February 9, 2008 by PcExpert
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now