dcsimg
Results 1 to 2 of 2

Thread: Exception when calling My.Computer.FileSystem.SpecialDirectories.ProgramFiles

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2015
    Posts
    70

    Exception when calling My.Computer.FileSystem.SpecialDirectories.ProgramFiles

    When calling My.Computer.FileSystem.SpecialDirectories.ProgramFiles on my client's computer.
    I got an exception: Could not find special directory 'Program Files'
    I've searched on Google but no result.
    Anyone know why it happens and how to fix this issue?

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    102,754

    Re: Exception when calling My.Computer.FileSystem.SpecialDirectories.ProgramFiles

    I wonder whether their machine is locked down in such a way that that folder is inaccessible to that user. Can they see that folder in Windows Explorer?

    What exactly are you using that path for anyway? There may be better options.

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width