I desided not to use that code, instead I just did this

Code:
Private Sub loadBitImage()
    DoEvents
    Dim myPicture As New StdPicture
    Set myPicture = LoadPicture(appPath & "1.tmp")
    
    picMain.PaintPicture myPicture, 1, 1
    

    
End Sub
For all ya ppl who like examples