I am using VB 6
I need a program to get file version information of all files in a specified folder and print each file version on a seperate line...

I have a pre-written API to get all the version info data.
Then using the pre-written module the program does this:

VB Code:
  1. ' Display version information for the file.
  2. Private Sub cmdGetInfo_Click()
  3. Dim version_information As VersionInformationType
  4. Dim txt As String
  5.  
  6.     txtResults.Text = ""
  7.  
  8.     ' Get the version information.
  9.     version_information = VersionInformation(txtFileName.Text)
  10.  
  11.     ' Display the version information.
  12.     With version_information
  13.         txt = .FileVersion & vbCrLf
  14.     End With
  15.  
  16.     txtResults.Text = txt
  17. End Sub
  18. Private Sub Form_Load()
  19. Dim file_name As String
  20.  
  21.     file_name = App.Path
  22.     If Right$(file_name, 1) <> "\" Then file_name = file_name & "\"
  23.     txtFileName.Text = file_name & "Project1.exe"
  24. End Sub

It works great but only gets the file info version of one specified file.
What is the code to go through all the files in a folder and print each file version on a seperate line?