• Image Control Annoyance (2003 SP2)

    Author
    Topic
    #439979

    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.

    Viewing 0 reply threads
    Author
    Replies
    • #1052758

      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.

      • #1052908

        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.

    Viewing 0 reply threads
    Reply To: Image Control Annoyance (2003 SP2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: