Hello JurkMonkey,
I have to search the file but i have all the code to do that in place. i am having problem just to connect to the server and accessing the c drive. thanks again
Hello JurkMonkey,
I have to acess only one server which is on the same network as ours. It is LAN and I have a user name and password. The file is located in the C drive. thank you
hi dseaver
This is what have in VB so far:
dim fPath as string = "\\server\folder\mmddyy.txt"
Dim fStream As FileStream = New FileStream(fPath, FileMode.Open, FileAccess.Read, FileShare.Read)
dim fr as new streamReader(fStream)
while not fr.EndOfStream
dim lineText as string = fr.Read...
I have to search for a text file located on C Drive of a different server and read the text file for lines of data
where there is a "File Error" message and copy the line.
Can some body help me with the code? Thank you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.