473,779 Members | 2,078 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
http://www.freesoftwarereviews.com

--
Trey
http://www.freesoftwarereviews.com
contact me: trey [AT] freesoftwarerev iews [D0T] com
Jul 17 '05 #1
1 4376
Trey Hunner <ys***@nospamAt freesoftwarerev iews.com> wrote in message news:<Ek******* ************@tw ister.socal.rr. com>...
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.


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.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4751
by: Austin | last post by:
I wrote a GUI program with wxPython. In the window, there are 3 attributes on left top. "_" could let the program to minimize to tool bar. I want to let the program minimized to the system tray. Is there any way to let the window have 4 attributes? "." "_" "O " "x"
2
8151
by: varadha | last post by:
Hi, i want to create a VC++ application that minimizes to system tray when i minimize it. This application should be running in the background and doing it process(Just like Yahoo messanger which minimizes to the syetem tray when we minimize it). Can u help me out in this.
4
17393
by: mphanke | last post by:
Hi, how can I minimize an application to the tray? Snippets welcome. Martin
1
377
by: Xarky | last post by:
Hi, I followed the follwoing post to minimize application to system tray. http://groups.google.com/groups?hl=mt&lr=&threadm=ODOAWyDwEHA.3084%40TK2MSFTNGP10.phx.gbl&prev=/groups%3Fnum%3D25%26hl%3Dmt%26lr%3D%26group%3Dmicrosoft.public.dotnet.languages.csharp%26start%3D25 Now, when application is in system tray, I tried to double click on it to open, but its not opening. I added the following code private void trayIcon_DoubleClick(object...
3
4965
by: Maka Sili | last post by:
Hi, My VC++ application does not have a titlebar (and therefore no System menu, no minimize, no maximize and no close button). We have a custom button for minimize and close. When the app is in normal/maximized view, clickinng on the taskbar entry does not minimize the application. Normally (with apps with titlebar), the application would minimize when you click on
4
4101
by: steve | last post by:
hi all, i was wondering how is it possible to add an extra box ( i think they are called boxes: upper right corner ...) in a form that will minimize it in the system tray? You know some applications have a 4th one (apart from the square , bar and X ) which contains a dot and once u click it minimizes the application to the tray. TIA
8
4548
by: Avi G | last post by:
Hi, i've created an application and i want it to be minimized to the sys tray, how i do it? if you can direct me step by step even with create a small application and put it in the sys tray Thanks
1
2856
by: zakhirn | last post by:
Anyone have code that creates a button that will Minimize Excel to the system tray. I do not need anything complicated like changing the minimize button or the close button to a minimize to tray button. I have a Form that pops up when excel loads, and I will add a command button called Minimize that I just want to minimize excel to the system tray.
3
14287
by: Jimmy | last post by:
I'm kinda newbie to python and wxPython. Now I'm confronting a thorny problem: how can I make my program minimize to the taskbar represented as an ico, and when there is some message from network coming, it will pop out?
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10306
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6727
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5504
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.