Question : OLE control not displaying .jpg

I have an OLE control on my form that I can find an employee photo and associate it to their record (creates a link and displays their photo).  Problem is, it will only display .bmp photos - when I try to add a .jpg instead the OLE control just remains blank white (see screenshot).  I don't get any error, it opens the dialog box to browse to find file, I press OK and nothing happens (but it does work for .bmp files).

Does a line of code have to be added to allow an OLE to display more than .bmp or is there  a property setting that needs to change?

Here is the code under the "Add" button.

Private Sub btn_add_Click()
  Dim fd As FileDialog
 
  Set fd = FileDialog(msoFileDialogFilePicker)
 
    With fd
      .AllowMultiSelect = False
      .Filters.Clear
      .Filters.Add "All Files", "*.*"
       If .Show Then
        olePhoto.SourceDoc = .SelectedItems(1)
        olePhoto.Action = acOLECreateLink
      End If
    End With

End Sub
Attachments:
 
OLE control on my form
OLE control on my form
 

Answer : OLE control not displaying .jpg

In the SBS Native Tools console drill into the Computer (Local) console down to the Windows Logs node. In there you will find a custom filter already created for Administrator Events.

That should show you any critical events the server has been experiencing.

Philip
Random Solutions  
 
programming4us programming4us