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 


auto run for cd..question

 
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 Feb 23, 2004 5:40 pm    Post subject: auto run for cd..question Reply with quote

hello all

I have a question about auto run for cd's meaning when you put a cd in the drive it starts up. i know you have to have a .inf file on cd to make this work however the file i want to start up is a pdf file. how can i make a program to check to see if the user has a pdf reader installed? if they don't then have it install it then open the pdf file? of coures this would have to work on all O.S Sad any one have any ideas on how to do this? or has anyone done this before?


thanks

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Mon Feb 23, 2004 6:59 pm    Post subject: Reply with quote

Make the autorun.inf file execute a exe. The exe would then need to check to see if Adobe Acrobat is installed. If it is then make the exe do a shell execute on the pdf file. You can make this all run invisibly and it would achieve the same results - open the pdf or prompt them to download acrobat and then launch the file.
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Feb 23, 2004 7:08 pm    Post subject: Reply with quote

ok i see what ya mean but how do i check to see if a users has pdf reader installed? i mean what commands and what to check?

thanks

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Mon Feb 23, 2004 7:13 pm    Post subject: Reply with quote

I'm not too certain but you can definately check HKEY_CLASSES_ROOT registry section for the .pdf extention to see if anything has been set for it.

Last edited by PGWARE on Mon Feb 23, 2004 7:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Feb 23, 2004 7:13 pm    Post subject: Reply with quote

Usually the easiest way is to check and see if it's installed in either the
registry or check to see if it's program files folder exists. Smile

_________________
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 Feb 23, 2004 8:27 pm    Post subject: Reply with quote

will that type of check work on all o.s?

thanks

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Feb 24, 2004 2:48 pm    Post subject: Reply with quote

I suppose a program will use the same registry keys on every os, so yes, it should work everywhere... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Feb 24, 2004 6:08 pm    Post subject: Reply with quote

that whats i mean the "registry keys" are the same on all o.s? meaning the same location?

thanks

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Feb 24, 2004 6:12 pm    Post subject: Reply with quote

Yup... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Feb 24, 2004 6:31 pm    Post subject: Reply with quote

ok thanks
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
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