TrayNotifyIcon/Form Help Required
I have built an application that has two forms, NotifyIcon...
Form1 & 2 are both FixedSingles (ControlBoxes = False)
The program runs at Windows Startup, but is always shown on screen. How do I minimize to tray on Windows Startup?
When I backup my e-mail (200 MB), I would like for the second form to show displaying a message backing-up in a label on a form... When the backup has finished, I want the form to unload.
If the program is minimized to the Sysyem Tray, I still want the second form to appear on screen when a backup is being performed.
I have tried this, but without success:
Dim frm2 as New Form2
frm2.ShowDialog()
Backup routine here
frm2.Hide()
--------------------------
However, when I display the second form the program stops executing , and the backup is not performed until the second form is unloaded. What do I need to do to continue execution of the backup whilst the second form is displayed?
Thanks in advance for your help