Can somebody help me with the code to read file names from a folder?

curretnly i'm using the below code.

Dim files() As String
files = System.IO.Directory.GetFiles("c:\myfolder")

this is not working please help me.

Please share your answer with others, so other members can learn from you friend :)

Dim files() As String
files=System.IO.Directory.GetFiles("myfolder",*.*)

Welcome balarajenra.

If you want to ask question, start your own thread. Please do not resurrect old or solved thread.

Thread Closed.