Results 1 to 2 of 2
  1. #1
    cdscivic is offline Resident Troll
    Windows XP Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    52

    Picture from Url

    As the title indicates, I am looking to insert a picture from an INTRAnet url in to a report.

    The concept is a form that submits a brief congrats to a specific employee. My plan was to construct the URL of the picture using the windows login that was submitted on the form and the static portion of the URL. store it on the table and reference it in the picture control source. The problem is, I cannot get it to display unless the file is local. Ive searched and googled, and it looks like that it HAS to be local. I was wondering 2 things here:

    1. Is there a workaround to use the non local file?
    2. If no workaround, is there some easy code I can use to grab the file after I construct the url and save it locally?



    Sigh. Thanks for any help!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    Try loading the photo on the form.OnCurrent event,
    loadPicture txtBox

    the txtBox has the path to the file. It works with UNC paths,so it should work with a URL path.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-26-2014, 03:45 PM
  2. Attachment Picture
    By cggriggs in forum Forms
    Replies: 0
    Last Post: 06-14-2011, 10:17 AM
  3. Rotate a Picture
    By ksmith in forum Access
    Replies: 4
    Last Post: 08-16-2010, 01:55 PM
  4. Opening a picture
    By dada in forum Programming
    Replies: 1
    Last Post: 08-15-2010, 09:33 PM
  5. Adding a Picture
    By MFS in forum Programming
    Replies: 4
    Last Post: 01-18-2010, 07:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums