VB Code:
  1. Private Sub Picture1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
  2. If Data.GetFormat(vbCFBitmap) Then Picture1.Picture = LoadPicture(Data.Files(1))
  3. End Sub

now it should display the file in Picture1.Picture but it doesn't what is up??