Title:
Single-instance-applications Download
Description: Visual Studio 2005 brings new way of creating single instance applications via help of Application Framework. But to be able to use Application Framework, application must start with form. That s right - no support for tray-ed applications at this point.
To overcome this limitation one must implement its own multiple instance management. Most traditional usage is to use mutex for detecting second instance. Problem is that first instance does not know when second instance fires. To overcome this behavior we must implement some kind of communication mechanism between instances. This will allow us to use custom action when second instance fires - like opening our main application window.
To Search:
File list (Check if you may need any files):
Binaries
........\Highlander.dll
........\HighlanderSample.exe
HighlanderAss
.............\clsHighlander.vb
.............\clsNamedPipe.vb
.............\cls_.vb
.............\HighlanderAss.vbproj
.............\HighlanderAss.vbproj.user
.............\My Project
.............\..........\Application.Designer.vb
.............\..........\Application.myapp
.............\..........\AssemblyInfo.vb
.............\..........\Resources.Designer.vb
.............\..........\Resources.resx
.............\..........\Settings.Designer.vb
.............\..........\Settings.settings
HighlanderSample
................\clsMain.vb
................\clsTray.vb
................\frmMain.Designer.vb
................\frmMain.resx
................\frmMain.vb
................\HighlanderSample.vbproj
................\HighlanderSample.vbproj.user
................\Main.ico
................\My Project
................\..........\Application.Designer.vb
................\..........\Application.myapp
................\..........\AssemblyInfo.vb
................\..........\Resources.Designer.vb
................\..........\Resources.resx
................\..........\Settings.Designer.vb
................\..........\Settings.settings
HighlanderSample.sln
HighlanderSample.suo