'========================================================'
'Closes a process according to its name.
'If multiple processes exist with the same name, they are all closed.
'The Return Value is tell us that how many processes of the same name have been closed at same time.
'The number of instances of the application that are closed when the statement runs.
If j = i Then
Reporter.ReportEvent micPass, "SystemUtil.CloseProcessByName passed", "j = " & j & ", i = " & i
Else
Reporter.ReportEvent micFail, "SystemUtil.CloseProcessByName Fail", "j = " & j & ", i = " & i
End If
'========================================================='