SmatraPDF Wrapper for Xbase++

This forum is for ideas and or code to be contributed for general use.
Post Reply
Message
Author
User avatar
Auge_Ohr
Posts: 1237
Joined: Wed Feb 24, 2010 3:44 pm

SmatraPDF Wrapper for Xbase++

#1 Post 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 329 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
greetings by OHR
Jimmy

slobodan1949
Posts: 22
Joined: Mon Apr 25, 2011 8:57 am
Contact:

Re: SmatraPDF Wrapper for Xbase++

#2 Post 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.
Attachments
errorbase5.jpg
errorbase5.jpg (19.63 KiB) Viewed 781 times

User avatar
Auge_Ohr
Posts: 1237
Joined: Wed Feb 24, 2010 3:44 pm

Re: SmatraPDF Wrapper for Xbase++

#3 Post 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
greetings by OHR
Jimmy

skiman
Posts: 881
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: SmatraPDF Wrapper for Xbase++

#4 Post 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.
Best regards,

Chris.
www.aboservice.be

slobodan1949
Posts: 22
Joined: Mon Apr 25, 2011 8:57 am
Contact:

Re: SmatraPDF Wrapper for Xbase++

#5 Post 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.

User avatar
Auge_Ohr
Posts: 1237
Joined: Wed Feb 24, 2010 3:44 pm

Re: SmatraPDF Wrapper for Xbase++

#6 Post 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
greetings by OHR
Jimmy

slobodan1949
Posts: 22
Joined: Mon Apr 25, 2011 8:57 am
Contact:

Re: SmatraPDF Wrapper for Xbase++

#7 Post by slobodan1949 »

It's sad for the Xbase ++ community that you left us.

Post Reply