V
VJ
I get the below error,
System.InvalidOperationException: Process performance counter is disabled,
so the requested operation cannot be performed. at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library) at System.Diagnostics.NtProcessManager.GetProcessInfos(String
machineName, Boolean isRemoteMachine) at
System.Diagnostics.ProcessManager.GetProcessInfos(String machineName) at
System.Diagnostics.Process.EnsureState(State state) at
System.Diagnostics.Process.get_ProcessName()
when this line of code executes
If
UBound(Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.ProcessName))
on just one TABLET PC which is Running Microsoft Windows XP Tablet PC
Edition The user I am running my program is a Administrator user. I am not
sure how this happens, I have read in some forums that this will happen only
in Limited user accounts. What else can I do to check for multiple instance
of my application opening
Vijay
System.InvalidOperationException: Process performance counter is disabled,
so the requested operation cannot be performed. at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library) at System.Diagnostics.NtProcessManager.GetProcessInfos(String
machineName, Boolean isRemoteMachine) at
System.Diagnostics.ProcessManager.GetProcessInfos(String machineName) at
System.Diagnostics.Process.EnsureState(State state) at
System.Diagnostics.Process.get_ProcessName()
when this line of code executes
If
UBound(Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.ProcessName))
0 Then
on just one TABLET PC which is Running Microsoft Windows XP Tablet PC
Edition The user I am running my program is a Administrator user. I am not
sure how this happens, I have read in some forums that this will happen only
in Limited user accounts. What else can I do to check for multiple instance
of my application opening
Vijay