Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Feb 2001
    Location
    Richland, Washington, USA
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image Control Annoyance (2003 SP2)

    I use an image control (not an unbound or bound object frame) to display an image on a single (not continuous) form. I update the Picture property of the control in the form's Form_Current() event using the filename that is stored as a text field in the record source for the form.

    This all works fine.

    The annoyance is the little "Import progress" dialog (showing the image filename and a progress bar) that appears momentarily while the control is refreshed when moving from record to record. Question #1: Is there any way to disable this dialog (make it go away)?

    Also, occasionally it stays on the screen even after the control is refreshed (this seems to happen when I move rapidly from record to record), When this happens, the only way I've figured out to get it off the screen is to exit Access completely and restart. Rather draconian, I must say... Question #2: Any ideas what's causing this and how to avoid it (besides just moving more slowly between records)?

    (If there's a solution to question #1, then question #2 is moot.)

    Thanks.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Image Control Annoyance (2003 SP2)

    You can change some registry entries to suppress the dialog.
    Start RegEdit, then locate the key

    HKEY_CURRENT_USERSoftwareMicrosoft Shared ToolsGraphics FiltersImportJPEGOptions

    Change the value of the ShowProgressDialog entry to No (exactly like that, not no or NO)
    If the entry doesn't exist, create a new string value named ShowProgressDialog and set its value to No

    Repeat for other graphics types you plan to use.

    Do the same for

    HKEY_LOCAL_MACHINESoftwareMicrosoft Shared ToolsGraphics FiltersImportJPEGOptions

    etc.

  3. #3
    4 Star Lounger
    Join Date
    Feb 2001
    Location
    Richland, Washington, USA
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Image Control Annoyance (2003 SP2)

    Thanks, Hans. That should take care of it. Perfectly.

    Since my original post, I've noticed that this progress dialog sometimes remains on screen even when I'm not moving quickly between records (it seems to also occur when the form being updated does not have the focus). More disturbingly, when it is left on the screen and I quit Access (the only way I've figured out to get rid of it), I get a "Microsoft Office Access has encountered a problem and needs to close (yadda, yadda, yadda)..." error. Avoiding the dialog entirely with the registry tweak will hopefully prevent (the need for) this less-than-graceful exit from Access.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •