mod_Picture.zip
If you want to use other files than BMP (e.g. PNG or ICO etc) you can import this module to your database.
In the callback function use the custom function LoadImage from this module instead of the built-in function LoadPicture.
In the callback function you can use something like the following code so you don't have to worry about the image format.
Code:
If Right(strFileName, 4) = ".ico" Or Right(strFileName, 4) = ".png" Then
'use LoadImage for PNG and ICO files
Set Image = LoadImage(strFileName)
Else
'use LoadPicture for other files like BMP, GIF etc
Set Image = LoadPicture(strFileName)
End If