If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Update Image
Hi,
I have 'switchboard' form with an image control that uses a linked image on a shared drive. Every so often we change the image (cos we're pretending to be google) by just overwriting the original file with a new one. The next time the form opens up again the new image is displayed. However since this form never actually closes unless the database closes i've tried to program a timer event to re-draw the image. I've tried .refresh, .requery & .repaint. None of these actually work. only it seems closing and re-opening the form, which is something i'd like to avoid. I know it's trivial but any help would be appreciated. Thanks |
#2
|
|||
|
|||
Update Image
Hmm, sorted it.
just used me!controlname.picture = "path to picture" and it reloads itself "Mat Child" wrote: Hi, I have 'switchboard' form with an image control that uses a linked image on a shared drive. Every so often we change the image (cos we're pretending to be google) by just overwriting the original file with a new one. The next time the form opens up again the new image is displayed. However since this form never actually closes unless the database closes i've tried to program a timer event to re-draw the image. I've tried .refresh, .requery & .repaint. None of these actually work. only it seems closing and re-opening the form, which is something i'd like to avoid. I know it's trivial but any help would be appreciated. Thanks |
Thread Tools | |
Display Modes | |
|
|