Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Vancouver, Br. Columbia, Canada
    Posts
    632
    Thanks
    0
    Thanked 0 Times in 0 Posts

    specify source file for image control (PPT 97 (User form))

    Given a textbox on a userform that contains the valid path to a JPG file, how can I display that file in an Image control? When I set the Picture property of the control to the contents of the textbox, I get an error message. Yet I can browse thru the IDE to the same file, and assign it manually to the image control.

    Thx.
    --------------------------------------------------
    Jack MacDonald
    Vancouver, Canada

  2. #2
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: specify source file for image control (PPT 97 (User form))

    Image1.Picture = LoadPicture(Text1.Text)
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •