File Size and Embedding Jpegs

  • Thread starter Thread starter XMan
  • Start date Start date
X

XMan

I have one company banner jpeg file and it's being used in 20 forms.
Right out it's embedded within the form and file size is huge.
I know I can do a linked file but I would like to have only 1 file for the
entire application.
Is there another way in having the jpeg embedded and appear in all forms
without suffering huge file size?
TIA.
 
Just insert the Jpep Image on one single form that you keep open and
hidden the entire time your application is running. THen in the Load
event of any form you want to reuse the Jpeg do something like:

Me.ThisFormsImageControl.PictureData =
Forms!NameOFtheHiddenForm.ImageControl.PictureData

Obviously replace "ImageCOntrol" witht he actual names of your
respective Image controls.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top