Page 2 of 4
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 29 Jul 2021 15:18
by insight
highend wrote: ↑29 Jul 2021 15:14
All combinations work
Configuration | Other | Shell Integration | 64-bit Windows | [x] Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | [x] Fall back to preview handlers of the other bitness
should be ticked if you use e.g. Sumatra 64-bit
Thanks for the inputs.
Its goofy as some things work for me on Laptop vs others on Desktop. - I am wondering if I should UNINSTALL/ NUKE with Uninstall Cleaning and start fresh.
But afraid I may I break it further and lose out existing working.
Is there a procedure & files VERSIONS you'd recommend?
PS:
https://www.xyplorer.com/faq-topic.php?id=PDFthumbs
I read something about Sumatra needing a "Non Stable special version to work" - Not sure where I read that.
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 29 Jul 2021 16:17
by highend
I'm using Sumatra x64 (
https://forum.sumatrapdfreader.org/t/eb ... dows/505/4)
and it works absolutely fine previewing pdf and epub...
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 29 Jul 2021 18:28
by insight
highend wrote: ↑29 Jul 2021 15:14
All combinations work
Configuration | Other | Shell Integration | 64-bit Windows | [x] Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | [x] Fall back to preview handlers of the other bitness
should be ticked if you use e.g. Sumatra 64-bit
You had mentioned this here:
viewtopic.php?f=5&t=22024&p=186285#p186285
So my cumulative question is - is this still applicable / requirement (the Pre Release) ? instead of Stable Release?
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 29 Jul 2021 19:09
by highend
That isn't a pre-release, it's a different version with a different feature set and you can use the current stable (of the original Sumatra) as well
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 15:32
by insight
highend wrote: ↑29 Jul 2021 15:14
All combinations work
Configuration | Other | Shell Integration | 64-bit Windows | [x] Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | [x] Fall back to preview handlers of the other bitness
should be ticked if you use e.g. Sumatra 64-bit
Had to go through all these threads again - I do not see these options in that Section - 20.90. Old or maybe 32 bit?
highend wrote: ↑29 Jul 2021 19:09
That isn't a pre-release, it's a different version with a different feature set and you can use the current stable (of the original Sumatra) as well
Is there a summary or detail as to what this diff ver & feature set entail?
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 15:58
by insight
So I updated XY Plorer to latest Setup from site, and Sumatra x64 3.3.3 install from siite. (even prev 3.2 had same Error response).
Also enabled the settings you suggested.
And now its back to just showing the "TEXT" of the selected PDFs. Go figure.
Should I uninstall both and fresh install? Do I need to install x32 Sumatra instead? Or is this some trigger from pre installed PDF X Change?
And my previous version of the older versions on my laptop work all fine. Here' on desktop. Poof!
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Unrecognized Guid format.
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at PreviewHandlers.PreviewHandlerHost.GetPreviewHandlerGUID(String filename)
at PreviewHandlers.PreviewHandlerHost.Open(String filename, IntPtr handlePassed, Int32 colBack, Int32 colText, String guidUser)
at Preview64.Form1.handlePreview(String[] arguments)
at Preview64.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at Preview64.Form1.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
XY64
Assembly Version: 1.0.7611.17313
Win32 Version: 1.0.0.23
CodeBase: file:///C:/Program%20Files%20(x86)/XYplorer/XY64.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 16:34
by highend
Execute fresh; from the address bar,
tick both settings in this fresh instance:
Configuration | Other | Shell Integration | 64-bit Windows | [x] Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | [x] Fall back to preview handlers of the other bitness
and then show a screenshot of the full XY window with the preview pane open and a .pdf selected
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 19:21
by insight
highend wrote: ↑23 Aug 2021 16:34
Execute
fresh; from the address bar,
tick both settings in this fresh instance:
Configuration | Other | Shell Integration | 64-bit Windows | [x] Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | [x] Fall back to preview handlers of the other bitness
and then show a screenshot of the full XY window with the preview pane open and a .pdf selected

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 19:28
by admin
Screenshot not readable. Please use native attach function for images:
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 19:35
by insight
admin wrote: ↑23 Aug 2021 19:28
Screenshot not readable. Please use native attach function for images:
Did not notice. A bit sleepy. Sorry, here it is: Let me know if there' anything else ya need.
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 19:52
by admin
Are you using User-Defined Preview Handlers? Did you supply a valid GUID?
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 20:07
by highend
He does not, at least not in the fresh instance.
Execute this in the fresh and in the configured instance and post the results:
text get("previewhandler", "pdf") . <crlf> . "Assoc: " . get("assoc", "pdf");
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 23 Aug 2021 22:26
by Horst
highend wrote: ↑23 Aug 2021 20:07
He does not, at least not in the fresh instance.
Execute this in the fresh
and in the configured instance and post the results:
text get("previewhandler", "pdf") . <crlf> . "Assoc: " . get("assoc", "pdf");
This does not give correct results in my environment.
I have installed SumatraPDF and its used if a PDF file is double clicked
but I have set the PDF-XChange Editor as PDF preview handler, which is realy used by XY.
The text get command line says SumatraPDF is preview handler which is wrong.

- Screenshot - 23.08.2021 , 22_33_44.png (12.2 KiB) Viewed 2707 times

- Screenshot - 23.08.2021 , 22_35_55.png (13.76 KiB) Viewed 2707 times

- Screenshot - 23.08.2021 , 22_37_55.png (7.84 KiB) Viewed 2707 times
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 24 Aug 2021 08:41
by admin
The return looks alright to me.
The first 3 lines are from:
text get("previewhandler", "pdf") . <crlf> . ...
The last line is from:
... "Assoc: " . get("assoc", "pdf");
Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor
Posted: 24 Aug 2021 10:11
by Horst
You are right
Didn't read enough, it was to late.