Solved

How do I kill off Photo Editor's "Importing... (ProgCtrl)" message when I'm populating an image?

Posted on 2004-04-23
14
332 Views
Last Modified: 2008-03-03
I'm using an Access XP database to store picture file locations, along with a variety of data associated with the picture files.
I use a simple form to browse through my pictures and edit the associated data.
Displaying the pictures on the form is a simple matter:

Private Sub Form_Current()
On Error Resume Next
Me![ImageFrame].Picture = Me![ImagePath]
End Sub

Private Sub ImagePath_AfterUpdate()
On Error Resume Next
Me![ImageFrame].Picture = Me![ImagePath]
End Sub

When I step through the records, Microsoft Photo Editor throws up what appears to be a Progress Bar (ProgCtrl) showing that the image is being imported, ie. "Importing C:\Docs........Pictxxx.jpg", with a "Cancel" button also showing. This is somewhat annoying.

Here's whats really annoying: When I step through the records quickly, the Progress Bar will, in short order, freeze and remain on the screen. This does not affect record navigation, but it does force me to close and restart Access to get rid of the message.

Is there a way to disable/hide this?
0
Comment
Question by:melbot
14 Comments
 
LVL 54

Expert Comment

by:nico5038
ID: 10906562
Did you try:

On Error Resume Next
docmd.setwarnings false
Me![ImageFrame].Picture = Me![ImagePath]
docmd.setwarnings true

Nic;o)
0
 

Author Comment

by:melbot
ID: 10906617
Tried setwarnings false/true, unfortunately it's not a warning that is coming up so that doesn't kill it. Have also tried a registry change involving setting ShowProgressDialog key to "No" in HKLM\Software\Microsoft\Shared Tools\Graphics Filters\Import\JPEG\Options with no success.
0
 
LVL 54

Expert Comment

by:nico5038
ID: 10906755
Hmm, did you try to change the application connected to the .jpg extension to point e.g. to IE instead of the Photoeditor ?
(Open Tools/FolderOptions to change the linked default application)

Nic;o)
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 5

Expert Comment

by:PhillipBurton
ID: 10906788
Worst case, how about uninstalling Microsoft Photo Editor from Office?

Do you actually use MS Photo Editor?

(Having said that, it is good at identifying the date that pictures were taken in Explorer.)
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 10907405
you may wanna check this out

http://www.mvps.org/access/api/api0038.htm
0
 

Author Comment

by:melbot
ID: 10908178
Rockiroads: Thanks, that's where I picked up the tip on changing the ShowProgressDialog in the registry. As I mentioned earlier, I had no success. The subroutine route didn't help either: it appears to only suppress the dialog coming from Access, it doesn't kill off the message originating from Photo Editor.
0
 

Author Comment

by:melbot
ID: 10908219
PhillipBurton: I'm SHOCKED and OUTRAGED that you would suggest uninstalling such a valuable and integral component as Photo Editor! It came with Office XP, so it MUST be good! It ranks right up there with Notepad: it functions (sort of), and it's "free". (As to actually using it: Not really, just for cropping pictures!).
0
 
LVL 54

Expert Comment

by:nico5038
ID: 10908247
Did you try to change the application connected to the .jpg extension to point e.g. to IE instead of the Photoeditor ?

Nic;o)
0
 

Author Comment

by:melbot
ID: 10908252
nico5038 (and PhillipBurton): I've tried using the old Kodak Imaging application. It doesn't throw up unwanted dialog at me, but it has the following disadvantages: it doesn't expose a Zoom option to allow for an automatic resize to the Image object, and it throws vert./horiz. sliders at me for pictures larger than the Image object.
0
 

Author Comment

by:melbot
ID: 10908282
Let me correct my last comment: Kodak Imaging DOES expose a Zoom setting, ie. I can throw a number at it...
This suggests that I can strip off the incoming picture's size and calculate a zoom number to throw back to Kodak Imaging.
0
 

Author Comment

by:melbot
ID: 10956844
Solved it! Instead of changing the HKLM entry as I had tried earlier, I changed the HKCU entry.  Registry change sets ShowProgressDialog key to "No" in HKCU\Software\Microsoft\Shared Tools\Graphics Filters\Import\JPEG\Options. Just for overkill, you can also set the ...\Export\... ShowProgressDialog to "No".
No more message box, no more frozen Progress Bar!
0
 
LVL 54

Expert Comment

by:nico5038
ID: 10975238
OK with me

Nic;o)
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 11015178
Closed, 250 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question