Preview shows up for disabled PDF filetype

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

Preview shows up for disabled PDF filetype

Post by Tamil »

I have disabled preview of PDF filetype in web & office file category but XYplorer shows preview. :veryconfused: Other disabled filetypes are not showing the preview.

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Preview shows up for disabled PDF filetype

Post by admin »

Tamil wrote:I have disabled preview of PDF filetype in web & office file category but XYplorer shows preview. :veryconfused: Other disabled filetypes are not showing the preview.
I think it shows just the thumbnails (preview created by shell). To exclude even this you can use the NoPrevShell tweak.

Code: Select all

    + Tweak to exclude certain file types (identified by extension) from 
      the shell-made preview and thumbnails.
      This would exclude MHT and URL files:
        [Settings]
        NoPrevShell=.mht.url.
In your case this would be enough:

Code: Select all

NoPrevShell=pdf

Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

Re: Preview shows up for disabled PDF filetype

Post by Tamil »

Thanks. :D

Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

Re: Preview shows up for disabled PDF filetype

Post by Tamil »

XYplorer used to hang when I browse a folder containing PDF files. Unregistering the pdfshell.dll by running the following command solved the problem.

Code: Select all

regsvr32 /u "%CommonProgramFiles%\Adobe\Acrobat\ActiveX\pdfshell.dll"

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Preview shows up for disabled PDF filetype

Post by admin »

Aha, interesting. What is/does pdfshell.dll?

Post Reply