Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-04-23
14
Medium Priority
?
370 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
13 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

782 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