I've attached a Bmp2Jpeg DLL which I use in many projects to convert images between bmp and jpg. Works great!

To use it:

VB Code:
  1. Private Declare Function BmpToJpeg Lib "Bmp2Jpeg.dll" _
  2.     (ByVal bmpFileName As String, ByVal JpegFilename As String, _
  3.      ByVal CompressQuality As Integer) As Integer
  4.  
  5. 'To convert an image
  6. Call BmpToJpeg(strBmpFileName, strJpgFileName, 100) 'the last parameter is the picture quality (compression)