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

Changing image works, but first one needs a hard-coded path

Status
Not open for further replies.

DaOtH

Technical User
Jan 22, 2002
114
SE
All,

On one of my forms i have put an image.
Every 5 minutes a random picture name is extracted from a table and the picture is replaced by changing the .picture property.

For all the pictures i can extract the correct full path based on the filename of the database itself.

Problem however is the first picture. In form design i need to select the picture to put in the picture box and this needs to be done with full path.

Is there a way to overcome this, even by having an empty picture box in the form design. Then i can update the .picture property as soon as the form is opened.

Thanxs
DaOtH "In three words I can sum up everything I've learned about life: it goes on."
- Robert Frost 1874-1963
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top