| | |
Making a Single Instance Application Reappear
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2008
Posts: 2
Reputation:
Solved Threads: 0
Hi Guys,
I created a single instance C# application tool that I use in my work every day. I assigned a windows shortcut key so that I can launch it using keyboard and I created it so that it will only appear in my system tray when minimized and not in my task bar. I intend to make my application re-appear when I press the shortcut while it's minimize, but it doesn't seem to work when it's not visible from the taskbar, but when I remove the part of the code that makes it appear only in system tray the application reappears alright. Thanks in advance.
O.L.
I created a single instance C# application tool that I use in my work every day. I assigned a windows shortcut key so that I can launch it using keyboard and I created it so that it will only appear in my system tray when minimized and not in my task bar. I intend to make my application re-appear when I press the shortcut while it's minimize, but it doesn't seem to work when it's not visible from the taskbar, but when I remove the part of the code that makes it appear only in system tray the application reappears alright. Thanks in advance.
O.L.
Last edited by orlandolee; May 7th, 2008 at 11:55 pm.
•
•
Join Date: Jun 2008
Posts: 3
Reputation:
Solved Threads: 1
Hi, I have a good page on my site about this
http://dotnetperls.com/Content/Singl...dows-Form.aspx
It has a way to recover windows that have been minimized and released by Windows.
It stinks that this is so hard
Sam
http://dotnetperls.com/Content/Singl...dows-Form.aspx
It has a way to recover windows that have been minimized and released by Windows.
It stinks that this is so hard

Sam
![]() |
Other Threads in the C# Forum
- Previous Thread: Open and Close Winform
- Next Thread: using "like" in C#
| Thread Tools | Search this Thread |
.net access algorithm alignment array barchart bitmap box broadcast buttons c# c#gridviewcolumn check checkbox client combobox communication control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing elevated encryption enum event excel file focus forloop form format forms function gdi+ hospitalmanagementsystem httpwebrequest image index input install java label list listbox localization login mandelbrot math messagebox mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox server sleep socket sql statistics stream string stringformatting sun table text textbox thread time timer update usercontrol validation visualstudio webbrowser whileloop windows winforms wpf xml





