Solved

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

Posted on 2004-04-23
14
307 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
 
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
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.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

705 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now