M
M. Zeeshan Mustafa
Abdullah,
AFAIK FileOpen is from Microsoft.VisualBasic namespace and it does
not support a filepath which is a UNC share.
You can use System.IO.StreamReader which supports unc shares.
what exception does it throw? I think this is because of same problem
because F: is _actually_ \\16.12.4.70\NOVA\ESI\SCAN.TXT
--
Hope this helps,
Zeeshan Mustafa, MCSD
AFAIK FileOpen is from Microsoft.VisualBasic namespace and it does
not support a filepath which is a UNC share.
You can use System.IO.StreamReader which supports unc shares.
Also I tried with a mapped drive and named it "F" and when I do
F:\NOVA\ESI\SCAN.TXT it doesn't work either !
what exception does it throw? I think this is because of same problem
because F: is _actually_ \\16.12.4.70\NOVA\ESI\SCAN.TXT
--
Hope this helps,
Zeeshan Mustafa, MCSD
and am trying to do the following.Abdullah Haroon Imam said:Hi,
I have developed a ASP.NET web application with VB.NET using VS.NET 2003
OpenAccess.Read, OpenShare.Shared)FileOpen(fn1, "\\16.12.4.70\NOVA\ESI\SCAN.TXT", OpenMode.Input,
F:\NOVA\ESI\SCAN.TXT it doesn't work either !and it's not working and I get the following error
Run-time exception thrown : System.IO.DirectoryNotFoundException - Could not find
a part of the path "C:\WINDOWS\system32\16.12.4.70\NOVA\ESI\SCAN.TXT".
Why is it looking under C:\WINDOWS\system32\ ???
Also I tried with a mapped drive and named it "F" and when I do