Minimize to tray only on starup/login

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Trey Hunner

    Minimize to tray only on starup/login

    I am creating an open-source alternative to LAN messengers in VB. Right
    now I have a system tray icon appear when the program loads and it works
    fine. I now need get the form to recognize if it has been executed on
    startup or not (from registry key etc.) and minimize itself if it has.
    An example of a program that does this is Winkey (
    http://download.com.com/3000-2344-91...ml?tag=lst-0-1 ).

    Thank you in advance.


    On another note:
    If anyone would like to add anything to my program or redistribute their
    own version under the GNU GPL then please feel free to do so. If you
    think you additions are of use then please show them to me and I will
    probably put your alternative version on the site. The program is still
    under heavy development and the latest version has many test MsgBox
    commands after certain actions that I have not yet fixed. The URL is


    --
    Trey

    contact me: trey [AT] freesoftwarerev iews [D0T] com
  • Bob Butler

    #2
    Re: Minimize to tray only on starup/login

    Trey Hunner <yspam@nospamAt freesoftwarerev iews.com> wrote in message news:<Ekl9c.275 30$h85.19360@tw ister.socal.rr. com>...[color=blue]
    > I am creating an open-source alternative to LAN messengers in VB. Right
    > now I have a system tray icon appear when the program loads and it works
    > fine. I now need get the form to recognize if it has been executed on
    > startup or not (from registry key etc.) and minimize itself if it has.[/color]

    the simplest option is to have the app check Command$ for a
    command-line switch (e.g. /minimize) and have the startup shortcut
    and/or registry 'run' key entry include the switch.

    Comment

    Working...