Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dynamiclally change Image properties using HTTP

Posted on 2011-03-16
1
Medium Priority
?
204 Views
Last Modified: 2012-08-14
I have forms and reports where I dynamically change the images. Here is an example of what i'm doing.

strPath = "L:\PiictureFolder\Employee" & employeeid & ".jpg"
image104.Picture = strPath

Is there any way to make this work with images on the internet.  For example
    strPath = "http://myWebSite/PictureFolder/Employee" & employeeid & ".jpg"
0
Comment
Question by:BradleyCleveland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 24

Accepted Solution

by:
Bitsqueezer earned 2000 total points
ID: 35154313
Hi,

maybe this is a solution for you:

Getting image.picture from the internet

The author of the solution describes a Windows API method ("URLDownloadToFile") to load a picture from Internet to a temp file and then link this temp file to the form picture.

Cheers,

Christian
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question