How to Create Short Cut in Startup Menu


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to Create Short Cut in Startup Menu

  1. #1
    Ashraf Chaudhry Guest

    How to Create Short Cut in Startup Menu


    Hi Everyone,

    I know how to create short cut from visual basic application in programs
    menu but I can not create in startup menu which is Start|Programs|Startup.

    Can any one help.

    Thanks.

    A. Chaudhry


  2. #2
    Mattias Sjögren Guest

    Re: How to Create Short Cut in Startup Menu

    Ashraf,

    >I know how to create short cut from visual basic application in programs
    >menu but I can not create in startup menu which is Start|Programs|Startup.


    Use SHGetSpecialFolderPath(CSIDL_STARTUP) combined with
    SHGetPathFromIDList to find out which folder to put it in.

    http://www.mvps.org/vbnet/code/browse/shpathidlist.htm


    Mattias

    ====================================
    Mattias Sjögren - mattias @ mvps.org
    http://www.msjogren.net/dotnet/

    CodeHound - The Software Developer's Search Engine
    http://www.codehound.com

  3. #3
    Mattias Sjögren Guest

    Re: How to Create Short Cut in Startup Menu

    Ashraf,

    >I know how to create short cut from visual basic application in programs
    >menu but I can not create in startup menu which is Start|Programs|Startup.


    Use SHGetSpecialFolderPath(CSIDL_STARTUP) combined with
    SHGetPathFromIDList to find out which folder to put it in.

    http://www.mvps.org/vbnet/code/browse/shpathidlist.htm


    Mattias

    ====================================
    Mattias Sjögren - mattias @ mvps.org
    http://www.msjogren.net/dotnet/

    CodeHound - The Software Developer's Search Engine
    http://www.codehound.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center