Fire Snake, thanks for the repy
The following is the code you gave me, I have a question about it
My erro box tells me that:Code:Public Class Form1 Private Sub BtBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtBrowse.Click Dim DirInfo As New DirectoryInfo("C;\") Dim files() As FileInfo = DirInfo.GetFiles("*.*") For Each file As FileInfo In files ListBox1.Items.Add(file.Name & Enviroment.NewLine()) Next End Sub End Class
Type 'DirectoryInfo' is not defined
Type 'FileInfo' is not defined
Type 'FileIno' is not defined
Please understand that I am very new to this. I am using Visual Basic 2008 if this makes a difference between VB.net as you identivied the version in your post reply.
I am not sure what I am missing or what I am doing wrong.
Thanks




Reply With Quote