🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14025

Re: Adding item to start menu

#14025
From: Ed Mulroy [TeamB]
Date: Fri, 05 Sep 2003 15:28
24 lines
1748 bytes
You will need to identiry the place where the startup for all users is
located so would want to read about the function SHGetSpecialFolderLocation

http://tinyurl.com/mcs8
    or
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/fun
ctions/shgetspecialfolderlocation.asp?frame=true


You also would want to create a shortcut to the file and place it into that
startup folder

http://tinyurl.com/mcsh
   or
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersgu
ide/shell_int/shell_int_programming/shortcuts/shortcut.asp?frame=true

.  Ed

> FrankW wrote in message
> news:3f589c37@newsgroups.borland.com...
>
> How to add an item to Windows Start/All programs' menu
> in code? thanks.
Technical Details
Message-ID: <3f58ab8a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f589c37@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4068b6dde3fe0644
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-05 08:32:11 PST
From: "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f589c37@newsgroups.borland.com>
Subject: Re: Adding item to start menu
Date: Fri, 5 Sep 2003 11:28:07 -0400
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <3f58ab8a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062775690 24.74.175.102 (5 Sep 2003 08:28:10 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail