473,325 Members | 2,442 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

GetProcesses fails

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
0 790

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Raj | last post by:
Hi! Every time my applicaiton call "System.Diagnosis.Process.GetProcesses() and some other related APIs in dotnet framework, it throws the following exception: "An unhandled exception of type...
0
by: David Hwang | last post by:
Need help to find out why GetProcesses() failed. I have given 'administrators' right to ASP .NET machine user, what else? ========================================== Access is denied...
1
by: Mircea Pleteriu | last post by:
Hi all, I want to get the list of active/running processes on some remote machines in the same LAN my application run. I always get a System.InvalidOperationExpection exception with the message...
5
by: Jane | last post by:
Hi, I try Process remoteByName = Process.GetProcesses(); it works but when I try Process remoteByName = Process.GetProcesses("localhost"); it fails with invalid operation please Help me!...
7
by: Denis Brkljacic | last post by:
Hi, I have made some simple ASP.NET (C#) application, that somewhere uses this command: Process aProcesses = Process.GetProcesses(Environment.MachineName); This command purpose is to find...
10
by: Tomas Vera | last post by:
Hello All, I'ma having trouble getting GetCurrentProcess() to work properly. What I'm trying to accomplish is list all running processes. But my call get GetProcesses() hangs. While testing...
0
by: David Hwang | last post by:
I am trying to call GetProcesses() on local machine to get a listing of all processes, but am getting the following error messages. I thought by given "administrators" privilege to ASP .NET...
1
by: Roger | last post by:
When looking through the list created by the System.Diagnositc.Process.GetProcesses and verifying it with the Task Manager Process list. There are items in the Task Manager Process list that are...
2
by: Nadav | last post by:
Hi, I'm using System.Diagnostics.Process.GetProcesses("remoteMachine") on a couple of remote machines. In some machines I get an exception: "Feature is not supported for remote machines." How...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.