B
Bill Angus
I want to make an application that I have been working on a single instance
application. the singleinstance checkbox does not appear anywhere on the
project designer window. I suppose this is a bug of some kind in VStudio or
the the project designer. Can anybody tell me if there is a way to make an
VB 2005 application into a single instance app without using the project
designer checkbox?
I tried to trap the next instance event in "application events", as
below.... but the did not work...
Private Sub me_AlreadyOpen(ByVal sender As System.Object, ByVal e As
Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs)
Handles MyBase.StartupNextInstance
frmPM_Main.Select()
End Sub
any ideas greatly appreciated.
Happy Nnew Year!
Bill Angus, MA
http://www.psychtest.com
application. the singleinstance checkbox does not appear anywhere on the
project designer window. I suppose this is a bug of some kind in VStudio or
the the project designer. Can anybody tell me if there is a way to make an
VB 2005 application into a single instance app without using the project
designer checkbox?
I tried to trap the next instance event in "application events", as
below.... but the did not work...
Private Sub me_AlreadyOpen(ByVal sender As System.Object, ByVal e As
Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs)
Handles MyBase.StartupNextInstance
frmPM_Main.Select()
End Sub
any ideas greatly appreciated.
Happy Nnew Year!
Bill Angus, MA
http://www.psychtest.com