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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top