Use All Available RAM In Less Than 3 Minutes?
Jun 27, 2011Is there a way to have VB to use all available RAM in less than 3 minutes? say on a system with 4gb
View 4 RepliesIs there a way to have VB to use all available RAM in less than 3 minutes? say on a system with 4gb
View 4 RepliesI 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 RepliesI 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 RepliesI'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?
I'm totally new to threading. I've got a Sub (no parameters) that I need to call every 7 minutes.
View 3 RepliesI 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 RepliesIs this possible? Every x minutes I need my app to verify something.
Ex:
verify:
'code to verify
[code].....
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]....
What would I do to change my intervals into minutes?
to have my timer set to 10 minutes?
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 Replieshow can i converting minutes into milliseconds
View 8 RepliesI need to to make a timer that will execute my code every 30 minutes
View 8 RepliesIn a textbox the text 1 Days, 8 hours, 45 minutesI want the outcome in minutes , how do i do that ?
View 7 RepliesI'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?
How to get the total minutes in an hour?
Example:
1 Hour and 20 Minutes.
I need to get the result at 80 Minutes.
my exce'sl file has some data.i can open file from vb
how can i refresh data all 30 minutes from vb
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.
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 RepliesWhat 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?
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 RepliesI 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")
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.
I need a timespan difference result in - hours:mintues format.
[Code]...
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]...
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.
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.
I'm trying to fill a label with a datediff 'minute' value.. but when the minutes value is < 10
View 2 RepliesI am trying to make a very simple aspx page that pulls some data from a mysql database.
The page builds without a problem. (the aspx contains just the default form and a div just to print some data)
[Code]....
I am trying to write a code on auto logoff for an application after certain perioed of time. But not sure how should i start on it. But I got below code, but there is an error (example:
System.Windows.Interop.
System.Windows.Interop is not a member of Windows and System.Windows.Threading is not doesn't contain any public member) and i wonder how should it get fix and merge into my application code
Imports System
Imports System.Collections.Generic
Imports System.Linq
[code]....
I would like the client app being able to refresh the data every 30 minutes.
View 2 Replies