Results 1 to 6 of 6
  1. #1
    Lounger
    Join Date
    Feb 2004
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trapping in built Word error message (2002)

    We have installed a firewall which prevents users from accessing certain internet sites. From Word (or any other office package for that matter), the message received when trying to use a URL link within the document is "Unable to open http: .......... etc. Cannot download the information you requested". We would like to code this so a more meaningful message appears, such as "The web address you are trying to link to is a prohibited site". However, because the error message Word gives is always different (depending on the http: [address] I'm not sure how to go about this. Has anyone managed to do this?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Trapping in built Word error message (2002)

    This message is not generated by Word, but at a much lower level, so the solution - of it exists at all, which I doubt - will not be in Word.

  3. #3
    Lounger
    Join Date
    Feb 2004
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Trapping in built Word error message (2002)

    Does it call a *.dll then do you know? Just wondering whether it would still be possible to do?

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Trapping in built Word error message (2002)

    I'm not sure. It might be shdocvw.dl or url.dll.

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Trapping in built Word error message (2002)

    Does the firewall just discard the packet, leading to a time out, or can it be configured to return a code, such as 403 (prohibited), 404 (page not available), 500 (server error) and so on? Actually, our old SonicWall served up a large page with a custom "thou shalt not" message written by one of our administrators, which probably would look pretty exciting in a Word window. <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>

  6. #6
    Lounger
    Join Date
    Feb 2004
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Trapping in built Word error message (2002)

    Hi, yes would be fun but don't think it would go down well ;-). Currently, we just get a a message "Unable to open http: .......... etc. Cannot download the information you requested". We're searching through *.dll's at the moment to see whether we can find out which one, so we can amend the code accordiingly.

Posting Permissions

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