Strange Error...

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top