Launching external Windows Programs 
Author Message
 Launching external Windows Programs

I asked this question yesterday and recieved a few answers, but Im curious,
if there is any other way to achieve this.
I am trying to make a menu program that will run off of a CD that will be
used to launch other programs on the CD.  I have been told that the
ShellExecute API is the way to go, but that sure does seem complicated.
Would not Call Shell("filename") work?? Im pretty sure it does, but, I
cannot guarantee that the path to the CD Rom is going to be the same on
every user.  Is there anyway to find out where the CD in use resides and
plug it in??  If anyone could help, I would be very appreciative.


Wed, 18 Jun 1902 08:00:00 GMT  
 Launching external Windows Programs
surely
just

app.path

would tell u where the executable is running from, and that chould include
the drive letter.

--
--

Allan Clements


Quote:
> I asked this question yesterday and recieved a few answers, but Im
curious,
> if there is any other way to achieve this.
> I am trying to make a menu program that will run off of a CD that will be
> used to launch other programs on the CD.  I have been told that the
> ShellExecute API is the way to go, but that sure does seem complicated.
> Would not Call Shell("filename") work?? Im pretty sure it does, but, I
> cannot guarantee that the path to the CD Rom is going to be the same on
> every user.  Is there anyway to find out where the CD in use resides and
> plug it in??  If anyone could help, I would be very appreciative.



Wed, 18 Jun 1902 08:00:00 GMT  
 Launching external Windows Programs
The App.Path would give you the path to your executable, so you would have
the CD-ROM drive letter as well.

Jason Bouzane


Quote:
> I asked this question yesterday and recieved a few answers, but Im
curious,
> if there is any other way to achieve this.
> I am trying to make a menu program that will run off of a CD that will be
> used to launch other programs on the CD.  I have been told that the
> ShellExecute API is the way to go, but that sure does seem complicated.
> Would not Call Shell("filename") work?? Im pretty sure it does, but, I
> cannot guarantee that the path to the CD Rom is going to be the same on
> every user.  Is there anyway to find out where the CD in use resides and
> plug it in??  If anyone could help, I would be very appreciative.



Wed, 18 Jun 1902 08:00:00 GMT  
 Launching external Windows Programs
the app.path property of your menu program will contain the cdrom drive
letter.


Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. 'shell'ing a external windows program withoud windows

2. Launch external program

3. How to launch an external program by VBscript ?

4. QB4.5 External Program Launch Problem

5. !!!!!!!!!!!HELP - Launching External Programs - URGENT!!!!!!!!!!

6. Launching external programs and grabbing their output

7. Access and launching external programs

8. Trying to confirm external program launch

9. Help on launching external program...

10. Launching external programs from Visual Basic

11. Launching External Programs

12. Launching an external program

 

 
Powered by phpBB® Forum Software