Re: adding entry to Start Programs



You'll have to follow the Setup1 code if
you want to do it during setup. Setup1
uses vb6stkit.dll, the fCreateShellLink
function, but you don't have to do it that way.

The following should provide everything you
need to either do it independently or write
it into setup1:

http://www.jsware.net/jsware/vbcode.php3

See the Setup1 project download.

In modShell, in that project, are subs to make
the Start Menu link and a Desktop link. There's
also a function for getting special folder paths.
You should be able to use that to get the
path ( sfidSTARTUP = &H7 ), then use the
AddStartMenuLink sub as a template for a
sub to put a shortcut in the startup folder.
--
mayayanaXX1a@xxxxxxxxxxxxxxxx
(Remove Xs for return email.)
Jack Russell <jackr@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:438b76ed$1@xxxxxxxxxxxxxxxxxxxx
> I want to add a link to my program in Start Programs. Can anyone give me
> an example of how to do this please?
> I cannot quite follow the code in Setup1!
>
> Thanks
>
> Jack Russell


.