Application To Calculate 10% Discount ?

Mar 20, 2011

I have amend my application to calculate 10% discount but dont know how to assign it or the code. i am opposed to assign the code to calculate 10% if the customer is hiring my goods for more than 7 days, but if its less than 7 days i dont want the form to calculate the discount.

View 6 Replies


ADVERTISEMENT

Calculate A 15% Discount When Creating A Windows Application

Mar 11, 2011

How do I calculate a 15% discount in visual basic in when creating a windows application.I have two radio buttons Yes and No and when yes is selected a 15% discount is subtracted from the total price.So would I just say 15% as 0.15 or should I name the 15% as a constant?

View 2 Replies

Calculate Items In Different Discount

Oct 15, 2011

how calculate items in different discount

View 6 Replies

IDE :: Calculate The Discount Level?

Feb 7, 2012

I have a Form with textboxes,combobox and a button to calculate the discount level (comboBox) discount total (textbox), tax total (textbox) and total all these up into the total order (textbox) this is working except the discount total textbox,here's my code i have so far.[code]...

View 12 Replies

How To Calculate Discount In Percent % And Get Total In Total Column

Jun 8, 2011

I am using visual basic 2008 amd creatomg a datagrodview format like below [code] Now I wnat to get total balance in total column after less discount in percentage with ENTER EVENT proceedure and get the whole total column balance in a textbox i.e Net BalanceTextBox. Please tell me how to calculate discount in percent % and get total in total column and also tell me how to move cursor in next cell instead of bottom row in datagridview.

View 2 Replies

Mix And Match Discount Code?

Jul 20, 2010

I need advice on how to implement. I have two objects ReceiptLine and Discount. Cashier scans item and a receiptline object is added. If the added ReceiptLine object have a Discount Id then, it has to lookup in Discount object and issues discount after validation. I have problem in validation. Here is the situation, cashier scans the item as follows

ReceiptLine Objects
line1 ItemId 1835 qty 2 DiscountId 23
line2 ItemId 1515 qty 2 DiscountId 23
line3 ItemId 1835 qty 2 DiscountId 23
Discount Object Id 23

[Code]...

View 2 Replies

An IF THEN Statement - Using The Second Discount Percent In Any Of The Bronze?

Jun 14, 2009

the code below shows an if statement that is determining a customer type and a discount percent for that customer.But when I run the code it only ever reads the first discount percent even though the allocated price range is above the first discount percents range and should therefore give the second discount percent and i cant figure out why it is not using the second discount percent in any of the bronze, silver or gold statements.

[code]...

View 4 Replies

Discount Rate Of The Entered Price

Jul 31, 2009

I'm coding a program, which supposed to give the discount rate of the entered price, so there is as what I got on my code. [Code]

View 6 Replies

How To Add Discount To Subtotal And Show Up Total

Oct 3, 2011

I am having trouble adding a 5% discount to a subtotal of 50.00 or more and then have it display in the discount box and then having the total show up in the total box.

Here is my code.
Public Class GroceryStore
Private Sub CalculateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CalculateButton.Click
'Calculate totals
Dim subtotal As Double
[Code] .....

View 6 Replies

If Statement For Advance Trade Discount

Dec 1, 2009

I'm having difficulty coding for a trade discount. If the order is made more than 10days in advance the customer is entitled to 5% trade discount.

[Code]...

View 2 Replies

Mix And Match Discount Code Advice

Jul 20, 2010

I need advice on how to implement. I have two objects ReceiptLine and Discount. Cashier scans item and a receiptline object is added. If the added ReceiptLine object have a Discount Id then, it has to lookup in Discount object and issues discount after validation. I have problem in validation. [code]

View 2 Replies

Make Application That Will Calculate All?

May 7, 2012

I am trying to make application that will calculate all that is nessesary for it and show to user a results for x1 and x2. And now I am stucked somewhere:

vb.net
Dim a As Integer = TextBox2.Text
Dim b As Integer = TextBox3.Text

[Code]....

Ok, an explanation for variables: TextBox2 is parameter a (user enter), textbox3 is paramenter b (user enter), textbox4 is c parameter (user enter). I manage to solve result for D , as you know D is all under sqrt root . Now I wanted to solve x1, and there is some error. Where is the problem?

