Results 1 to 4 of 4
  1. #1
    MarcodeMan is offline Novice
    Windows 11 Office 365
    Join Date
    Jun 2023
    Posts
    5

    Opening files from hyperlink

    Hi all,

    In my database form I have a field containing a hyperlink to a certain media file that is stored on my local hard disk. When I click the hyperlink from a form, my player starts playing the media file. But before it starts my media player, I get the pop up asking if I want to open the file the hyperlink is referring to. How do I prevent the popup to appear (or accept automatically)?

    Thanks guys,


    Marco

  2. #2
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,880
    Personally I never use hyperlink datatype. I store file paths as text and use this code which opens any link in the default program.

    http://access.mvps.org/access/api/api0018.htm
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  3. #3
    MarcodeMan is offline Novice
    Windows 11 Office 365
    Join Date
    Jun 2023
    Posts
    5
    Quote Originally Posted by moke123 View Post
    Personally I never use hyperlink datatype. I store file paths as text and use this code which opens any link in the default program.

    http://access.mvps.org/access/api/api0018.htm
    I chose to use the ActiveX control for WMP non visible. Works fine, but thanks for answering my question!

  4. #4
    davegri's Avatar
    davegri is offline Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    You might find some useful code relating to WMP here:

    User Friendly Access Media Player for Audio (accessforums.net)

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

Similar Threads

  1. Hyperlink field and linked files management
    By eugenioca in forum Access
    Replies: 5
    Last Post: 09-18-2017, 11:11 AM
  2. Hyperlink to file in text box not opening
    By timesscript in forum Forms
    Replies: 4
    Last Post: 05-18-2015, 07:06 AM
  3. Hyperlink to Picture opening in IE
    By powderhoundbrr in forum Access
    Replies: 2
    Last Post: 03-13-2013, 12:29 PM
  4. Replies: 8
    Last Post: 11-06-2012, 03:41 PM
  5. Replies: 9
    Last Post: 05-07-2012, 06:11 PM

Tags for this Thread

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