Bmp Doesn't Display

mithani

Registered User.
Local time
Today, 16:44
Joined
May 11, 2007
Messages
291
HI mates,

Trying to display bmp but can't figure it out. See attached screenshot. Just showing file name and something else.

Can anyone please help me?

Thanks

mithani
 

Attachments

  • BMP.JPG
    BMP.JPG
    24.3 KB · Views: 121
Simple Software Solutions

Add a image control to your form and in the Picture Property set the path and file name there

Me.Image.Picture = "C:\Images\MyBitMap.bmp"

Then use the Stretch option for the image

CodeMaster::cool:
 
Code:
Private Sub Form_Current()
Dim strPathPhoto As String
    'file drawing to place in root directory
    'strPathPhoto - full way to drawing
    'Photo - image control
    strPathPhoto = CurrentProject.Path & "\Photo_1.jpg"
    If Dir(strPathPhoto) <> "" Then
        Photo.Picture = strPathPhoto
    Else
       Photo.Picture = ""
    End If
End Sub
 

Users who are viewing this thread

Back
Top Bottom