CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2003
    Location
    Chicago, IL.
    Posts
    1

    Finding Path to User's Desktop

    Hi

    i need to write a file to the user's desktop (i'm assuming if i write an icon to the desktop it will appear once the desktop is redrawn)....what is the easiest way i can find the user's desktop path.... this needs to work with Win 95, 98 and Win2K....i'm compiling in the old Borland C++ version 5.02?

  2. #2
    Join Date
    Aug 2002
    Location
    United States
    Posts
    729
    look at this registry key. i dont know that it's the 100% proper one but it holds the correct path on both my xp and 98 machines....


    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GrpConv\MapGroups]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured