Need To Reduce An Amount Of Time By X%

Sep 7, 2009

i need to reduce an amount of time by x% this is what i have so far [code] as u can see ive taken the hours minutes seconds from the time and stored each in a seperate variable so from 02:30:00 i then divided the hours by 60 and then 60 again to give me the total seconds in the hours and then divided the minutes by 60. i then added all 3 to give the total amount of seconds so now the buildtimetotal variable now holds the total in seconds i now need to reducce this by x% all vars are dimentioned as integers except for buildtimehoursback which is a double the problem seems to be when i try to convert the total seconds back to hours minutes seconds.

View 3 Replies


ADVERTISEMENT

.net - C# To Code Converter - Reduce The Amount Of Copy/paste

Aug 29, 2010

I need a C# to VB.NET code converter, I want something that's ultra convenient, as I want to reduce the amount of copy/paste that I have to do... so could anybody give me some tips to what is out there? I want processing in bulk too, and to support the latest operations (LINQ, new VB inline-function support and all).

View 3 Replies

Reduce Amount Of Spaces In All Lines Of A Text File?

Jul 27, 2009

The code below at the moment reads a text file and then writes it out again to a different location. One thing i need to be able to do before it get written again is to scan each line and reduce any line that has more than one space in it.[code]...

View 6 Replies

Force The Application To Use More Cpu To Reduce The Calculation Time?

Oct 24, 2010

I have a background process that require about 1 min to come to completion.

All the data are in memory and it does not need to read the harddisk.

I have noticed that the CPU utilisation during the full minute is less than 20%

is there a way to force the application to use more cpu to reduce the calculation time?

View 13 Replies

Asp.net - Ways To Reduce Application Building/debugging Time?

Oct 2, 2010

My new office project is based on an MVP design and is in VB.NET (.NET 3.5), using multiple libraries (like EntLib, internal corporate framework, etc.). The number of DLLs used as references is so huge (almost 50) that when I try to build/debug the application in VS2008, it takes almost 3-4 minutes to get the website running successfully.

Wanted to know if there are any settings/areas which upon some modifications can help me reduce the build time? and what exactly can be the major reasons behind this long loading duration?

View 1 Replies

Binding Combo With Heavy Data - Reduce The Page Loading Time?

Aug 25, 2009

I have combo box being filled with more than 50 thousand records. it is getting sometime to load and bind the data. I am using datatable to bind the data. I tried using data-reader as well but in vain.

View 3 Replies

IDE :: Connect To Internet And Scan Pages For Hyperlinks To Reduce Time Consuming Clicking?

Jan 3, 2011

I would like to create a program that could; open a website, log on to my account, scan a page for links, and open those links. The ultimate goal would be to reduce time spent checking things like e-mail or MySpace.

View 1 Replies

Allows A User To Select A Program To Run At A Certain Time For A Specific Amount Of Time All Choosen By The User

Jul 1, 2010

I have a program that allows a user to select a program to run at a certain time for a specific amount of time all choosen by the user. Everything works with the exception of if my program has launched the other program, my program become non-responsive. Meaning I am not able to look at that window again. Not that one really needs too, because when time is up my program closes the program it opened, then closes itself. I just want to be able to see my program when the other program is running. how to do this and perhaps drop me some links, that would be wonderful. This is what I have coded, but like I stated there are no code errors.

[Code]...

View 5 Replies

Get The Time Used And Amount Conversion?

Jun 11, 2012

i have this formula to get the time used and amount conversion. My problem is that when I a hour dt_total_used.Hour.ToString()) * 60 give wrong result.

'GET TOTAL USED TIME
dt_total_used = dt_end.Subtract(dt_start).ToString
'COMPUTE AMOUNT OF TIME USED

[Code].....

View 10 Replies

Record Amount Of Time Computer Has Been In Use?

Aug 6, 2009

i would like to have program a timer that will count the seconds during which there is mouse movement or any keyboard movement.

the point of this application is to record the amount of time an employee has been using the computer (does not matter what purpose or application it has been in use for)

i would like to do this in vb.net for winforms

