Results 1 to 3 of 3

Thread: [RESOLVED] How can I find the Documents folder?

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2022
    Posts
    5

    Resolved [RESOLVED] How can I find the Documents folder?

    I am needing my program to find the Documents folder, check to see if a couple of sub folders exist, and, if not, create them. The last two parts of that I have seen information on, but I haven't found anything on determining the path for the Documents folder.

    Thank you in advance.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How can I find the Documents folder?

    My.Computer.FileSystem.SpecialDirectories is VB-specific and Environment.GetFolderPath is available to all .NET languages.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2022
    Posts
    5

    Re: How can I find the Documents folder?

    Exactly what I needed! Thank you very much!

Tags for this Thread

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