Giordano Bruno
Well-known Member
- Joined
- Jan 7, 2007
- Messages
- 1,356
I am transferring and image to a user form, "frmAlt". The code I'm using is:
CurrentChart.Export Filename:=CurrentFileName, FilterName:="GIF"
frmAlt.Image1.Picture = LoadPicture(CurrentFileName)
Sometimes this takes between 0.15 and 0.2 seconds, but frequntly it takes between 3 and 4 seconds, or more.
Can anyone think what could be causing the delay or what might be a better way of getting the image on my form?
CurrentChart.Export Filename:=CurrentFileName, FilterName:="GIF"
frmAlt.Image1.Picture = LoadPicture(CurrentFileName)
Sometimes this takes between 0.15 and 0.2 seconds, but frequntly it takes between 3 and 4 seconds, or more.
Can anyone think what could be causing the delay or what might be a better way of getting the image on my form?