Solved

Dynamiclally change Image properties using HTTP

Posted on 2011-03-16
1
200 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 500 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

751 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