Page 1 of 1

SmatraPDF Wrapper for Xbase++

Posted: Sat Mar 14, 2020 7:16 pm
by Auge_Ohr
hi,

i wrote a Wrapper for SumatraPDF Viewer to use with Xbase++
Source are available at Pablos Website http://www.xbwin.com -> Newsgroup

this Demo Sample (v1.9.355) have Next Button for "Slide-Show" PDF.
XB_PDF07.ZIP
need ot4xv
v1.9.355
(23.83 KiB) Downloaded 858 times
have fun
Greetungs by OHR
Jimmy

! note : NEED SumatraPDF.EXE look here
https://www.sumatrapdfreader.org/downlo ... iewer.html
p.s. have only use 32 Bit Version

Re: SmatraPDF Wrapper for Xbase++

Posted: Sun Dec 20, 2020 7:05 am
by slobodan1949
Dear Jimy
I like the SUMATRA.DLL project (great idea and realization)

this Demo Sample (v1.9.355) have Next Button for "Slide-Show" PDF.
XB_PDF07.ZIP
need ot4xv
v1.9.355
(23.83 KiB) Downloaded 309 times
have fun
Greetungs by OHR
Jimmy


I have been using sumatraPDF.exe in my applications for a long time, and your sumatra.dll is a good and useful solution to my problems. But I have some questions:
1. Why sumatra.dll does not support files with a blank filename: RN 123.PDF
2. Why doesn't the [NEXT] command button work when there are multiple PDF files in the folder?
Then an error is obtained (image in attachment)
3. Why isn't the [NEXT] command button more beautifully designed and larger due to touch technology?
4. Why can't the size of the window for displaying the PDF file be adjusted and remain permanently set by typing in INI or SumatraPDF-settings.txt?
5. With sumatraPDF.EXE version 3.2 32-bit, the main window of the sumatra.dll application is blocked and the program cannot be terminated with [x]
Maybe all this is possible, but I can't use it, because there is no documentation with the project. Maybe my Xbase ++ 1.9 355 SL1 version doesn't support these things. Please help and explain.

Re: SmatraPDF Wrapper for Xbase++

Posted: Sun Dec 20, 2020 4:26 pm
by Auge_Ohr
hi,

i´m not the Author of SumatraPDF. i only wrote a Xbase++ "Wrapper" to use it "from" Xbase++ App

i have no Problem with Space in PDF Filename. it is the same "Problem" with every File which have a Space in Filename
hm ... [NEXT] Button to change PDF ... have you try to "close" old PDF before open new PDF ?
Windows Toolbar Size can be bigger when use bigger Icon
as i can say SumatraPDF load "latest" File where you have close it. not sure about Zoom
i do use Xbase++ v1.9.355 and have not Problem with "blocking" App to close

if you want "more" you have to use "C" and build you own DLL

Re: SmatraPDF Wrapper for Xbase++

Posted: Mon Dec 21, 2020 3:19 am
by skiman
Hi,

If you want to create a 'pdf slide show', you can use this:
@ 1,700 DCHTMLVIEWER oHtml SIZE 500, nWINDOWHEIGHT pixel RESIZE DCGUI_RESIZE_RESIZEONLY

Then with ohtml:navigate(cFilename) you can easily load and display another document. This way you can create navigate buttons in the style you like.

Re: SmatraPDF Wrapper for Xbase++

Posted: Mon Dec 21, 2020 12:09 pm
by slobodan1949
Dear Jimmy,

I have the impression that my questions have angered you.
That was not my intention and therefore accept my apology.
It is possible that I used English unhappily and ignorantly.
I hope you understand me.

I think only you can make the sumatra.dll tool for Xbase ++
as it should and as it would suit me.

I am ready to buy it.

----------

You made me think like that after you showed it on the HMG forum
great product for HARBOR, and you said you were going to do a similar thing:
http://www.hmgforum.com/viewtopic.php?f ... 831#p55831

Then you did a good thing called sumatra.dll,
so after that you supplemented it with the NEXT button.

I thought asking for another little addition would be okay.
Since the request was not accepted, I thank you for your answer
and I wish you a lot of happiness and success in life and in the new 2021 year.

Re: SmatraPDF Wrapper for Xbase++

Posted: Mon Dec 21, 2020 1:15 pm
by Auge_Ohr
hi,

i do not work with Xbase++ any more but sometimes i got Source that can be used by Xbase++
this is with ActiveX and DLL Code like the Wrapper for SumatraPDF.

i just want to show other Way than Acrobat Reader which Support will end this Year.
there are "more" Tools for SumatraPDF e.g. to "Merge", "Spilt", "Insert" or OCR

Re: SmatraPDF Wrapper for Xbase++

Posted: Sat Dec 26, 2020 3:03 pm
by slobodan1949
It's sad for the Xbase ++ community that you left us.