Solved

How populate image on a form from a hyperlink on the same form?

Posted on 2014-02-15
2
478 Views
Last Modified: 2014-02-17
I have a form which has a hyperlink field.  That hyperlink field could be either a link to a web address or a link to a folder address on the computer the database is installed on.

But what I want to have happen is on the same form, have that image appear in a "picture" box.

I don't know how to make that happen.
0
Comment
Question by:SteveL13
2 Comments
 
LVL 16

Accepted Solution

by:
Sheils earned 250 total points
ID: 39862218
Checkout this sample db.

Download the pictures into the same folder.

NB:-

The code that makes it work is in the form oncurrent event.
I have used currentproject.Path in my code so that it works on your computer but you can hard code the actual file path. You can also enter the entire path in the table
There is no need to hyperlink
imagedb.accdb
Koala.jpg
Lighthouse.jpg
Tulips.jpg
0
 
LVL 39

Assisted Solution

by:als315
als315 earned 250 total points
ID: 39862430
You can't display images from web with image control, but you can use web browser control, but it can't auto scale images. Look at sample (place it to the same folder as se9's sample)
imagedbweb.accdb
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now