Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Loading and changing a photo

I have named a file path and file location in VB to locate a particular
photo. As the user selects different items from a droplist the file path and
name change. In the change event on that droplist I need to know how to call
the load event for the Image object. So far I have tried:

Image1.Picture = LoadPicture(PictureFileName1) - Where PictureFileName is my
path and file name as well as hard coding to

Image1.Picture = LoadPicture("e:\monthlyreport\Photo1.bmp")

I don't understand the correct syntax to change the picture file.

Please help. Thank you!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Photo in a sheet Alvin Hansen[_2_] Excel Programming 6 May 6th 10 09:19 PM
Insert Photo - help Stevep4 Excel Discussion (Misc queries) 1 January 17th 09 12:59 AM
HOw do I set up a photo database? aggietwins03 Excel Discussion (Misc queries) 0 February 12th 07 07:03 AM
Link to a photo. grupy dyskusyjne Links and Linking in Excel 7 June 2nd 05 08:18 PM
Changing the Name of an Addin and loading worksheets off a network drive MikeCave[_2_] Excel Programming 0 June 4th 04 10:59 AM


All times are GMT +1. The time now is 09:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"