Yuvatha Posted March 18, 2014 Author Report Posted March 18, 2014 Sharing properties lo Read/Write add chyyi aithe... ledha Response.WriteFile(path) idi work avvadu actually i am not writing anything to the file in ntw folder..just reading kosame...
Osama Bin Gandhi Posted March 18, 2014 Report Posted March 18, 2014 try this Dim myStream As IO.FileStream = IO.File.Open("\\myserver\myshare\myfile", IO.FileMode.Open) Dim myBytes As Byte()myStream.Read(myBytes, 0, numberOfBytesToRead) actually i am not writing anything to the file in ntw folder..just reading kosame...
Yuvatha Posted March 18, 2014 Author Report Posted March 18, 2014 result = WNetAddConnection2(nr, strPassword, strUsername, 0) result = 85 vastundi bhayya...any idea what it means?
Recommended Posts