VS 2008 Calculate Delivery Charges Depending On Weight Of Item
Jan 1, 2010
i am making a progrom to calculate delivery charges this depending on weight of the item.i enter the weight of the item in a text box i need it to calculate the shipping cost, currently i have something like this but it is wrong. [code]
View 5 Replies
ADVERTISEMENT
Jul 21, 2011
I am using Microsoft VB 2010. I am to calculate the charges for a parking garage. I was to use to a method to do the calculations and output the parking charges. My problem is that everything displays except for the charge... What am I doing wrong? Here is my code:
[Code]...
View 2 Replies
Apr 15, 2012
The company needs a system to calculate the charges for each load that they deliver. The loads consist of up to 10 different types of goods. Each item has an associated delivery charge. The system will allow the user to select up to 10 lines of goods and a quantity for each line of goods. It should then calculate the total delivery charge. It must add 20% VAT to this net total and show the gross total as well. The system should show a total number of items as well as the delivery charge. It must recalculate in real time (i.e. as soon as a quantity is entered or changed the totals should recalculate). There should be a facility to enter the delivery date and address as well. The delivery date cannot be entered as a date that has already passed.
View 1 Replies
Aug 25, 2009
How can we calculate ideal weight for a given height in vb 2005. If weight is given in Kg and height is given in inches..
View 3 Replies
Jan 1, 2012
I have a list box on the form which functions as a copy/paste. When you copy something, it is automatically added to the list box as a "clipboard helper". Here is the problem,however: if the text is more than 1 line, the list box does not show all the text.It ends up looking messy.So getting back to my question, is it possible to make the list box item height for an item depending on the amount of lines that item contains?This is a one line sentence in the list box and should take up one line.This is a multi line sentence in the list box and should take up two lines for item height.
View 11 Replies
Sep 25, 2011
i have two text box's and compare from two columns in database the result auto show another text box and then following below code using my program
Public Sub cal()
Dim sum As Double
Dim res As Double
[code]....
View 1 Replies
Mar 10, 2011
I have two text box's and compare from two columns in database the result auto show another text box and then following below code using my program:
Public Sub cal()
Dim sum As Double
Dim res As Double
With Common_Class.GetSrvRec("i_Unit_Con", "", "QTY_UNIT='" & txtitemunit1.Text.Trim & "'")
If .Fields("QTY_UNIT").Value = txtitemunit1.Text Then
[Code] .....
View 3 Replies
Apr 27, 2009
I'm developing a small app to for a vehicle rental company. They require the app to print invoices for customers (fuel usage and etc) with charges. I was thinking of outputting row by row to a html (file) table and populating qty,amount,final amount etc programmatically. And letting the user view and print that html file.
View 3 Replies
Jan 8, 2010
I'd like to ask you a programming problem which is bothering me for quite some time now. Here is the problem
[Code]....
View 22 Replies
Apr 13, 2010
I'd like to ask you a programming problem which is bothering me for quite some time now.Here is the problem
I'd like to pick random names from:
-peter,50
-rick,25
[code].....
View 1 Replies
Feb 24, 2011
I have a ContextMenuStrip that is attached to a DataGridView, how can I change the text of an item in the ContextMenuStrip depending on the value of the cell in which the strip is activated over?
View 1 Replies
Apr 16, 2011
how to calculate the quantity of each item sold?
View 9 Replies
Jun 3, 2011
In calculating an item from a texfile that exists from menu_cmbselectedIndex,i want to display total number of items when i click a combobox and should also display total amount for those items.
View 2 Replies
Jan 7, 2012
Im testing a program and want to display the DELIVERY form as the first form. I don't see the delivery form ?
View 5 Replies
Mar 11, 2010
I need a delivery report when the sms was send. Which AT Command is used to enable the sms deliver report.
View 1 Replies
May 1, 2012
I am working on a project for a class, and am having trouble getting my program to automatically calculate the subtotal every time an item is added to the shopping cart list. I've tried sub procedures and functions, but I can't seem to get it to work.
[Code]...
View 4 Replies
Jun 6, 2011
I am building an application that contains data that needs to be fed out to seperate groups of people.Sending them emails is the only way to do it but this takes ages to do.i need for example to send:
send to = textbox1.text
subject = textbox2.text
body = textbox3.text
View 10 Replies
Feb 1, 2010
I'm trying to code an application that selects an appropriate delivery method from a list box. The user should be able to enter a part number consisting of numbers and either one or two letters. I want to code it so that it does the above and displays an appropriate message when the part number contains an invalid letter or letters.[code]...
View 2 Replies
Oct 4, 2010
I have this issue where for every 1% below a 95% threshold a charge of £67 is added. For instance if the percentage drops to 70% I would need a method of totalling the charge for every percent.
Would I need to use a Do....While loop then the if...then statements?
View 2 Replies
Nov 13, 2011
A parking garage charges a $2 min. fee to park for up to three hours.The garage charges an additional 50 cent per hour for each hour or part thereof in excess of three hours. The max charge for any given 24-hour period is $10. Assume that no car parks for longer than 24 hours at a time. Write a program that calculates and displays the parking charges for each customer who parkes a car in this garage yesterday. You should enter in a TextBox the hours parked for each customer. The program should display the charge for the current customer. THe program should ise the method CalculateCharges to determine the charge for each customer. Ise the techniques described in the chapter to read Double value fro a TextBox. [ You may need to use methods Convert.ToDouble and Convert.ToDecimal when doing calculations with the number of hours and charges]
Public Class ParkingGarageFeeCalculatorForm
Private Sub calculateButton_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles calculateButton.Click
Dim hoursParked As Double = Convert.ToDouble(hoursParkedTextBox.Text)
[code].....
View 7 Replies
Nov 21, 2011
I am at a road block on how to print all of the items selected since last clear. A File menu should allow the user to print preview and print a document that contains the charges selected since the last clear including the total of all shipping charges selected When I click print preview I get the entire program screen, I need it to just show weight, zone and charges of everything I have selected.
Public Class Form1
' Declare Global-Level variable.
Dim RateDecimal(,) As Decimal = {{1D, 1.5D, 2.4D, 1.85D}, _
{1.58D, 2D, 2.4D, 3.05D}, _
{1.71D, 2.52D, 3.1D, 4D}, _
[Code] .....
View 4 Replies
Sep 30, 2011
So i have a program that is supposed to display charges for snowboard fees with and without boots. The charges are 20 for without and 30 with, and i have already declared them as constants. I have inputs for how many boards the user has.
My question is how do i create a summary to indicate the total number of snowboards w/ and w/o boots, total charges and average per customer.
View 2 Replies
Jun 9, 2009
I'm wondering if I can run different code, depending on what OS,My product is on?
View 7 Replies
Mar 16, 2012
I am trying to receive confirmations if a user read or deleted an email.Also, I would like to capture if the email was delivered.I have the delivery receipt working, but the read receipt is not working.The email accounts are used on a MS Exchange Server 2010.[code]
View 1 Replies
Mar 5, 2009
I'm trying to add charges to the account, specified from a textbox and change the results of the balance.It works to a point, that it adds a number (1) and then when it comes to adding another number. it kinda remembers the previous one in addition to the next one Im adding to it.I'm working with class instances too, so if there is a problem with that, please point it out. [code]
View 3 Replies
Nov 16, 2009
Im currently trying to get button depending on what the background is to do something
EG:
if Button19.BackgroundImage = my.resources.play then
AxWindowsMediaPlayer1.Ctlcontrols.play()
This doesnt work, but is there any other method of doing this?
View 8 Replies
May 13, 2012
I would like to know how would i make a histogram go up and down depending on the value in the textbox.
View 1 Replies
Mar 18, 2011
I have a basic bubble sorting algorithm that can sort either A-Z or in numerical order with just the change of a "less than" or "more than". However, I have to use the code twice in order for it to sort correctly.
'Sub Sort(ByVal array As Object)
'--A-Z
If Array(i) > Array(i +1) Then
[code]....
Anyway, if there is a way to do it, that'll allow me to have just one sort instead of having two sorts which use the same sorting algorithm, but just a different comparator.
View 2 Replies
Jan 15, 2012
I generate a print preview, the only thing is, if there is enough data to fill like 2-3 pages I don't know how to generate a new page. It only fills the first page and that's it....
Private Doc As New PrintDocument()
Private Sub btnPrint_Click(sender As System.Object, e As System.EventArgs) Handles btnPrint.Click[code].....
most of the code it's just pulling data from database and printing necessary charges to the invoice, but if the invoice is more than 1 page then I don't know what to do because it only generates 1 page.
View 2 Replies
Jun 14, 2010
Code to make a program in visual basic that converts your weight from Earth to you weight on the Moon.
View 3 Replies