diff --git a/GBM/Forms/frmGameManager.vb b/GBM/Forms/frmGameManager.vb index 7b645ed..f1fb9c2 100644 --- a/GBM/Forms/frmGameManager.vb +++ b/GBM/Forms/frmGameManager.vb @@ -1330,13 +1330,6 @@ Public Class frmGameManager Return False End If - If oApp.Parameter <> String.Empty Then - If mgrMonitorList.DoDuplicateParameterCheck(oApp.ProcessName, oApp.Parameter, , sCurrentID) Then - mgrCommon.ShowMessage(frmGameManager_ErrorProcessParameterDupe, MsgBoxStyle.Exclamation) - Return False - End If - End If - If oApp.IsRegEx Then If Not mgrCommon.IsRegExValid(oApp.ProcessName) Then If mgrCommon.ShowMessage(frmGameManager_ErrorRegExFailure, MsgBoxStyle.Exclamation, MsgBoxStyle.YesNoCancel) = MsgBoxResult.Yes Then diff --git a/GBM/Managers/mgrMonitorList.vb b/GBM/Managers/mgrMonitorList.vb index f880b3e..353f2fc 100644 --- a/GBM/Managers/mgrMonitorList.vb +++ b/GBM/Managers/mgrMonitorList.vb @@ -341,31 +341,6 @@ Public Class mgrMonitorList End If End Function - Public Shared Function DoDuplicateParameterCheck(ByVal sProcess As String, ByVal sParameter As String, Optional ByVal iSelectDB As mgrSQLite.Database = mgrSQLite.Database.Local, Optional ByVal sExcludeID As String = "") As Boolean - Dim oDatabase As New mgrSQLite(iSelectDB) - Dim sSQL As String - Dim oData As DataSet - Dim hshParams As New Hashtable - - sSQL = "SELECT * FROM monitorlist WHERE Process = @Process AND Parameter = @Parameter" - - hshParams.Add("Process", sProcess) - hshParams.Add("Parameter", sParameter) - - If sExcludeID <> String.Empty Then - sSQL &= " AND MonitorID <> @MonitorID" - hshParams.Add("MonitorID", sExcludeID) - End If - - oData = oDatabase.ReadParamData(sSQL, hshParams) - - If oData.Tables(0).Rows.Count > 0 Then - Return True - Else - Return False - End If - End Function - 'Sync Functions Public Shared Sub DoListAddUpdateSync(ByVal hshGames As Hashtable, Optional ByVal iSelectDB As mgrSQLite.Database = mgrSQLite.Database.Local, Optional ByVal eSyncFields As clsGame.eOptionalSyncFields = clsGame.eOptionalSyncFields.None) diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb index 71c67f4..77f5fb0 100644 --- a/GBM/My Project/Resources.Designer.vb +++ b/GBM/My Project/Resources.Designer.vb @@ -1995,15 +1995,6 @@ Namespace My.Resources End Get End Property - ''' - ''' Looks up a localized string similar to A game with this exact process and parameter already exists.. - ''' - Friend ReadOnly Property frmGameManager_ErrorProcessParameterDupe() As String - Get - Return ResourceManager.GetString("frmGameManager_ErrorProcessParameterDupe", resourceCulture) - End Get - End Property - ''' ''' Looks up a localized string similar to The process is not a a valid regular expression.[BR][BR]Would you like help validating and testing your regular expression? [BR][BR]This will open your web browser and requires the internet.. ''' diff --git a/GBM/My Project/Resources.resx b/GBM/My Project/Resources.resx index 15ec306..23a0358 100644 --- a/GBM/My Project/Resources.resx +++ b/GBM/My Project/Resources.resx @@ -1768,9 +1768,6 @@ Parameter: - - A game with this exact process and parameter already exists. - [PARAM] B