Retrieve text file in VB.Net
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
Hi, I have a question. How do you retrieve data from a textfile and have it displayed in VB. Net? thanks for your help.
-
you can use IO.StreamReader(Server.MapPath("sms.txt")) to read ur text file. or file open dialog box to open a file. raj
Server.MapPath is only for a web environment. For a windows forms app you would need to know the whole path. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour