Results 1 to 2 of 2

Thread: making application in start up

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2006
    Posts
    88

    making application in start up

    Hi all

    I need to start my application.during windows start-up and it
    should be in the tray icon when window starts.
    like another application which are already as the tray icon during start -up.
    How can i do the same.
    Please help.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: making application in start up

    To put your application in the tray you need to add a NotifyIcon to your form. You would make the NotifyIcon visible, hide your form and set its ShowInTaskbar property to False.

    Starting your app with Windows is up to Windows. You would need to add an entry for your app to either the Startup folder on the Start menu for the user or the system, or else the Software\Microsoft\Windows\CurrentVersion\Run registry key in the HKCU or HKLM hives.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width