View 1 Replies

How To Pause A Loop For A Certain Amount Of Time And Then Continue

Feb 4, 2012

Dim d As Integer
For d = 0 To TextBox2.Text
WebBrowser1.Navigate(TextBox1.Text)

//a code that pauses the loop but does not stop the browser thread

View 1 Replies

Make A Timer Pause For The Amount Of Time?

Sep 25, 2010

I could only find this answer for c++ and C# so how do I make a timer pause for the amount of time , for example 4 seconds.

View 2 Replies

Make Button Unclickable For X Amount Of Time?

Jun 22, 2010

I recently created a mail form for my program users to use if they have questions, etc.. Sadly, the mail form is easy to abuse. People can just put "A" as the e-mail and password and go right ahead and send an e-mail to me. This is why I want to add a delay so that users can only open the e-mail form once a day so that I can get a lesser amount of troll-mail. Is there a way I can make it so when a user clicks on the button to call the Mail form, it will make the button unclickable for X amount of time?

View 16 Replies

Show MessageBox For Specific Amount Of Time Only?

Mar 9, 2011

How I can use a messagebox to show for a specific amount of time only? So if I place this in maintimer, MessageBox will show and will auto close and I set how long it must display for. If messagebox is up, then Timer is paused. I did research around these lines but couldn't find what I'm looking for.

View 1 Replies

Creating A New Random Generator Each Time Should Reduce The Number Of Random Repetitions?

May 26, 2011

I've read numerous posts and threads about random number generation, but I havent' run across this.If I generate a bunch of random numbers, the results are radically different if I create a new Random generator for each number than if I use on Random generator for all the numbers. The results are much more consistent and evenly distributed if I use the same Random generator.I would have thought the opposite,because creating a new Random generator each time should reduce the number of random repetitions, if a different time slice is used to create the random number.[code]......

View 9 Replies

Make A Programe That Turns Off Computer After A Set Amount Of Time?

May 5, 2009

How to make a programe that turns off the computer after a set amount of time.

View 13 Replies

Change The Background Randomly From A Selected List After A Certain Amount Of Time?

Jan 16, 2009

I am trying to change the background randomly from a selected list after a certain amount of time. I have the array set-up and I have it picking a random path (ex c:images est.jpg). I found in the registry the background image settings. I tried setting the registry key to the path but it seems like there is more to it than that because it doesn't change it. I also saw where it stored the file and tried changing it but again it doesn't change it. The funny thing is if I go to display properties afterwards it shows the correct image just doesnt set it. If I then click a different image and go back to it then it sets it. How can I make it update the background?

View 5 Replies

VS 2008 Count A Large Amount Numbers In Short Time?

Nov 23, 2010

I need to count a large amount numbers in short time.As a result the CPU jumps to 40-60% on 4-core PC.Which is extremely high.I have any idea that will lock up the thread for some time, but not actually slow or reduce the amount of files that are allowed to be counted per a giving time period.

Vb.net
Application.DoEvents()
Threading.Thread.Sleep(1000)

View 9 Replies

VS 2005 : Add The Amount Column Of The Dgv And Display The Total Amount In The Textbox?

Jan 21, 2010

i have a datagridview binded with the datatable via its datasource property....now i want to add the Amount column of the dgv and display the total amount in the textbox,if the amount is greater than a certain value then i want the cell to coloured red so i did this code and it worked great:

Dim i, j As Integer
For i = 0 To DataGridView1.RowCount - 1
j += Me.DataGridView1.Rows(i).Cells("Amount").Value
Next

[code]....

but my problem is that i want the red colour of the cell to blinkafter every 2 seconds....how to do this?i need to handle the timer tick event for this but i am not able to do this.....

View 2 Replies

Cover X Amount Off Nautical Miles At X Amount Off Knots?

May 4, 2010

im trying to make a simple program that calculates the time it takes to cover x amount off nautical miles at x amount off knots, the code i have so far is this :

Code:Public Class Form1 Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click
End Sub

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

[Code]...

