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
ADVERTISEMENT
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
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
Nov 1, 2009
I am trying to make an application with a start button and a stop button on a stop watch program. These are the codes I am using but my seconds on the stop watch don't start.
Public Form Dim intSecond As Integer = 0
Form 1
Private
Dim intSecond As Integer = 0
intSecond +=1
[Code]...
After I write my code and try to run the program, the seconds will not start,
View 3 Replies
Nov 12, 2009
vb.net application, when the user closes the last form (the code is me.close) the application looks to stop, but it is still running in taskmanager?
View 17 Replies
Jul 7, 2010
I have a windows forms application that has no form and it runs in the background. It using a webbrowser control to get information off the internet.The program is that when I add the event handler:webbrowser.documentcompleted the program just shuts down. If i put a message box after the event handler then it works just fine because the webrowser has time to load the document. How can I do some like console.readkey that you would do in a console application?
View 11 Replies
Jun 2, 2009
I have something to ask again.. I develop a program that will send bulk messages but the problem is that when I load at least 1000 emails then I want to stop the application I cannot stop it. Is there any way to stop this application without closing the form? So that i can save the file on my listview? Here is my code upon send bulk emails. [code]...
View 6 Replies
Aug 13, 2011
I have created a small program but the code is quite big.
I have a start button that when clicked it runs the script in a private sub called start(), when it gets the the ens it calls the start() again to loop it and restart the script.
I have added a stop button, but how do i make the script stop ?
View 1 Replies
Jul 2, 2010
We are developing an application in VB.NET 2008. We break the application into smaller multiple dlls so that we can easily update the program at the customer end.We want to know that is their any way to stop the other person to use my dll in their application?i.e we want to lock the dlls such a way that the dlls will be used by us only and not anybody in their application.Also we want to block viewing of dlls code using any code reflector
View 1 Replies
Feb 1, 2012
The application run normally fine on several computer but today we got the error
View 6 Replies
Aug 12, 2011
I have an application in which there is a do...loop. I need the do...loop to perform some code and then stop for .1 of a second. When i try using System.Threading.Thread.sleep(), a wait cursot comes up and the application stops working. I was wondering if there was any way to get the thread to stop without stopping the application.
View 5 Replies
Feb 15, 2012
Guys anyone know how to stop or close a running program remotely through a vb.net program? am already aware on how to run or open one using the System.Diagnostics.Process.Start method. I would be needing it in my next projec
View 8 Replies
Jan 25, 2012
I believe I have found a solution! I will be continuing testing to make sure it DOES in fact work, but I'm hopeful :) I have detailed how I found the solution in EDIT THREE of the question.
For anyone wishing to know the full background behind my problem and what I have kind of tried as a result of input from this question, see this: [url]
I will be editing this frequently (>3 times a day most weekdays) as I progress my research and situation, so keep checking back if you are interested or have some information or knowledge of my issue :)
Quick Background:
I have this app I have made that can be crashed by changing my screen saver or locking my work station, and in general whenever a WM_WININICHANGE/WM_SETTINGSCHANGE message is sent to it.
If I can consistently crash my app by changing my screensaver, then SOME part of doing that is sending my app SOME kind of message (not necessarily a windows message, I mean message in the most general sense), which in turn is catastrophic to my application. Due to this, I am trying to find a way to block whatever message is causing my problem from being processed by my application. I am aware this isn't the best way to go about a solution, so you don't need to tell me. Look at the backgroung info or ask why if that bothers you (there is a good reason).
View 2 Replies
Mar 28, 2012
How I can stop my application if not use it for a period of time ?
View 1 Replies
Apr 5, 2010
how to stop the application from doing the code on next line immediately when the user enters nothing in the textbox and pressed a button?
View 1 Replies
Apr 28, 2009
I have vb.net windows application. I want this app to be protected from being used remotly.Means some users on my network are using this app with remote desktop, some on internet use VNC viewr, team viewer or log me in to access this application.
I want to restrict this kind of access to my application. But I these users must be able to operate other functionality regularly. So can I write anything in my application so that i does not go over VNC viewer or team viewer or remote desktop
View 1 Replies
Dec 31, 2010
I want to stop the execution of my .net application for about 20nanoseconds
so i am trying to measure time needed for specific samples of code, and i want a code that takes only 20nanoseconds
View 17 Replies
Mar 17, 2011
I wrote the following code to build a basic game that makes two cars race (randomgenerator) and let the user pick their bets on the end results. I've gone terribly wrong somewhere in that my cars only race halfway then get stuck behind the start line and the programme keeps repeating the beeping and the messsagebox.show and adding results to the 'incorrect' box.
The only way to terminate the application is to hit 'stop debugging'.
Option Explicit On
Option Strict On
Public Class MainForm
[Code].....
View 1 Replies
Jul 25, 2010
How can I stop my application quitting until a backgroundworker has finished? Its an updater, so basically I want the form to hide until the download is finished, and then exit.I've tried to make a setting to tell the app when it is still downloading, and on form closing check this variable, but it won't work. For some reason it still quits!The update window is in a separate form to the main form, so the user clicks 'Finish', the update form closes and the main form stays open.[code]
View 5 Replies
Jun 15, 2011
I have written a converting program, which converts binary files to ASCII files. (VB.net 2010). I need to have a functional "stop" button on the form and I was wondering if there was a simple command to make a program stop, exit all procedures, and wait for user input on the form.
It is not feasible to multithread this application, as it frequently interfaces with the form. Currently, I have a global boolean variable which becomes true if the stop button is pressed, and I have internal loops checking to see if the variable is true. However, I don't to waste CPU on checking a variable if it's not necessary.
View 5 Replies
Jun 12, 2011
launch a Modeless Dialog I am used in me.showintaskbar property to remove application from taskmanager.but it removes the form(application)it still refreshes.How to stop the form refresh.
View 1 Replies
Apr 16, 2010
How can any windows xp stop service application in vb.net2008?
View 1 Replies
Jul 3, 2010
We are developing an application in VB.NET 2008. We break the application into smaller multiple dlls so that we can easily update the program at the customer end.We want to know that is their any way to stop the other person to use my dll in their application?i.e we want to lock the dlls such a way that the dlls will be used by us only and not anybody in their application.Also we want to block viewing of dlls code using any code reflector
View 4 Replies
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
Mar 30, 2009
I get the following error in Vista while trying to start/stop a Windows Service that I created.
Cannot open ServiceName service on computer '.'.
The same code works for XP.
View 2 Replies
Oct 3, 2011
how can i stop ctrl alt delete f4 windows task manager in my application
View 6 Replies
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
Jun 30, 2012
How to watch process activity ?
View 10 Replies
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
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