Sry, I found error: TextBox5.Text = "D = " & D & vbNewLine & "x1" = x1 (I didnt add = into quotation marks and it was like i say something = something = something which cant be done XD

View 1 Replies

Percentage / Discount For Hotel Quote Form

May 1, 2011

I made a hotel quote form where I want to add a discount box where the user can enter a percentage discount off the total price. What is the code to do that? [code]

View 11 Replies

Calculate The Amount Of CPU Usage Application Uses?

Aug 22, 2010

I'm trying to calculate the amount of CPU usage my application uses.

My code.

Try
Dim CPU As Integer = CDec(PerformanceCounter2.NextValue.ToString)
Label44.Text = CPU & "%"

[Code]...

The problem is that sometimes it says it uses more 115% hmmm.... That's when i was for sure that its lying to me.

View 5 Replies

Create An Application Which Should Calculate The Number Of Dollars?

Sep 24, 2009

I am having trouble with the pennies calculator. I need to create an application which should calculate the number of dollars, quarters, dimes, nickels and pennies a person will receive when they cash in the pennies at a bank.Eveything seems to be working fine except the nickles...

Option Explicit On
Option Strict Off
Option Infer Off
Public Class frmMain

[code]....

View 3 Replies

Calculate The Total Time A User Spending On An Application?

Jun 24, 2011

I want to create an application that able to calculate the total time the user (i.e. myself) spent on a particular application, for example Firefox. And this application should display warning message if the user spent a lot of time on Firefox (for example 1 hour or more)Reason: I'm a VB.NET developer. During my working hours, my main tool is Visual Studio and I suppose to do coding. But I need Firefox occasionally to access internet (particularly SO and other sites) to find solutions for my programming problems. The problem is I addicted to SO and SO sucks my time for hours until I have forgotten that I suppose to continue coding and not browsing the SO site.

View 6 Replies

Create Console Application To Calculate 23 Numbers Of Fibonacci?

Sep 24, 2010

how to create console application to calculate 23 numbers of fibonacci?This is the script I had done but facing an issue:

Module Module1
Sub Main()
'area to declare all integer
String inputstring;

[code]....

View 3 Replies

Prepare An Application Which Can Calculate Free Time Of The Team Which Handle?

Jul 2, 2009

My motive to prepre a application which can calculate free time of the team which handle. I have written a code which updates the username and current time in an access database. How can i run the code on windows lock event.

View 7 Replies

Date Method - Calculate The Number Of Years For My Calculate Age Event Handler

Mar 30, 2009

I am trying to calculate the number of years for my calculate age event handler, however i am apparently missing a method or whatnot because im trying to calculate the age , can anyone suggest help on this. I need to subtract years to get my age but when i try the birthdate.Subtract (currentDate) method i get an error about not able to convert from LONG?

So below is what I have.

Private Sub btnCalculateAge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculateAge.Click
Dim currentDate As Date
Dim BirthDate As Date
Dim Age As Long

[CODE]

View 7 Replies

VS2010 To Monitor Net Usage And Calculate The Current/total Download And Upload While My Application Is Running?

Dec 22, 2011

Is there a way in VS2010 to monitor net usage, and calculate the current/total download and upload while my application is running?

View 9 Replies

Calculate Age In .net?

Nov 3, 2010

when i enter the date of birth using the datetimepicker box it automatically compute the age and output in a textbox.text?

View 2 Replies

How To Calculate With Mod

Nov 24, 2009

I have the following code, the answer should be 2 though I am getting 3 everytime

[Code]...

View 4 Replies

C# - Calculate A Formula Which Changes Value Each Day?

Feb 25, 2009

I use the following columns stored in a SQL table called tb_player:

Date of Birth (Date), Times Played (Integer), Versions (Integer)

to calculate a "playvalue" (integer) in the following formula:

playvalue = (Today - Date of Birth) * Times Played * Versions

I display upto 100 of these records with the associataed playvalue on a webpage at any time.

My question is, what is the most efficient way of calculating this playvalue given it will change only once a day, due to the (today-date of birth) changing? The other values (times played & versions) remain the same.

Is there a better way than calculating this on the fly each time for the 100 records? If so, is it more efficient to do the calculation in a stored proc or in VB.NET/C#?

View 2 Replies

Calculate A MD5 Hash?

Dec 1, 2010

I have an openfiledialog, I show the dialog and the user selects there file. How could I calculate the MD5 hash of the OFD.filename/file opened? Or calculate the SHA1, what ever is easiest.

PS: This is in Visual basic 2010 Express.

View 2 Replies

Calculate All Possible Values?

Jan 12, 2011

Dim
Field1 as
Integer
() = {0, 1, 2, 3, 4, 5, 6, 7}

[code]....

View 3 Replies

Calculate Different Between All Numbers?

Sep 4, 2009

i have the numbers in listbox as below:

01
02
04
09
10

the question is ..how to calculate different between all numbers... exampel between 04 and 09 ,we have 05,06.07 and 08 between 09 and 10 is 0

View 8 Replies

Calculate From Listbox?

Nov 8, 2011

I have buttons with values. for exmp. btn1 = 5.50 btn2=3.25 etc...when someone click on btn will ask how many of these and let say you say 3 it will multiply that with 5.50 and show it on listbox.

View 1 Replies

Calculate How Many Day Is There Before 05/12/2010?

Feb 9, 2010

I have a project to calculate how many day is there before 05/12/2010.

View 10 Replies

Calculate Only The Wanted Value For N?

Oct 7, 2011

I am struggling with this code that I Have to do about calculating the nth term of the Fibonacci series. The program is supposed to take the value of n and return the corresponding nth Fibonacci number.If the function is given an
invalid n value, it should return -1.

[Code]...

View 1 Replies

Calculate Pi In Program?

Apr 26, 2009

Does anyone know how can I calculate pi (π) in VB?

View 6 Replies







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