View Full Version : FREE : PDF Object Plugin V:2
reteset
08-03-2008, 12:17 PM
hi to all
pdf object plugin has been updated
Whats New :
New 4 functions were added
LoadFile() function Modified
A detailed help file added
Example project has been updated
you can get new version of PDF object plugin from here (http://www.amsplugins.com/details.asp?ID=45&CID=2)
RizlaUK
08-03-2008, 12:48 PM
nice, thank you reteset :yes
i think i can make use of this now
Dermot
08-04-2008, 12:08 AM
Works flawlessly, great job, thanks.:yes:yes
alsh3lan33
08-04-2008, 12:11 AM
thank's reteset
:):):yes:yes
siray
08-04-2008, 12:14 AM
Thanks a lot reteset http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/41.gif
Esfahan
08-04-2008, 12:14 AM
Same as Always
Best of Bests:yes
My favorite plugin, thank you reteset
muthos
08-04-2008, 08:29 AM
Great job, thanks.
:yes
dflowers
08-04-2008, 04:15 PM
Reteset,
Great plugin, thank you. One question though, have you thought about using SumatraPDF instead of Adobe PDF Reader? The reason I ask is that it seem like you could use SumatraPDF and not have any external dependencies. I use SamatraPDF now in some of my apps and it runs directly from the CD and does not require an install. Just a thought, I am not sure if it could be done or not because I know nothing about designing plugins.
Dorian
reteset
08-06-2008, 12:40 PM
Reteset,
Great plugin, thank you. One question though, have you thought about using SumatraPDF instead of Adobe PDF Reader? The reason I ask is that it seem like you could use SumatraPDF and not have any external dependencies. I use SamatraPDF now in some of my apps and it runs directly from the CD and does not require an install. Just a thought, I am not sure if it could be done or not because I know nothing about designing plugins.
Dorian
hey.. good
i can not test it for now but i think it is open source
maybe i can make a plugin from it but i can not figure out that site
which i found on google if you find full source of that (because i am very busy :o)
i can make a plugin,
and also can you read licence of that for me because licence files
very complex for me , my english does not very well
if licence allows to make our free plugin
and if it is possible to make a plugin from sources then
i can make a plugin ,it is a pleasure , because i need it too :D
reteset
08-06-2008, 01:07 PM
reteset, new version of the plugin pass error message after exiting from runtime on WinXP SP3. Previous version work normally.
this is same plugin , i did not chage a part of plugin
i only added new 4 functions and help file
i have checked plugin for that problem before
i could not find a problem in plugin because
there is no special implementation in this plugin
it just creates activex with CWnd::Create(..)
and destroys with CWnd:: DestroyWindow(...)
those are generic MFC functions
i am sure , the causal of this problem is Adobe Reader ActiveX (ver:7)
can i ask . which version of reader did you use
i never got an error with reader 8
i will make a deepest test again
thank you for your interest
Esfahan
08-06-2008, 01:14 PM
Work nice in Adobe 8.0 on XP SP2
Imagine Programming
08-06-2008, 01:32 PM
Hey reteset, i used your previous PDF plugin, and i tried to download this one, but http://www.amsplugins.com/ is down:P
dflowers
08-06-2008, 04:46 PM
I got an answer from the developer of Sumatra PDF. Here is what he had to say:
First, I'm not a lawyer. But here's how I believe things work: if the plugin just launches SumatraPDF.exe, then it's ok.
If Sumatra's code is incorporated into plugin itself, then it would violate GPL.
A more detailed answer from the definitive source is here:
http://www.fsf.org/licensing/licenses/gpl-faq.html#GPLAndPlugins
Krzysztof Kowalczyk
August 6th, 2008 8:13p.m.
[/QUOTE]
I think that you can still use the source code, but then you would have to release the plugin as GPLv2. When I use this program, I use it like the developer said in the first part of his reply. I just use a button object that uses a command line arguement to open the document directly in Sumatra PDF like this:
File.Run("AutoPlay\\PDF\\SumatraPDF.exe", "AutoPlay\\DOCS\\Animals.pdf", "", SW_SHOWNORMAL, false);
I then just add a folder called "PDF" and it inludes two files in it called SumatraPDF.exe and sumatrapdfprefs.dat.
You can get the source files from:http://code.google.com/p/sumatrapdf/
I hope this helps.
Thanks, Dorian
reteset
09-26-2008, 01:20 PM
new version of the plugin pass error message after exiting from runtime on WinXP SP3. Previous version work normally.
does anyone else got same error (crash on exit)
if so please write here
because i will try different way to make a PDF viewer
as well as i can not make a plugin from Sumatra
because it will be a licence violation as dflowers mentioned above
thank you dflowers for this info
dflowers
09-26-2008, 04:24 PM
Glad I could help, sorry it was not something you could use though.
Thanks,
Dorian
merlino
01-15-2009, 06:04 PM
hi Reteset, Your plugin is wonderfull but I have a problem any time the AMS application close, I get this error.
I translate : the instruction at "0x0700609c" has been referenced at memory at "0x00000014". The memory could not be "read".
I use the adobe reader 9, do You know witch is the problem ? please.:eek:
Tanks.
RizlaUK
01-15-2009, 06:47 PM
in project actions, in the "On Shutdown" event put the below code, it will stop the crash (maybe?)
Window.Close(Application.GetWndHandle(), CLOSEWND_TERMINATE);
don't use sumatra.exe program (there are sumatra program in print option, this is bad explicitly)
you are upload *.fdf file is for A free online PDF viewer http://pdfmenot.com/
output swf. (your pc C:\Documents and Settings\*******\Local Settings\Temporary Internet Files in *.swf file) cut and paste add swf file is html page (frontpage program) run.
okey:)
merlino
01-16-2009, 11:21 AM
Many thanks RizlaUK, You are wonderful, it look like working no more error when I exit the AMS application.:yes:lol
by.
reteset
01-16-2009, 03:02 PM
i am sure there is no problem with the plugin
this comes from Adobe Reader itself
for some reasons , it (Reader ActiveX Ver : 9 - 10 ) does not destroy itself ,
and does not let the AMS application to exit
i am going to add a extra destruction method to next version of plugin
thanks.
sebalius
04-02-2009, 04:07 AM
does anyone else got same error (crash on exit)
if so please write here
because i will try different way to make a PDF viewer
as well as i can not make a plugin from Sumatra
because it will be a licence violation as dflowers mentioned above
thank you dflowers for this info
I got the crash as well on a machine using XP SP3, The program closed with the error.
Regards
sebalius
ps great plugin though.
sebalius
04-02-2009, 04:34 AM
I got the crash as well on a machine using XP SP3, The program closed with the error.
Regards
sebalius
ps great plugin though.
Also is there a way to dispose of the search fascility as when used the user gets the option to save a copy of the pdf file, I do not want users to be able to copy the file.
Once again thanks for your work.
reteset
04-06-2009, 03:36 PM
Also is there a way to dispose of the search fascility as when used the user gets the option to save a copy of the pdf file, I do not want users to be able to copy the file.
Once again thanks for your work.
this crach is not related with OS or Plugin
This crash related with Adobe Reader Ver:9 (mostly)
i am using Adobe Reader Ver:9
some times this happens when i read PDFs in internet explorer then exit
internet explorer
i have read some technical notes about this and i think , current document
should also be released on application exit ,and there is no such procedure in
web activex , probably web ActiveX does it automatically
i think this happens when you open a big (file size) PDF document
in it , and it can not release document until application exit ,
and locks main application
this code works good on this problem because it sends a second destroy command to application
Window.Close(Application.GetWndHandle(), CLOSEWND_TERMINATE);
maye i can add a PDF.Exit(); action for it , for use in On Close event
and i have no idea about your last message sorry.
reteset
04-26-2009, 09:37 AM
Updated
Version : 2.1.0.0
What's New:
1 : new PDF.SafeExit() action added
for more information ,please refer to help topic of this action (in plugin's help file)
2 : some parts of plugin are modified for increase plugin performance
that's all
please click here (http://www.amsplugins.com/details.asp?ID=45&CID=2) to get latest version (same as first post)
Samio
04-26-2009, 11:31 AM
Thanks reteset.;)
reteset
06-13-2009, 10:18 AM
Updated
Version : 2.2.0.0
What's New:
1 : new PDF.LoadFromWeb() action added
for more information ,please refer to help topic of this action (in plugin's help file)
2 : sample pdf document ( Delphi.pdf ) is changed with a smaller one
that's all
note : Sample project requires SliderEx object plugin
but this is not mean that you have to install SliderEx plugin
if you do not want to install SliderEx plugin ,just remove SliderEx plugin from page
this will not affect PDF plugin or sample project
SliderEx plugin just shows the usage of PDF.SetZoom() action.
please click here (http://www.amsplugins.com/details.asp?ID=45&CID=2) to get latest version (same as first post)
aiman.h.kallaf
06-13-2009, 12:16 PM
waaaw thanks a lot :) now i can continue working on my project :)
Imagine Programming
06-13-2009, 12:37 PM
Thanks reteset :yes
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.