Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Graphic quicker

Status
Not open for further replies.

aw23

Programmer
Nov 26, 2003
544
IL
I have a folder on every users local pc with 190 small bmp. They are very small flags representing each country. I have a database with the name of each flag. When I load a client, I want the flag in that country to load. It currently works fine. I have an an image control on the form and the path stored. Then I concatinate the name from the database and make it visible.
path = "C:\Flags\" & FindFlag(var)

Me!flag.Visible = True
Me!flag.Picture = path


The only problem is that it is slow. Is there any way to speed it up? Would gif or jpg be faster?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top