Solved

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

Posted on 2004-04-23
14
355 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
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.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

628 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