Access network file.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to be able to access a network drive/file from my device. I've tried
using the OpenNetCF's Network.MapDrive procedure, but it returns 53, which is
an invalid network path error, eventhough I can access this path using the
either Internet Explorer or the Run command. I'm using Windows CE v. 5. Any
ideas why this procedure returns 53? Or is there a better method to use?

Thanks
 
Imports OpenNETCF.Net.Network at top of form.

MapDrive(IntPtr.Zero, "\\servername\foldername\", "REM", "username",
"password")
 
Back
Top