473,385 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

vb.net form minimized with system tray

I am trying to start my application hidden and showing
only the system tray icon.

I have set the property showintaskbar=false however, i
still see a minimized box in the lower left of my screen.

How do i get rid of this?

thx
dave
Jul 21 '05 #1
1 4139
Hi dave

Thanks for you posting in the group!

My idea is setting your project's "Project\Appname Properties...\Startup
Object:" to "Sub Main",
then Add a Module to your project, in that Module create a Sub Main.

In the Sub Main, you can instantiate your main form(e.g. Form1) as
Dim frmMain as New Form1 (Note: it is being create invisible)

To show the Form1:
frmMain.Show()
frmMain.Update()

To hide the Form1:
frmMain.Hide()
Wish it helps!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

Jul 21 '05 #2

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

Similar topics

0
by: Peter Steele | last post by:
I created a tray application and everything works as expected when I run it under Windows XP. However, when I try the application on a PC running Windows NT, the main application form is visible as...
4
by: kurotsuke | last post by:
How can I hide a Form (instead of having it reduced to the taskbar) when the minimize button is pressed in C# (there's an icon in the tray bar)? I added the code protected override void...
4
by: John B | last post by:
I have a utility that minimizes to the system tray. When I double click or right-click and select restore I want to show the window and for it to be the active window again. I have tried...
4
by: - Dan - | last post by:
I have an assembly that opens minimised and uses a notify icon in the system tray. IN the new() I have Me.ShowInTaskbar = False and when the form loads I use Me.WindowState =...
1
by: dave | last post by:
I am trying to start my application hidden and showing only the system tray icon. I have set the property showintaskbar=false however, i still see a minimized box in the lower left of my screen....
8
by: Terry Olsen | last post by:
I want to minimize my program to the tray when minimized. But there's no "minimize" event. So how can I catch this event and use it?
3
by: Raj Wall | last post by:
Hi, I have an application which, when running, is to be seen only in the system tray as a right-clickable icon. However I want the main Form window itself to immediately disappear without...
0
by: shuu | last post by:
Hi I have a application that captures the screen och sends the images to a server. I want to save the destination URL's (like: http://domain.com/dump/img.jpg) to the clipboard, but this only...
2
by: jp2group | last post by:
I have a Main Form that hides in the Task Bar Tray as an Icon until one of the Tray Icon's Menu Items is selected. (think of your antivirus program running there) The program starts up fine and...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.