vb.net - Open a file from a remote network share -
i trying open file server
i have
dim attachedfilepath string = "\\myserver\myshare\test.txt" file.open(attachedfilepath, filemode.open, fileaccess.read, fileshare.read)
this not open file.
however, if change path local there no issue.
dim attachedfilepath string = "c:\...\test.txt"
so, there way open file remote storage?
file.open reading contents of file. use process.start launch default application file type
dim path = "\\myserver\myshare\test.txt" system.diagnostics.process.start(path)
Comments
Post a Comment