so if i say want to cruise 29 miles at 12 knts it gives me an awnser of 2 hours 24.6 mins instead of 2 hours 25. Although i do realise that 2 hrs 24.6 is technicaly right i was wondering if anyone here could help me with getting it into the correct format?

View 4 Replies

Get Amount Of Money User Has And Doesnt Go Over Amount Hechecked

Jun 7, 2011

im trying to make a fast food program on which the user will input the amount that he has, then he will check on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. I have the program somewhat finished (thanks for the people that helped me before) but theres still a couple of things that I still need to get finished but I dont know how to.I need to be able to get how much money the user has (this will be entered threw a text box, I think I accidentally messed this part up, because I cant get it to work right, (theres alreasy a permit amount of money in there and it needs to be what the user enters instead of the permit, 5.59, one) and this will be the maximum amount he can spend, then the user will check on the food he wants (and the program will add the sales tax also) then it will produce an answer saying if you have enough money or if you dont. But what im confused on is how do I get the users amount of money and make it the maximum mount he can spend and make sure it doesnt go over the amount that he has checked.[code]

View 1 Replies

Coversion Of Amount In Figures To Amount In Words

Nov 25, 2009

I am working in a point of sale system in Vb express 2008. I want to convert the Amount in Figures to Words like: How to conver the amount of $ 1,550,325.45 to Amount in words as DOLLARS: ONE MILLION, FIVE HUNDRED FIFTY THOUSAND, THREE HUNDRED TWENTY FIVE AND FORTY FIVE CENTS.

View 2 Replies

Coversion Of Amount In Figures To Amount In Words?

Nov 25, 2009

I am working in a point of sale system in Vb express 2008.I want to convert the Amount in Figures to Words like:How to conver the amount of $ 1,550,325.45 to Amount in words as DOLLARS: ONE MILLION, FIVE HUNDRED FIFTY THOUSAND, THREE HUNDRED TWENTY FIVE AND FORTY FIVE CENTS.Please advise how to code for that in Vb express.

View 5 Replies

Calculate The Amount To Save Up To A Certain Amount?

Mar 13, 2011

how to calculate the amount needed to save up to a certain amount.

Private Sub btnCalc_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCalc.Click
Dim dblSavings As Double
Dim dblFuture As Double

[code]....

View 3 Replies

Way To Reduce My Code

Feb 15, 2010

I am creating a windows mobile application .I have an extraordinary amount of if/else statements, I have tried the switch/case statement [code]...

View 1 Replies

Any Way To Reduce Opacity Of Form?

Jan 28, 2012

Is there anyway of reducing the opacity of a form to 80% but at the same time have my buttons and text boxes to remain unhindered at 100%? When I reduce the opacity of the from the opacity of the text boxes reduce as well. How could I stop this from happening

View 5 Replies

How To Reduce File Size

Mar 3, 2010

how to reduce file size? for example : i have a video file that size 13MB now, i want to make the video become 500kB even if the video become shorter thant the original. because i just want a little size of it.

View 6 Replies

How To Reduce The Size Of An Application

Feb 23, 2009

I have a system in VB.Net 2003, and that system takes a very long time to load. From the minute I click on the EXE, it takes one minute before the log in screen appear (P4 with 1GB RAM, no other application running). The size of the EXE is 33.2MB. I think the problem is the way I code the program, 1) I declare all the form as obj when I first load the system and I've got over a hundred forms. I try to load them as I need them but it does not work cause forms with sub form would give me an error. 2) I am using dataset as we know dataset is not very efficient but I don't know how else to connect to the database. Is there anything like ADODB in VB6?

View 2 Replies

Reduce Int To 1 Decimal Place?

Apr 17, 2009

I'm using the code below to convert the file size in bytes (test file is 31718 bytes) to KB (30.974609375 KB) but I want to display this to one decimal place (i.e. 30.9 KB). How would I do this in VB.NET?

View 3 Replies

Reduce Size Of A Pst File?

Apr 16, 2010

Is there any way to reduce the size of a .pst file using Microsoft.Office.Interop.Outlook(programmatically start PST Compaction)?

View 1 Replies







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