For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > March 2004 > RE: Desktop paths









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: Desktop paths
Björn Holmgren

2004-03-30, 7:30 am

Use the SHGetSpecialFolderLocation API with either CSIDL_DESKTOP or CSIDL_COMMON_DESKTOPDIRECTORY.

See the following example:
http://www.mentalis.org/apilist/30D...F7063A28CD.html

J French

2004-03-30, 8:30 am

On Tue, 30 Mar 2004 02:26:06 -0800, "=?Utf-8?B?S2plbGw=?="
<anonymous@discussions.microsoft.com> wrote:

>Hi
>
>How can I best determine the path to users desktop in different windows versions ??
>
>like Win9x, WinNT, Win2000 and WinXP with different languages , especially how to tell the difference between
>"all users" and the logged on user in Win2000


SHGetSpecialFolderLocation ??
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com