Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opening TIF files in Web Browser Control on a Form

190 views
Skip to first unread message

lmalenfant

unread,
Mar 18, 2016, 2:09:05 PM3/18/16
to
I am able to open PDF and JPG files using a web browser control on a form. The control source is pulling a filepath from a query.

Does anyone have suggestions on how to get the web browser control to also open TIF files? Is is even possible and why would it open JPG and not TIF?

Any help would be appreciated.

Patrick Finucane

unread,
Mar 18, 2016, 3:21:13 PM3/18/16
to
Here's what one person said regarding a similar situation:
I am going to be a pain here. I have had a similar problem with an application I have written but I feel dreadful and the minute and I'm going to crawl into bed but before I go I thought I would give you my learnings. I found that some computers on site were not capable of showing .tiff images through access but could when double clicked from Windows Explorer (we use scanners in much the same way as you are and our Xerox units only do tif and pdf too). In the end it turned out that the .tif file extension type was not associated with any particular viewer. When you double click the file Windows uses one method of opening the file, and then when it can't open the file it goes looking for a suitable viewer. Access wasn't doing this (it would claim that the file couldn't be found) and by associating the .tiff file with the correct viewing application it would open it. I know this sounds like rubbish, it did to me when I first found it but it is a simple thing to try and even if it doesn't work it is something knocked off of the list.

The person with the issue responded:
Well, I think I found the Solution:
Thanks to Freaker's comments, I began searching for some settings. I found under File/Options/Current Database -
"Picture Property Storage Format". Mine was initially set to "Convert all picture data to bitmaps (compatible with Access 2003 and earlier)". I then changed to "Preserve Source Image Format (smaller file size)" and retested the Form.
Voila, the TIFs would now display.
Ocan't promise this is the best way to fix the problem, but it does appear to have solved my issues.
Thanks everyone for the feedback.

lmalenfant

unread,
Mar 19, 2016, 9:46:42 AM3/19/16
to
Thanks for that, but it doesn't seem to be the issue. My setting is already set to "Preserve Source Image Format". I can automatically view tif in an Image Control on the form but would prefer to use the Web Browser Control so that both PDF and tiff can be used in my application. The PDF's show up with all of the adobe tools right on the form.

Is there somewhere to set which file extensions will open in the "Web Browser Control" on a form? Jpg and PDF open no problem. What happens with the tif file is it asks if you want to open, save etc. If you say yes to open then it opens it outside of Access in whatever program is set to open tif files instead of just viewing it within the Web Browser Control on the form.



0 new messages