Re: Active content in SP2 - Open pdf file in local mch with IE

From: Ramesh [MVP] (ramesh_at_nojunkmails.com@mvps.org)
Date: 09/06/04


Date: Mon, 6 Sep 2004 12:47:58 +0530

Kan,

That workaround mentioned in that page is intended for locally hosted
webpages. For this situation, the only option which I can think of is to
tweak the Lockdown_Zone template, rather than using "Allow active content to
run in files on My computer" option.
--------------------------------------------------------
1200 corresponds to Run ActiveX controls and plug-ins
--------------------------------------------------------
This is the restriction which you want to turn off. Open Registry Editor and
navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Lockdown_Zones\0

First, take a backup of the key if you want to undo the changes back.

Double-click the value "1200" and set it to 0

With that restriction disabled, Internet Explorer still takes the most
secure setting (Lockdown Zone vs the default My Computer Zone settings), so
make the changes here as well:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Zones\0

NOTE: If the Security_HKLM_only is enabled via Group Policy Editor or
registry, you need to modify the corresponding "1200" values in the
HKEY_LOCAL_MACHINE hive.

-- 
Ramesh, Microsoft MVP
Window XP Shell/User
http://www.mvps.org/sramesh2k
"kan" <kan@discussions.microsoft.com> wrote in message 
news:02DDF2A8-67B8-4635-896B-9A448E557BFC@microsoft.com...
I've an application that download pdf file into the local PC and then
automatically open the PDF file in IE.
Before I upgrade my XP mch to SP2, it works fine.
After installing SP2, encountered the message "To help protect your
security, Internet Explorer has restricted this file from showing active
content that could access your computer". I can select "Allow Block Content"
but need to select this for every pdf file open in IE.
I've seen the 2 workaround mentioned in
http://www.winxptutor.com/lmzunlock.htm  but both methods do not apply to my
case.
The other method is to "Allow active content to run in files on My computer"
in the Internet Option in IE but this will pose other security issue and not
recommended, right?
Is there any way around this problem of opening PDF file in local mch with 
IE?
Thank You. 


Relevant Pages

  • how to download the file in activex
    ... It's still the question about how to download the file in an activex ... one use post request and the other use get request. ... I write a activex control and reg it as default pdf reader, ... to download the pdf file, ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Adobe PDF.OCX ActiveX Plug-in
    ... Have XPPro, SP2, and since I installed SP2, every time I ... close down a PDF file, I get the error "activeX had an ... error" and names the PDF.OCX ActiveX plug-in. ... in the event viewer nor through IE self-help. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: View PDF Files in my windows form application
    ... What ActiveX control are you using, and what was the error that you got? ... -I assume from what you said that the first PDF file opened successfully? ... > I'm a windows application and i need to view a pdf file inside my window. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: how can I get postdata in ActiveX
    ... activex can get the url of the pdf file from ... strURL is the IE local cache path. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • How to view a pdf file using vb.net
    ... i want to view a pdf file without using an api or ... activex. ... So i tried to open it with Internet Explorer. ... Or if there is an other possibility to view a pdf file in my vb.net ...
    (microsoft.public.dotnet.languages.vb)