By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,960 Members | 990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,960 IT Pros & Developers. It's quick & easy.

GetProcesses fails

P: n/a
The following code fails:

Dim lxAllProcesses As Process() = Process.GetProcesses

Moreover, enclosing it in a Try...Catch does not catch an error. The code
simply stops running (in debug mode the application seems to hang).

The only thing 'different' is that I recently upgraded Symantec's Norton
Internet Security to 2005. After I ran a complete virus scan (which did not
turn up any viruses) and rebooted, the code worked - briefly. But by the
next day it didn't work again. I'm not certain that the problem is even
related to Norton, but I can't think of anything else. I'm running Windows
XP Pro, sp2 (not Windows 2000, for which there is a documented issue), and
coding in Visual Studio 2003.

Additionally: disabling Norton does NOT fix the problem.

Any help would be appreciated...
--
Fred de Picciotto

--
Fred de Picciotto
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.