diff --git a/Deploy-Office-2019.vbproj b/Deploy-Office-2019.vbproj index 3e43776..69d7fb6 100644 --- a/Deploy-Office-2019.vbproj +++ b/Deploy-Office-2019.vbproj @@ -91,6 +91,7 @@ True Application.myapp + True True diff --git a/My Project/Application.Designer.vb b/My Project/Application.Designer.vb index dcc7fbb..01c1988 100644 --- a/My Project/Application.Designer.vb +++ b/My Project/Application.Designer.vb @@ -24,7 +24,7 @@ Namespace My _ Public Sub New() MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false + Me.IsSingleInstance = true Me.EnableVisualStyles = true Me.SaveMySettingsOnExit = true Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses diff --git a/My Project/Application.myapp b/My Project/Application.myapp index db2c607..6a1b2fa 100644 --- a/My Project/Application.myapp +++ b/My Project/Application.myapp @@ -2,7 +2,7 @@ true Main - false + true 0 true 0