How To Watch Process Activity

Jun 30, 2012

How to watch process activity ?

View 10 Replies


ADVERTISEMENT

Watch If New Process Start?

May 27, 2010

Is there a way to get info like process name of started program, so if i start internet exp. it will detected it and get like iexplorer.

View 9 Replies

Launch And Watch A Process From .NET 2010?

Mar 9, 2011

I am working on an application that needs to launch Microsoft Word, and then resume when the user closes Word. The code below should work, but it does not. I get an 'object not set to an instance of an object'

1 Dim pInfo As New ProcessStartInfo
2 Dim P As New Process
3 pInfo.FileName = "C: estLLR.doc"
4 P = Process.Start(pInfo)
5 ''# Here is where it goes bad
6 P.WaitForInputIdle()
7 P.WaitForExit()

I put p into the watch window and it shows a a system.diagnostics.process in the watch after line2, but after line 4 it return to NOTHING. The process launches, but I can not monitor it any longer with lines 6 & 7. Is this a 'limitation' of Visual Studio 2010 or am I making an operator error? The MS Help does not show process available in the 2010 version (it is in Visual Studio 2005 and Visual Studio 2008).

[Code]...

View 1 Replies

Make Program Watch Another Process?

Jan 23, 2009

How can I make my program watch another process? For example if I open internet explorer it shows the process as iexplore.exe. Now if I wanted to close my program when I closed iexplore.exe how would I do that?

View 4 Replies

Determine When App Has Had Any Activity?

Nov 11, 2011

Does anyone know of a way to detect recent activity in a VB.net windows forms application?

We have a retail store where users share floor computers, the application will be on each machine and require a log in before use. I am trying to find a way to automatically close the application if it has been idle for lets say 10 minutes.

I guess I could do something similar with the current windows log on session - set a gp that logs the user out after 10 minutes of inactivity - but if there is an easy, non memory intensive way to do it in vb.net i would rather use that method

View 4 Replies

Display NIC Activity In A Form?

Jul 22, 2009

I'm in the process of creating a tool that allows users to download stuff from a LAN server. The progress of the download is now being shown as a progress bar that performs a step each time a file is downloaded.

