I have folder in c path. i want to read the file name using vb.net.
C folder files as follows
AFF_Files
EFA_Files
i want to read the AFF and EFA name.
For that how can i do in vb.net.
Regards,
Narasiman P.
C folder files as follows
AFF_Files
EFA_Files
i want to read the AFF and EFA name.
For that how can i do in vb.net.
Regards,
Narasiman P.
Joginder BangerPosted Nov 14, 2014, 2:50 AM
please explain what you want. I can't get a proper what's you try. ok i can trying some help. if you are using the web based application then use the
namespace are required
Imports System
Imports System.IO
Try
Using sr As New StreamReader("path of your file")
Dim line As String line = sr.ReadToEnd()
Response.write( line);
End Using
Catch e
As Exception Response.write(e.Message)
End Try