DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links