I have some very simple (and I DO mean very simple) VB.NET code. Build to c:\ drive works OK but copying the exe to a mapped network drive always returns that the file is not found.
--------------------------
Imports System.IO
Public Class fCAU
Private Sub fCAU_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If File.Exists("c:\a.txt") Then
MsgBox("c:\a.txt found")
Else
MsgBox("c:\a.txt not found")
End If
Me.Close()
End Sub
End Class
I have had a 'fiddle' with the security settings but have hit on nothing that has made a difference.
Any clues, anyone?
--------------------------
Imports System.IO
Public Class fCAU
Private Sub fCAU_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If File.Exists("c:\a.txt") Then
MsgBox("c:\a.txt found")
Else
MsgBox("c:\a.txt not found")
End If
Me.Close()
End Sub
End Class
I have had a 'fiddle' with the security settings but have hit on nothing that has made a difference.
Any clues, anyone?