Ban User For 10 Minutes?

Mar 15, 2012

I'm creating a feature for my software that bans the user for 10 minutes if he/she has failed to login thrice.

The problem is, I don't know how to code that. I got ideas on how to do it but I don't know what predefined classes or functions to use.

what classes or functions to use to code this feature?

View 8 Replies


ADVERTISEMENT

Check If The User Isn't Active For X Minutes?

Dec 23, 2011

how can i check if the user isn't active for x minutes?

View 12 Replies

Get The Elapsed Minutes And Seconds Which Will Then Be Displayed To User

Aug 30, 2009

I am using a stop watch to get the elapsed minutes and seconds which will then be displayed to user. How to I go about getting the elapsed time in the following format: 00:00

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

Convert Minutes Into Decimal Minutes?

Jul 21, 2009

I am looking for formula that is accurate in converting Minutes to Decimal Minutes i.e 30 minutes is 50 Minutes in Decimals so 1.3 hours is 1.50 and not 1.5 i have used Minutes/60 but it is not accurate as some times i have to Multiply the result by 100 and some time 1000 to get correct results based on single digit Try 1/60, 10/60 99/60 or 100/60.What would be the most efficient and correct way to Convert the time into Minutes ?

View 10 Replies

Application That Provides A Countdown For 60 Minutes / Change To Be A Countdown For 360 Minutes?

Apr 14, 2011

I have an application that provides a countdown for 60 minutes and I'm currently using the win form timer and it updates some labels and a progressbar. Now I have to change this to be a countdown for 360 minutes. Will the win form timer be sufficient or should I implement a Timers.Timer instead?

View 6 Replies

Use All Available RAM In Less Than 3 Minutes?

Jun 27, 2011

Is there a way to have VB to use all available RAM in less than 3 minutes? say on a system with 4gb

View 4 Replies

Run A Thread Every 7 Minutes?

Dec 10, 2010

I'm totally new to threading. I've got a Sub (no parameters) that I need to call every 7 minutes.

View 3 Replies

Calculate Hours And Minutes?

Aug 11, 2010

I would like to calculate the difference between hours and minutes from one textbox and the hours and minutes from textbox two. What would be the best way to do this? I think DateTime would be the object to use, but wondered if anyone has any examples or better ways?

View 12 Replies

Call A Function Every X Minutes?

Sep 23, 2010

Is this possible? Every x minutes I need my app to verify something.

Ex:
verify:
'code to verify

[code].....

View 5 Replies

Can't Get Minutes To Drop To Next Integer

Feb 26, 2010

I am writting a timer with info and code gathered here. If you just set the Minute list box to 1 you will see what I mean. Also, you need to select each Listbox which turns them blue. I would like to do that with code too. Here is the code that is problematic.

'Timer1 from toolbox needed

'I have 4 textboxes Hours, Minutes,Seconds,Milliseconds.

'When textboxes values are set the count down begins.

'You need 4 labels, label1 is alone, the other 3 are above textbox and listbox the hours minutes second

'You need 4 textboxes. The 4 textbox is hidden or out of the way.

'You need 3 Listboxes.

'Lay out the label1 at top of form. Below that are hr, min, sec. labels.Below that the three textboxes and below that

'are three listboxes.

'Textboxes only show the original time

Public Class Form1
Dim cntDwnVal As New TimeSpan
Dim stpw As New Stopwatch

[Code]....

View 2 Replies

Change My Intervals Into Minutes?

Jun 17, 2009

What would I do to change my intervals into minutes?

to have my timer set to 10 minutes?

View 15 Replies

Convert String Hh:mm To Minutes?

Jan 3, 2011

