forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


how to have vds open a pdf file?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Apr 14, 2003 10:01 pm    Post subject: how to have vds open a pdf file? Reply with quote

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 Smile
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Apr 14, 2003 10:54 pm    Post subject: Reply with quote

could you use something like
Code:
run whatever.pdf


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
View user's profile Send private message Visit poster's website MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Apr 14, 2003 11:07 pm    Post subject: Reply with quote

Marty once sold a DLL that could load PDFs into your VDS application
directly.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Apr 14, 2003 11:10 pm    Post subject: Reply with quote

Serge wrote:
could you use something like
Code:
run whatever.pdf


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 Sad

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Apr 14, 2003 11:10 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
nick
Contributor
Contributor


Joined: 15 Aug 2000
Posts: 50
Location: hamburg,nj

PostPosted: Tue Apr 15, 2003 12:02 am    Post subject: Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Apr 15, 2003 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Apr 15, 2003 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Apr 15, 2003 6:24 am    Post subject: Reply with quote

thanks guy

i will try what nick said...it don't hurt to play aorund Smile

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Tue Apr 15, 2003 11:41 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Tue Apr 15, 2003 7:19 pm    Post subject: Reply with quote

If using "run" doesn't work, try using "shell open,whatever.pdf".
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Wed Apr 23, 2003 11:06 am    Post subject: Reply with quote

I was just thinking the same shouldnt it be shell open, not run?
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Apr 23, 2003 8:08 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group