Suppressing Import Message

kaspi

Registered User.
Local time
Today, 20:28
Joined
Nov 22, 2000
Messages
60
Hi

I am changing icons on the switchboard on the fly. However, every time the icons or the graphics being loaded the message [Importing "File Path and name"] comes up.

I am storing the icon path and name in a table and then changing the picture property of a control with the new path.

It works fine but this annoying message flashes for half a second every time when new graphics is being loaded.

I tried docmd.echo and application.echo but it does not work.

Thanks

Kaspi
 
If you don't have many images (& it's not dynamic), try putting them all on the switchboard and change visible properties.

Otherwise, try the docmd.setwarnings method before & after import.
on = -1,True
off = 0,False
 
Hi Norm
Thanks for the idea. Unfortunately, the images are dynamic so I cannot switch on and off the visibility.
I tried SetWornings property but it does not work.
Kaspi
 

Users who are viewing this thread

Back
Top Bottom