CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Location
    Ukraine
    Posts
    228

    Question How get the system directory path as "My Documents"?

    Hi!

    There is a question:
    How get the system directory path as "My Documents", "Windows", "Applications Data", "Program Files", etc. ?

    Thanks,
    Alex.

  2. #2
    Join Date
    Nov 2004
    Location
    Poland
    Posts
    1,355

    Re: How get the system directory path as "My Documents"?

    See Environment class.

    for example:
    Code:
    strPath=Environment.GetFolderPath(Environment.SpecialFolder.System));
    Hope it helps

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