Results 1 to 11 of 11
  1. #1
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In URL fields, I have plenty of links like c:\Program Files\abc.exe. When clicking it, it always pop up a Microsoft Office dialog window warning of trustworthy source. How to suppress this annoying popup?
    Thanks.
    Armstrong

  2. #2

  3. #3
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Leif,
    Thanks for your help.
    Your solution is only applicable to non .EXE files.
    What if .exe executable files?
    Armstrong

  4. #4
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts
    Quote Originally Posted by armsys View Post
    Your solution is only applicable to non .EXE files.
    The first part of each the pages linked to contained this

    [attachment=88070:exec.gif]

    Did you try the suggestion for executable files?
    Attached Images Attached Images
    Regards
    John



  5. #5
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi John,
    I must miss something. What do you mean by "Did you try the suggestion for executable files?
    Armstrong

  6. #6
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi John,
    I did insert DisableHyperlinkWarning in HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\C ommon.
    Do I have to insert DisableHyperlinkWarning in HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\C ommon as well?
    I only have Office 2007 on my Win7 X64 Ultimate.
    Armstrong

  7. #7
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Actually the more appropriate URL is http://support.microsoft.com/kb/925757.

    At least in either case, the DisableHyperlinkWarning subkey won't work. That's what I meant.

    When reading further, the alternative solution includes:
    Method 1: Turn off the "Confirm open after download" option for the file type that you are trying to open
    In Win 7 X64, simply there's no such things as "Folder Options" and "Confirm open after download".

    Armstrong

  8. #8
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What tormenting me most is most other file extensions such as PDF work successfully.

  9. #9
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Of course, it's possible to include an executable as a URL such as c:\MyPgm\abc.exe.
    When clicking such URLs, Access will pop up a warning dialog box?
    How to block these annoying warning dialog boxes?
    Armstrong

  10. #10
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts
    I don't know the answer to your question!

    I re-read (more closely) the Microsoft posts linked to early in this thread, and realised I had misunderstood them before.
    They do not offer a solution for exe files. And maybe the last line of what I have posted below is telling us there is no solution.

    [attachment=88093:exec2.gif]

    The only workaround I can think of is to replace all the hyerlink fields with plain text fields, then use VBA code to open the files.

    Code like this will run an exe without a warning message.

    Code:
    If Right(Me.link, 3) = "exe" Then
     	Shell Me.link, vbNormalFocus
     Else
     Application.FollowHyperlink Me.link
    	End If
    It seems to me that this is not an Access question. It is either an Office question, or more generally a Windows 7 question. Moving the thread to the Win 7 forum will expose it to some new eyes who may have something extra to add. Would you like me to do that?
    Attached Images Attached Images
    Regards
    John



  11. #11
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    John,
    At least you help me learn a new piece of code. Thanks a lot.
    Armstrong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •