Start up menu / Shortcut 
Author Message
 Start up menu / Shortcut

I am trying to make a startup screen with buttons to open powepoint files. I
have used the 'shell' command to open applications but i cannot open the
actual file i require in powerpoint. Can anyone help?


Thu, 08 Aug 2002 03:00:00 GMT  
 Start up menu / Shortcut
In your shell statemnet just have "application path" & " " & "file
path"

Kevin

On Sun, 20 Feb 2000 16:36:54 -0000, "Alan Murphy"

Quote:

>I am trying to make a startup screen with buttons to open powepoint files. I
>have used the 'shell' command to open applications but i cannot open the
>actual file i require in powerpoint. Can anyone help?



Thu, 08 Aug 2002 03:00:00 GMT  
 Start up menu / Shortcut
The other way is to use ShellExecute()
This will also be a nice workaround handling application Path.
ShellExecute will automaticaly identify the right app by the
registered classes.



Quote:
> In your shell statemnet just have "application path" & " " & "file
> path"

> Kevin

> On Sun, 20 Feb 2000 16:36:54 -0000, "Alan Murphy"

> >I am trying to make a startup screen with buttons to open powepoint
files. I
> >have used the 'shell' command to open applications but i cannot open
the
> >actual file i require in powerpoint. Can anyone help?

Sent via Deja.com http://www.deja.com/
Before you buy.


Fri, 09 Aug 2002 03:00:00 GMT  
 Start up menu / Shortcut
On Sun, 20 Feb 2000 16:36:54 -0000, "Alan Murphy"

Quote:

>I am trying to make a startup screen with buttons to open powepoint files. I
>have used the 'shell' command to open applications but i cannot open the
>actual file i require in powerpoint. Can anyone help?

You could try the shell command followed by START and then the
powerpoint file. You may need to use the CHR to use the quotes needed
around the file.

eg.

SHELL "START " & chr$(34) & [file name] & chr$(34)
...
SHELL "START " & chr$(34) & "c:\slideshow.ppt" & chr$(34)

See if that works.

MARK



Fri, 09 Aug 2002 03:00:00 GMT  
 Start up menu / Shortcut
Thanks Mark
i used your exaple:

Shell "START " & Chr$(34) & Txt1.Text & Chr$(34)
Else: MsgBox "Incorrect path"

as you can see i am trying to get a message box to return a value if the
path in my Txt1.txt is inccorect can you help

also how would I get the actual Powerpoint presentation to run as it opens,
is this possible?

cheers


Quote:
> On Sun, 20 Feb 2000 16:36:54 -0000, "Alan Murphy"

> >I am trying to make a startup screen with buttons to open powepoint
files. I
> >have used the 'shell' command to open applications but i cannot open the
> >actual file i require in powerpoint. Can anyone help?

> You could try the shell command followed by START and then the
> powerpoint file. You may need to use the CHR to use the quotes needed
> around the file.

> eg.

> SHELL "START " & chr$(34) & [file name] & chr$(34)
> ...
> SHELL "START " & chr$(34) & "c:\slideshow.ppt" & chr$(34)

> See if that works.

> MARK



Sat, 10 Aug 2002 03:00:00 GMT  
 Start up menu / Shortcut
I think you should look at shellexecute (I think that's what it is).

Jon


Quote:
> Thanks Mark
> i used your exaple:

> Shell "START " & Chr$(34) & Txt1.Text & Chr$(34)
> Else: MsgBox "Incorrect path"

> as you can see i am trying to get a message box to return a value if the
> path in my Txt1.txt is inccorect can you help

> also how would I get the actual Powerpoint presentation to run as it
opens,
> is this possible?

> cheers



> > On Sun, 20 Feb 2000 16:36:54 -0000, "Alan Murphy"

> > >I am trying to make a startup screen with buttons to open powepoint
> files. I
> > >have used the 'shell' command to open applications but i cannot open
the
> > >actual file i require in powerpoint. Can anyone help?

> > You could try the shell command followed by START and then the
> > powerpoint file. You may need to use the CHR to use the quotes needed
> > around the file.

> > eg.

> > SHELL "START " & chr$(34) & [file name] & chr$(34)
> > ...
> > SHELL "START " & chr$(34) & "c:\slideshow.ppt" & chr$(34)

> > See if that works.

> > MARK



Sat, 10 Aug 2002 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Start Menu Shortcuts

2. start menu shortcut

3. Start menu shortcuts

4. How do you create Start-Menu Shortcuts?

5. Start Menu \ Adding&Delete Shortcuts

6. How can I create Start menu shortcuts?

7. Creating Start Menu Program Items & Desktop Shortcuts

8. Creating Start Menu Program Items & Desktop Shortcuts

9. creating a shortcut in \Windows\Start Menu directory

10. show a shortcut menu / popup menu / context menu

11. Icons, and Menu Items on the Start Menu.

12. URGENT! Start-menu style popup menu

 

 
Powered by phpBB® Forum Software