Results 1 to 6 of 6

Thread: [RESOLVED] ProgramData Folder (SpecialDirectories)

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2011
    Posts
    15

    [RESOLVED] ProgramData Folder (SpecialDirectories)

    How can I write ProgramData path?

    Example:
    Code:
    TextBox1.Text = My.Computer.FileSystem.SpecialDirectories.AllUsersApplicationData
    Whit this code I'm getting "C:\ProgramData\Microsoft\ProgramData\1.0.0.0" (Win7), but I need something like this:
    Vista/7 = C:\ProgramData
    XP = C:\Documents and Settings\All Users\Application Data
    Last edited by rossi_4656; Oct 24th, 2011 at 12:21 PM.

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