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


ADVERTISEMENT

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

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

VS 2010 Allow No "activity" Outside Of A Form?

Jun 16, 2011

I was wondering how you would go about making it so that, whenever you have a form open, or showing, that it won't allow any other clicks outside of the form content. Kind of like when a critical windows error shows up, and you can't do anything on your computer, until you press the "Ok" button to get rid of that popup message first.

How would you do that with a form?

Let's call it Form 1 and form 2 for example. I have form 1 as a default for when the application starts, but when I want form 2 to show, I want the user to have to deal with that form first before they can do anything else on their computer.

View 12 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

How To Watch Process Activity

Jun 30, 2012

How to watch process activity ?

View 10 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

Timer - When The Message Box Stops, Then It Display The First Form Then Stop To Display?

Apr 8, 2011

I have a problem in timers, I want to display 2 forms each one after 3 and 5, how to do that? I mean when the first form appears, after 3 seconds another one will appear, then after 5 seconds the second will appear. I have a code where someone gave me here but its for message box only, thus I modify it to put a form still does not work. Here the code I put in the timer below:

Private Sub frmblabla_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
tmrnote.Start()
Private Sub tmrnote_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrnote.Tick[code]....

I still have problem when the message box stops, it displays all the forms together. All I want is when the message box stops, then it display the first form then stop to display the second then stop to display the last. The first form must stay for 3 seconds on the screen, then after 3 seconds the second appears then after 5 seconds the last appears.

View 2 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

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

Crop Form Screenshot - Screen Capture Of Twindows Form And Display Only A Certain Specified Area

Aug 2, 2010

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.PictureBox1.Load(bm2)

[CODE]...

So I'm trying to take a screen capture of the windows form and display only a certain specified area of that screen capture in a picturebox on a different form. Kind of like this. First, take the screen capture of the form: Then get a specified area of that form through x,y coordinates or something and display it on a picturebox on a separate form.

View 1 Replies

VS 2010 Display Pdf File Inside A Form That Gets Some Values From Form Controls?

Sep 27, 2010

Inside a form, I would like to display a pdf file which is already available in my resources (template file "untitled"). In this pdf file, I have some fields which get their values from some texboxes in another form. My aim is, when the user triggers the button to call this form, it should insert the values inside the pdf file and display the output pdf inside the form.I have written the code to an extend but could not finish it myself after my many trials... Now here are the two things I cannot manage:I can use a directory to read the template pdf "untitled1.pdf". But my aim is to use the file inside my resources. can save the output file in a directory but this is not I want to do. I want to display the output pdf.

View 1 Replies

C# - Display A Form Inside Another Form Like Visual Studio

Jan 19, 2011

How does Visual Studio and other similar programs display a form in their IDE? Is it possible to achieve the same or a similar effect using C# or VB.NET?

View 3 Replies

Disable Parent Form When A Child Form Is On Display

Mar 15, 2012

my application have a main form. i have set the isMDIcontainer to true on the form properties. How do i set other forms to child form of the parent. i need to do this because the other forms start position is CenterParent.but as it is now when i run the program the other forms start position is not the parent form centre.Secondly, how do i disable the parent form when a child form is on display. so that user cannot click on the parent form until the child form is closed.

View 1 Replies

Display The Main Form And Close The Login Form?

Sep 2, 2011

VS2010 VB.NET windows form app I have a login form that is my startup form.when uer hits OK I display the main form and close the login form, like this:

PrivateSub OKButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OKButton.Click
frmMain.Show()Me.Close()EndSub Problem is the application closes with me.close. Why? How can I close only the login form and leave the main form urnning???

View 3 Replies







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