none
DirectoyExists RRS feed

  • Question

  • I use the following code to check if a directory exsists. works fine but on one clients machine it returns False instead of true.

    I have a full tust click once application. Can anyone help me with this ?

    If My.Computer.FileSystem.DirectoryExists(folderpath) = False Then

    Sunday, May 13, 2007 6:04 AM

All replies

  • Code Snippet

    If My.Computer.FileSystem.DirectoryExists(folderpath) = False Then

          My.Computer.FileSystem.CreateDirectory(folderpath)

    End If

     

    Sunday, May 13, 2007 6:33 AM
  • Yes I have created the dir and successfully written files to it but then when the apllication restarts it returns false.for checking if that dir exsist.
    Sunday, May 13, 2007 2:20 PM