View previous topic :: View next topic |
Author |
Message |
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
Posted: Mon Oct 11, 2004 2:29 pm Post subject: VDSPDF Extension released as donationware |
|
|
THIS EXTENSION IS NOT SUPPORTED AT ALL!
This VDSPDF extension control allows you to display PDF (Adobe Portable Document Format) files within on your VDS dialogs.
As you probably know most of Windows systems have Adobe Acrobat Reader installed. VDSPDF takes advantage of this by using the readers engine.
You need Adobe Acrobat Reader v4.x or better to use VDSPDF.DLL
Here's some of the commands/functions:
PDF GOTOPREVIOUSPAGE{, <control name>}
PDF GOTONEXTPAGE, <control name>
PDF GOTOLASTPAGE, <control name>
PDF OPEN, <control name>,<filename>,
PDF GOTOFIRSTPAGE, <control name>
PDF GOBACKWARDSTACK, <control name>
PDF GOFORWARDSTACK, <control name>
PDF PRINT, <control name>
@PDF(TOOLBAROFF, <control name>)
This will remove the Acrobat Reader toolbar.
@PDF(TOOLBARON, <control name>)
This will enable the Acrobat Reader toolbar.
And theres more...
Also included with VDSPDF is a third party application I found that enables you to produce a PDF document with any regular text files! Its called PDF PRODUCER and its a Freeware. I DO NOT SUPPORT PDF PRODUCER. Its included in the zip file of the VDSPDF package.
Donations are accepted!
Donation amounts:
Donation of only $4.99US thru Reg.net secure site -> https://secure.reg.net/product.asp?ID=13550
Donation of only $9.99US thru Reg.net secure site. -> https://secure.reg.net/product.asp?ID=13252
Donation of only $14.99US thru Reg.net secure site. -> https://secure.reg.net/product.asp?ID=13552
Donation of only $19.99US thru Reg.net secure site - > https://secure.reg.net/product.asp?ID=13553
Serial is in the vdspdf.HTM
Here's the link to download the VDSPDF extension:
http://www.vdsworld.com/index.php?page=download&fileid=238 |
|
Back to top |
|
|
DominiqueB Newbie
Joined: 28 Sep 2004 Posts: 10
|
Posted: Mon Oct 11, 2004 9:32 pm Post subject: halas ! |
|
|
I realy would whant to use this extension, but i can't make any use of any function !
I always get an error saying function from .dll extension doesn't exist !
The dll is in the same directory as the sample, but doesn't work !
The path is this:
[url]
D:\Program Files\Visual DialogScript 5\Extensions\VDS_PDF\VDS 5 Example\vdspdf.dsp
[/url]
the dll is in the same place.
Any help ?
Thank's
Dominique |
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Oct 12, 2004 9:03 am Post subject: |
|
|
Hi Dominique, first of all welcome at the VDSWORLD forums... For your question: when trying to load a DLL, VDS always first looks at the current "path" from which it is started. You can change this path by doing the following:
Code: | directory change,@path(%0) |
This basicly returns the path of the filename specified in the variabel %0 (which is the full path+name of your exe file) and changes the current directory in which VDS is look with it. After this, you should be able to load the DLL with the external command. Another solution is by specifying the whole path+name of the DLL:
Code: | external @path(%0)dllname.dll |
This does NOT change the path, so you can use this if the current path from which VDS is loaded, should stay intact... _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
Back to top |
|
|
DominiqueB Newbie
Joined: 28 Sep 2004 Posts: 10
|
Posted: Tue Oct 12, 2004 11:14 am Post subject: Well, |
|
|
hello, thank's for answering.
The sample i try to use is the one delivered with the extension mentionned upper in the thread.
So i thought it could run as is ? The second way you tell me is used in the example, so it should work ?
Does the v5 of dialogscript accept the calling of an extension dll's function like it is done:
external @path(%0)VDSPDF.DLL
PDF GOTOPREVIOUSPAGE{, <control name>}
The path to the sample is this:
[url]
D:\Program Files\Visual DialogScript 5\Extensions\VDS_PDF\VDS 5 Example\vdspdf.dsp
[/url]
the dll is in the same place.
So, i don't understand !
In fact i remember that i can't use any extension at all !
Is there any spécial config to put to be able to ?
Thank's for help.
Dominique |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Oct 12, 2004 3:12 pm Post subject: |
|
|
Don't forget to define the command and function for the dll you are using.
Code: | #DEFINE COMMAND,PDF
#DEFINE FUNCTION,PDF |
_________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
DominiqueB Newbie
Joined: 28 Sep 2004 Posts: 10
|
Posted: Tue Oct 12, 2004 6:21 pm Post subject: Ok ! |
|
|
Thank's,
i understand now why it didn't work !
I thought it was different for extension dll, as i think they are different from standard windows dll ?
So, Marty could you correct the v5 release sample, to make it work.
Cause i don't know the correct param's type to declare for each functions of your dll ?
Thank's
Dominique |
|
Back to top |
|
|
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
Posted: Tue Oct 12, 2004 8:23 pm Post subject: |
|
|
I am sorry, like it says in bold on top of this thread, I dont do any support for any of my extensions anymore, and thats why I offered them for free (donationware). I dont have time anymore to support or start changing the demos or DLL itself.
Also as Garrett said:
Quote: | Don't forget to define the command and function for the dll you are using.
Visual DialogScript Code:
#DEFINE COMMAND,PDF
#DEFINE FUNCTION,PDF |
Please look at the help file, that might help you. |
|
Back to top |
|
|
DominiqueB Newbie
Joined: 28 Sep 2004 Posts: 10
|
Posted: Tue Oct 12, 2004 11:09 pm Post subject: ok, |
|
|
thank's anyway for your progs, it's generous from you.
Dominique. |
|
Back to top |
|
|
|