"zdrakec" <zd*****@yahoo.com> schrieb:
For Each p as Process in GetProcessesByName(procName)
p.Kill()
Next 'p
fails with message:
"Process performance counter is disabled, so the requested operation
cannot be performed."
'Process' is based on performance counters, if they are disabled or you
don't have rights to access them using 'Process.GetProcesses' will fail. In
Windows 2003 you will have to add the user to a certain group in order to be
able to access performance counters:
<URL:http://groups.google.de/groups?selm=eiSs875PDHA.1072%40TK2MSFTNGP10.phx.gb l>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>