pkirklewski
New member
- Local time
- Today, 03:16
- Joined
- Apr 5, 2011
- Messages
- 1
Hi there
I have a form on which I need to display some *.tif images from a table.
Unfortunately the Image control does not support the format. After extensive research i have figured out that I need to embed the Windows Image and Fax Viewer by using the Preview 1.0 Type Library. I have referenced the library in the VBA Editor > Tools > References. Then I did this:
Preview1.ShowFile "C:\db_Images\Acustic\Autozorb II - btm 1kx 03826.jpg", 1
But I'm getting an error: Object required.
I understand there is no such object as Preview1 on my form. How do I insert it please ?
I have a form on which I need to display some *.tif images from a table.
Unfortunately the Image control does not support the format. After extensive research i have figured out that I need to embed the Windows Image and Fax Viewer by using the Preview 1.0 Type Library. I have referenced the library in the VBA Editor > Tools > References. Then I did this:
Preview1.ShowFile "C:\db_Images\Acustic\Autozorb II - btm 1kx 03826.jpg", 1
But I'm getting an error: Object required.
I understand there is no such object as Preview1 on my form. How do I insert it please ?