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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update new picture

Status
Not open for further replies.

zolken1

Programmer
Oct 25, 2006
17
US
need a code that will check for the newest picture and display it

so i need label1.caption to equal the newest picture that is added into the folder that is holding the images without having to click on it.

label1.Caption = file1.Path & "\" & file1.filename

Form1.Image1.Picture = LoadPicture(label1.Caption)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top