Is it possible to get the image size of jpg images using vb6? In the following code I get the names of the images in my folder. I would like to ad a routine that would also get the image size for each image. I wasn't sure if i could even do this with this code. Any help appreciated.

VB Code:
  1. Dim nReplace As String
  2.     Dim folderContent As String
  3.  
  4.     For Each fldr In myFolders
  5.         Set myFiles = fldr.Files
  6.         folderContent = vbNullString
  7.         i = 0
  8.         For Each f In myFiles
  9.             If VBA.Right$(f.Name, 4) = ".jpg" Or VBA.Right$(f.Name, 4) = ".JPG" Then
  10.                 'append file names
  11.                 folderContent = (folderContent & "&pic" & i & "=" & f.Name)
  12.                 i = i + 1
  13.             End If
  14.         Next f
  15.         'prepend file count
  16.         nReplace = "&Rc=" & i & folderContent
  17.         Set ts = fso.OpenTextFile(App.Path & "\image_txt_files\" & fldr.Name & ".txt", ForWriting, True, TristateFalse)
  18.         ts.Write (nReplace)
  19.         ts.Close    'close each file, not just the last one
  20.     Next fldr