473,480 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 4140
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
1179
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
6416
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
3445
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
1332
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
367
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
47145
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
3317
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
925
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
1992
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
7045
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,...
0
7087
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5341
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,...
0
4483
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...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2985
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
182
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...

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.