Results 1 to 5 of 5
  1. #1
    mlove is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Posts
    2

    Add a url link to an image on a form

    I'd like to create Icons on my main menu that will open a url in the default web browser when clicked. Can anyone help?

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Make them command buttons, then in the OnClick event add the url (using FollowHyperlink)

  3. #3
    mlove is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Posts
    2
    I'm not sure how to do that. I added a command button and found where I can add an image. How do I program the OnClick event?

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    I've found a better way - there is a Hyperlink Address property for the command button, put the link in there, then when you click on the button it will open the link.

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Can also be done with an Image control.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Link image control with part name of picture
    By wasim_sono in forum Forms
    Replies: 1
    Last Post: 03-03-2017, 03:54 AM
  2. Cannot show the link image steadily
    By pencheng in forum Access
    Replies: 4
    Last Post: 07-18-2016, 03:15 AM
  3. subform image link
    By anchamal in forum Forms
    Replies: 3
    Last Post: 01-15-2014, 12:35 AM
  4. Link image files to Access table
    By amerifax in forum Access
    Replies: 12
    Last Post: 07-03-2013, 03:50 AM
  5. Link vs. imbed image: result is counterintuitive
    By VirgilMachine in forum Access
    Replies: 14
    Last Post: 12-13-2011, 01:55 PM

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