SimonKravis
asked on
How can i show file thumbnails on an Access form
I want to display file thumbnail metdata on an Access form. I found some code for extracting and displaying the data for VB6 at http://www.vbaccelerator.com/home/VB/Code/Libraries/Shell_Projects/Thumbnail_Extraction/article.asp but when I port it into VBA I have problems transferring the picture data to a VBA control. The pcMemDC class from which the picture can be obtained has the property Itype IPicture but when I reference this property in VBA a compile error "Method or data member not found" appear even though the property name appears in a drop-down after I type the . after the class instance name.
A second problem is how to display the picture returned by pcMemDC - in VB6 this can be assigned to a PictureBox control using
Set PictureBox.Picture = c.Picture
Where c is an instance of pcMemDC
The VBA Image control has a picture property but the picture type may not be the same.
Any ideas on how to progress would be much appreciated.
A second problem is how to display the picture returned by pcMemDC - in VB6 this can be assigned to a PictureBox control using
Set PictureBox.Picture = c.Picture
Where c is an instance of pcMemDC
The VBA Image control has a picture property but the picture type may not be the same.
Any ideas on how to progress would be much appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER