PC Review


Reply
Thread Tools Rate Thread

How do I get the current User's path to Desktop

 
 
Christer
Guest
Posts: n/a
 
      11th Feb 2010
I need to find out the current user's path to his/her Desktop and use it
within an Access module. Is this possible? We use Windows Vista and Office
2007.

I hope sombody can give me a hint.
 
Reply With Quote
 
 
 
 
Stefan Hoffmann
Guest
Posts: n/a
 
      11th Feb 2010
hi Christer,

On 11.02.2010 21:45, Christer wrote:
> I need to find out the current user's path to his/her Desktop and use it
> within an Access module. Is this possible? We use Windows Vista and Office
> 2007.

Use either the special folders api

http://msdn.microsoft.com/en-us/libr...ice.10%29.aspx

or

Environ("%DESKTOP%")

Caveat: The environment approach can be easily redirected to any folder
by the user.


mfG
--> stefan <--
 
Reply With Quote
 
Daniel Pineault
Guest
Posts: n/a
 
      11th Feb 2010
The following link should be what you are looking for.

http://www.mvps.org/access/api/api0054.htm
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.



"Christer" wrote:

> I need to find out the current user's path to his/her Desktop and use it
> within an Access module. Is this possible? We use Windows Vista and Office
> 2007.
>
> I hope sombody can give me a hint.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop-without logging current user off =?Utf-8?B?cGVuZHJhZ29uX2Zhbg==?= Windows XP Work Remotely 5 12th Apr 2011 11:34 AM
How to path to user's desktop 1scant Microsoft Excel Programming 2 16th Jun 2006 03:52 PM
Find current user logged into the desktop Greg Long Microsoft Windows 2000 Registry Archive 6 19th Feb 2004 07:40 PM
How do I keep my current desktop, when I add user to the domain ? =?Utf-8?B?eG1scGFyc2Vy?= Microsoft Windows 2000 Active Directory 10 30th Jan 2004 03:32 AM
Getting AD Path of Current User Andy D Microsoft Dot NET Framework 1 1st Sep 2003 08:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:12 PM.