Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you add a shortcut to the start menu 1

Status
Not open for further replies.

jerry1117

Programmer
Sep 29, 2003
20
US
How do you add a shortcut to the start menu using a program instead of manually doing it.
 
Jerry1117,

Use the technique described in my article "Creating desktop icons for Visual FoxPro applications" (at but where the article says:

cDeskPath = oWsh.SpecialFolders("desktop")

change that to:

cDeskPath = oWsh.SpecialFolders("StartMenu")

All the other details will be the same.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Thanks Mike. I was close. I tried
cDeskPath = oWsh.SpecialFolders("Start Menu")
Should have dug a little deeper.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top