hi all
im trying to load my picture up and resize the picture so that it is not bigger than the screen i have tryed a couple of things with no look any help on this would be great

Code:
With Me
        .ScaleMode = vbPixels
    End With
    
    'Set up picturebox
    With pic
        .ScaleMode = vbPixels
        .AutoRedraw = True
        .AutoSize = True
        .DrawMode = vbInvert
        .DrawStyle = vbDashDot

       
        .MousePointer = vbCrosshair
        .Picture = LoadPicture("C:\temp.jpg")
    End With