| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 14, 2003 10:01 pm Post subject: how to have vds open a pdf file? |
|
|
hello all
I have made a button and the button should open a pdf file.. but it don't how do i make it call up Adobe Acrobat reader with the pdf file i want people to see? and if user don't have Adobe Acrobat reader have it say a msg like must install Adobe Acrobat reader...
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Apr 14, 2003 10:54 pm Post subject: |
|
|
could you use something like
and if the user has the pdf viewer on their computer, then it should run the viewer with the file whatever.pdf opened
if they don't...not sure what will happen
Serge _________________
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 14, 2003 11:07 pm Post subject: |
|
|
Marty once sold a DLL that could load PDFs into your VDS application
directly. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 14, 2003 11:10 pm Post subject: |
|
|
| Serge wrote: | could you use something like
and if the user has the pdf viewer on their computer, then it should run the viewer with the file whatever.pdf opened
if they don't...not sure what will happen
Serge |
yea i tried that and got a error  _________________ Have a nice day  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 14, 2003 11:10 pm Post subject: |
|
|
| FreezingFire wrote: | Marty once sold a DLL that could load PDFs into your VDS application
directly. |
ohhhhhh you know where i can get that at?
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
nick Contributor

Joined: 15 Aug 2000 Posts: 50 Location: hamburg,nj
|
Posted: Tue Apr 15, 2003 12:02 am Post subject: |
|
|
Hi:
I think you can:
run AcroRd32.exe <file to open>.pdf
I'm not sure all Acrobat readers have the same exe. _________________ nick |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Apr 15, 2003 12:04 am Post subject: |
|
|
You might want to contact Marty about that extension. Check his profile
for his contact info. He may/may not let you purchase it but they have
been removed from general circulation. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Apr 15, 2003 12:05 am Post subject: |
|
|
Nick, I tried that and it looks like you will have to specify the path to the
EXE since it is not in a system or current directory. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 15, 2003 6:24 am Post subject: |
|
|
thanks guy
i will try what nick said...it don't hurt to play aorund  _________________ Have a nice day  |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Tue Apr 15, 2003 11:41 am Post subject: |
|
|
Contact me if you need to purchase it, its called VDSPDF.
In the meantime check the online help for the commands available for it:
http://www.extremesenses.com/vdspdf/vdspdf.htm
The DLL is now 25$
All of my DLL will be back soon, but for registered users of VDS only. The price tags for each DLL will also change. |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Tue Apr 15, 2003 7:19 pm Post subject: |
|
|
| If using "run" doesn't work, try using "shell open,whatever.pdf". |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Wed Apr 23, 2003 11:06 am Post subject: |
|
|
| I was just thinking the same shouldnt it be shell open, not run? |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Apr 23, 2003 8:08 pm Post subject: |
|
|
SHELL OPEN and RUN do basically the same thing. The only
problem with run is that it likes short file names better. Using the following:
| Code: | | RUN @shortname("C:\Documents and Settings\NetAdmin\log.exe") |
Would yield the same results as:
| Code: | | SHELL OPEN,"C:\Documents and Settings\NetAdmin\log.exe" |
Basically it's up to you as the programmer.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|