Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dynamiclally change Image properties using HTTP

Posted on 2011-03-16
1
Medium Priority
?
205 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
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

782 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