A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Update Image



 
 
Thread Tools Display Modes
  #1  
Old October 1st, 2009, 03:26 PM posted to microsoft.public.access.forms
Mat Child
external usenet poster
 
Posts: 14
Default 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  
Old October 2nd, 2009, 07:01 PM posted to microsoft.public.access.forms
Mat Child
external usenet poster
 
Posts: 14
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.