I have a string wich contains a value (let's say 22:30 for example)I need a function wich convert 22:30 to an integer that is equal with total number of minutes in 22 hours and 30 minutes.

View 15 Replies

Converting Minutes Into Milliseconds?

Feb 26, 2009

how can i converting minutes into milliseconds

View 8 Replies

Execute Code Every X Minutes?

Dec 1, 2010

I need to to make a timer that will execute my code every 30 minutes

View 8 Replies

From Days En Hours To Minutes?

Dec 28, 2011

In a textbox the text 1 Days, 8 hours, 45 minutesI want the outcome in minutes , how do i do that ?

View 7 Replies

Hide The DGV After 15 Minutes Of Inactivity?

Jun 6, 2012

I've got a DGV and a timer, I want to hide the DGV after 15 minutes of inactivity on my form. How can i do this? I've got a number of other controls (textboxes, buttons etc).

I thought somehow I could reset my timer every time a mouse moved on my form but would this create to much running on the mouse code when a user moved the mouse on my form?

View 1 Replies

How To Get Total Minutes In Hour

Oct 8, 2008

How to get the total minutes in an hour?
Example:
1 Hour and 20 Minutes.
I need to get the result at 80 Minutes.

View 11 Replies

Refresh Data All 30 Minutes From Vb?

Jan 24, 2011

my exce'sl file has some data.i can open file from vb

how can i refresh data all 30 minutes from vb

View 1 Replies

Refresh Vb Application Every Xx Minutes?

Nov 10, 2010

is there a way i can refresh my vb application?

my program is an alarm that prompts the user if there is a new added item.

i want it to be real time so that the user does not have to restart the application to check if there is a new item.

View 3 Replies

Remove The File After 15 Minutes?

Dec 21, 2011

I'm making a practice test program that creates a file after 5 login fails. I want it to remove the file after 15 minutes, how can I do this?

View 5 Replies

Run A Process Every X Minutes Or At Time Of Day

Aug 12, 2010

What is the best way to run a process say every 30 minutes? Or at 0900?

I have an app which does quite a few things, and want to add something that will run every 30 minutes. Don't want to use windows scheduler as i want to keep it all in the one app.

Is the only way to run a thread.sleep for 1800000? If so, can i run 2 background workers on the 1 app?

View 5 Replies

Screen Scrape Take Over 20 Minutes?

Nov 12, 2009

I'm just starting working on a program and the amount of pages I'm trying to screen scrape take over 20 minutes, so I was hoping I could run like 4 or 5 threads to cut that down??? I'm pretty much still a novice, so be easy on me. I understand good, though.

View 1 Replies

Set An Expiration Time To 5 Minutes?

Feb 13, 2012

I have a code here that the result is set to expire in 15 days. (This code was shared to me by Cor Ligthert)

Dim expirationDate = CDate(registeredDate).AddDays(15)
If expirationDate < Now Then MessageBox.Show("Expired")

I want to change it to expire it in 5 minutes, how would i do that? Like this?

Dim expirationDate = CDate(registeredDate).AddMinutes(5)
If expirationDate < Now Then MessageBox.Show("Expired")

View 4 Replies

Timer To Run 30 Minutes After The Hour?

Jul 15, 2010

Is it possible to configure the System.Timer to run say 30 minutes after every hour? I have searched google to figure this out but all it shows is how to set it where it goes off once an hour, if I launched the app at 2:45 then it would go off again at 3:45. I can forsee issues down the line with this approach where if it went off at a specified time it would not have that issue.

Normally i would use Scheduled Task for this however it doesn't give you the option for hourly just daily, perhaps i'm wrong about this.

View 3 Replies

Timespan Hours And Minutes?

May 23, 2009

I need a timespan difference result in - hours:mintues format.

[Code]...

View 3 Replies

Timespan In Hours And Minutes

Dec 12, 2010

i am struggeling with the result of this code. It's present 164,4 hours which is correct, but i like it would says 164 hours 24 minutes.

[Code]...

View 3 Replies

WebClient Timed Out After 10 Minutes?

Mar 22, 2011

I run a program with 20 threads getting data from web.

After about 10 minutes I keep getting operation timed out exception.

If I restart the program it works again for 10 minutes.

Looks like there is a memory leak or something.

Some says that webclient uses webrequest object somewhere. I do not see it in watch though.

View 7 Replies

A Timer In Hours, Minutes + Seconds?

May 24, 2012

This is what I have so far.

[code]...

The first part (Label 1 + Timer 1) works fine and it counts seconds but I want it to count minutes and hours too.

View 1 Replies

Add The 0 In Front Of Datediff Value When Number Of Minutes Is Less Then 10

Oct 6, 2011

I'm trying to fill a label with a datediff 'minute' value.. but when the minutes value is < 10

View 2 Replies







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