But if the file is a large file (Let's say a 2 GB file) it'll take a while before the progressbar performs a step and the user might think the tool froze up and close it. Now i'm wondering if there's a way to show the activity on the NICs installed. Something like when you open up task manager and go to the "Networking" tab. Showing it as a graph would be awesome or just a percentage is good aswell I have NO idea where I should start looking..

View 3 Replies

Pause All Windows Activity?

Dec 8, 2011

I am using VB.NET 2005 and am looking for a code example that can pause all Windows applications the same way changing desktop themes does. I want all background applications to fade to black and white while allowing the foreground application to continue normally.

View 4 Replies

Stop Application When No Activity?

Oct 6, 2010

I have an application in wich I have included a timer wich close automatically the application when no activity is detected.My problem is that when I make 'some activity' like accesing something, I do not know how can I reset the timer to 0.

View 10 Replies

User Activity Log In Vs2008?

Feb 15, 2012

sample code of a user's activity log ..where it records the time of login and logout of the user .. and also records the users deleted, created and updated data..

and should i also create a table in the database for activity log?

View 9 Replies

VS 2005 Windows Services - Process Is Listed As A SYSTEM Process Rather Than A Process Under User Name

Jun 4, 2009

I have written a windows service that is meant to launch a notepad when a specific action happens. The problem i have is that even though the service launches notepad, the actual notepad it self is NOT visible. I know that it has been launced because i can see the process in the task manager. By the way the process is listed as a SYSTEM process rather than a process under my user name (i believe that is because my process is a "LocalSystem" one).

View 4 Replies

C# - Task/activity Precedences/dependencies?

Jul 9, 2010

i am looking for some .net based library/piece of code to implement task/activity scheduling like microsoft project scheduling in following cases...

Finish to Start
Finish to Finish
Start to Finish

[code]....

View 2 Replies

IDE :: Exception Error During Long Activity?

May 18, 2009

I'm developing a utility that will look through Active Directory and find anyone that hasn't logged in 90, 120, 180, 365 days. Between what I know and researched on here I've pieced together code that works part of the time. When I LDAP a container with approx 2000 or less user objects it will work, but when I LDAP the entire directory it loops through approx 60,000 user objects.Part of the way through it returns the following warning:

ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x4dbc88 to COM context 0x4dbdf8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.

When I tell it to continue it goes a little further before finally hitting a OutOfMemory Exception:

[Code]...

View 1 Replies

Monitor Drive Activity In 2008?

Jan 6, 2010

I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.

View 4 Replies

Monitor Drive Activity In Vb 2008?

Jan 6, 2010

I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.

View 1 Replies

Tracking Full Browser Activity

Sep 24, 2011

I want to have a VB.Net windows application that monitors the page, and when it detects certain events it triggers some actions based on the data in the page. I've been searching like crazy for some mechanism to "hook" into the browser and hopefully inspect the messages transmitted for the application to know how to react.I've seen the SHDocVw COM object, which comes very close. But when I use the BeforeNavigate2 event, it only seems to fire for GETs, and once I'm on the page where the information is displayed/refreshed the event is not raised.Short of reverse engineering the page, or having to write some kind of proxy...is there a good way to do this in VB.Net?

View 1 Replies

VS 2008 - How To Monitor Drive Activity

Jan 6, 2010

I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.

View 3 Replies

VS 2008 Logging Connections / Activity

Dec 22, 2010

I'm wondering if its possible to log who is connecting remotely to my local hard drive and also log what they do if possible?A lot of people access my hard drive and im curious to what they do while there.

View 1 Replies

.net - Asp.Net Membership System Last Activity Date In The Future?

Oct 5, 2011

I'm using the ASP.Net Membership system but I'm having an issue with the LastActivityDate for the users in the database. For some users, their last activity date is in the future...

View 3 Replies

GC Pauses Full Application Activity For Few Seconds

Nov 18, 2010

I am building a web crawler in .Net which executes approx 500 httpwebrequests at a time. Everything runs fine but the problem arise at some points; Looks like garbage collection thread takes over the whole application pause for a few seconds. Is there anyway that reduce the delay generated by GC.

View 1 Replies

Monitoring Directory For File Activity In 2010

Jan 17, 2011

I'm trying to write a simple program to monitor a folder for new files in VB.NET 2010, and am having some trouble. Here's a simplified version of what my program looks like:

[Code]...

View 1 Replies

Monitory Drive Activity In Program 2008?

Jan 6, 2010

I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.

View 3 Replies

C# - Which Design Pattern For Activity Logging (Audit Trailing)

Jun 15, 2012

I have a winform which allows people to edit data from a database, to simplify things assume there is a Customer table in database with 3 fields - Name, City, Country. Through winform(s) people can Add/Edit/Delete customers.For each of these actions we need to save:

What the field names are (Name,City,Country in this case)What the field values were before they were modified What the field values are after they are modified.If the action is Add or Delete then 2 and 3 will be the same.I have already implemented this using XMLSerialisation (but not using any of the design patterns) and my XML output looks like this.

<?xml version="1.0" encoding="utf-8"?>
<ActivityItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<UserID>26</UserID>
<FormTitle>frmCustomer</FormTitle>

[code]....

The solution can handle different areas of the system with different number of fields (i.e the same thing works when you are modifying Products for instance).is there a well defined design pattern to deal with this kind of behavior?

View 2 Replies

Performance :: SLOW Compile Time - No Disk Or CPU Activity?

Aug 12, 2009

We have a project for a client that is written in VB.NET. In one of the projects, we have about 100 modules, which are all VERY simple. They're extension methods that convert between object types. Here is a small snippet:

Public Module ScheduleExtensions
<System.Runtime.CompilerServices.Extension()> _
Public Function ToServicesData(ByVal source As Schedule) As ScheduleServicesData

[code].....

View 2 Replies

VB Program - Getting A Error From My Antyvirus That My File Has Been Doing Suspicuous Activity

Oct 20, 2010

Well im getting a error from my antyvirus that my file has been doing suspicuous activity and i dont know how to correct it.

For refrence i have Norton 360 antivirus... 2010

View 8 Replies

VS 2010 Detect Global Activity In An Form And All Their Controls?

Sep 3, 2010

there is any event or way to detect activity in an form or project?in the form and all the child controls.

mainly mouse clicks (not mousemove) and key press.

for example, if the form have not activity in the lasts 10 minutes, do something.

View 7 Replies

.net 4.0 - Add Watch Stop When Value Changes?

Jan 25, 2011

I know in the older versions of Visual Studio, there was an "Add Watch" option where you can choose to stop execution when the value of the field changed. I am using VS 2010, and I can't figure out how to hit the breakpoint when the value of the field changes.

View 2 Replies

How To 'watch' A Variable

Jan 23, 2010

i have a variable that changes every few minutes and I am trying to find out the best way of going about 'watching' that variable and simply changing the text of a label based on the returned variable

so pseudo code on a button click at the moment i have a function that returns this variable

label1.text=myfunction.getName()so this works fine , It seem ugly to have some kind of sleep function that loops every couple of seconds to run myfunction.getName() every 2 seconds , as a bit of a newbie , I am just wondering how I can set up a function that basically says 'when myfunction.getName() changes , then change label1.text'

View 6 Replies

Force A User To Log Back Into To An Application If No Activity Is Detected For X Minutes?

Apr 22, 2010

I would like to try and implement a feature wherby once you have logged into an application (straightforward winforms application) and had your credetials verified the application would then force you to log on again if no activity had been detected in the application for a certain number of minutes. In essence I want to provide some extra security for those occasions when users get up and wander away from their machines for prolonged periods.

I have all the logic for logging into the application, it's just the checking for no activity over a given period and then forcing the user to log back in again that I'm not having much luck with.

View 2 Replies

Winforms - Making A Form Halt Other Program Activity Like A Messagebox

Feb 29, 2012

I want to create a custom form (in visual basic .NET) that will stop other process responsiveness until the form is acknowledged. It would be a nice bonus if I can add a beep when trying to access the main program UI while this form is displayed as well (like how a messagebox does).

[Code]...

View 1 Replies

.net - Watch For Files In A Folder?

Aug 29, 2009

I need to watch a folder in our network and if any files get dropped in any time of the day I need to ftp to a different folder.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved