Hi there!

I am trying to access all the .exe files of a computer, this is wat i have.

VB Code:
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2.         GetFiles("c:")
  3.     End Sub
  4.     Private Sub GetFiles(ByVal path As String)
  5.         Dim entries() As String = Directory.GetFileSystemEntries(path)
  6.         Dim iLp As Integer
  7.         For iLp = 0 To entries.Length - 1
  8.             If entries(iLp).Substring(entries(iLp).Length - 4) = ".exe" Then
  9.                 ListBox1.Items.Add(entries(iLp) & vbCrLf & (FileVersionInfo.GetVersionInfo(entries(iLp)).CompanyName) & vbCrLf & (FileVersionInfo.GetVersionInfo(entries(iLp)).ProductName) & vbCrLf & (FileVersionInfo.GetVersionInfo(entries(iLp)).ProductVersion))
  10.             End If
  11.             If Directory.Exists(entries(iLp)) Then
  12.                 GetFiles(entries(iLp))
  13.             End If
  14.         Next iLp
  15.     End Sub

how would you access the files of a remote computer. i want to find a fast way of getting all the files into the lastbox. Thanks in advance.