Nitrous270
Technical User
Well i've looked all over these forums and couldn't find a definate answer to the problem of hiding the "Importing ..." Image message box when displaying images on a form so I thought I'd post what found and did.
First of all I searched the web and found this thread on another forum.
and from there there is a link
You can read for yourself their suggestions but as for me I used neither. I had no luck with the registry and the other solution below seemed easier to try before creating the timed event.
Anyway what I did was change my ImageFrame box to an Active X control, Microsoft Forms 2.0 Image. It can be found by going to the list of "More Controls" on the "Toolbox".
If you already have some code you will need to make a few modifications.
Me![ImageFrame].Picture = Me![ImagePath]
Changes to ...
Me![ImageFrame].Picture = LoadPicture(Me![ImagePath])
If you do some sort of file path checking such as ...
If Me![ImageFrame].Picture <> strImagePath Then
You will need to change that to something like ...
If IsNull(LoadPicture(Me![ImagePath])) Then
i.e LoadPicture returns a Null if the file name no longer exists, its entered incorrectly in the table, or ect ect.
Sorry if its a bit wordy but I hope this helps someone else.
Nitrous270
First of all I searched the web and found this thread on another forum.
and from there there is a link
You can read for yourself their suggestions but as for me I used neither. I had no luck with the registry and the other solution below seemed easier to try before creating the timed event.
Anyway what I did was change my ImageFrame box to an Active X control, Microsoft Forms 2.0 Image. It can be found by going to the list of "More Controls" on the "Toolbox".
If you already have some code you will need to make a few modifications.
Me![ImageFrame].Picture = Me![ImagePath]
Changes to ...
Me![ImageFrame].Picture = LoadPicture(Me![ImagePath])
If you do some sort of file path checking such as ...
If Me![ImageFrame].Picture <> strImagePath Then
You will need to change that to something like ...
If IsNull(LoadPicture(Me![ImagePath])) Then
i.e LoadPicture returns a Null if the file name no longer exists, its entered incorrectly in the table, or ect ect.
Sorry if its a bit wordy but I hope this helps someone else.
Nitrous270