Re: Auto-boot vb program from cd
On Mon, 17 Nov 2003 19:33:54 -0000, "Roy Riddex"
<roy_riddexNOSP AM@blueyonder.c o.uk> wrote:
<snip>[color=blue]
>As I said, I don't want VB to do anything with the file other than to act as
>a shortcut to the file.
>Here goes, I have a simple form which I hope to autorun when a cd is
>inserted into the drive. All I want the form to do is provide links (via
>command buttons) to allow a user to view the files. I need to be able to
>provide links to word, access, excel and powerpoint files. I am completely
>new to VB6 (aint programmed for over 10 years since school on bbc micro) and
>I assumed having links to other files would be easy but so far it's been a
>nightmare.
>Can someone please tell me in simple terms how to link the pressing of a
>command button to the opening of word and the opening of a document, or the
>opening of powerpoint and the opening of a powerpoint file etc....[/color]
1. Goto www.AllAPI.net
2. Download their API Guide
3. Look inside it for ShellExecute
HTH
On Mon, 17 Nov 2003 19:33:54 -0000, "Roy Riddex"
<roy_riddexNOSP AM@blueyonder.c o.uk> wrote:
<snip>[color=blue]
>As I said, I don't want VB to do anything with the file other than to act as
>a shortcut to the file.
>Here goes, I have a simple form which I hope to autorun when a cd is
>inserted into the drive. All I want the form to do is provide links (via
>command buttons) to allow a user to view the files. I need to be able to
>provide links to word, access, excel and powerpoint files. I am completely
>new to VB6 (aint programmed for over 10 years since school on bbc micro) and
>I assumed having links to other files would be easy but so far it's been a
>nightmare.
>Can someone please tell me in simple terms how to link the pressing of a
>command button to the opening of word and the opening of a document, or the
>opening of powerpoint and the opening of a powerpoint file etc....[/color]
1. Goto www.AllAPI.net
2. Download their API Guide
3. Look inside it for ShellExecute
HTH
Comment