Regenerating Old Bill?
Apr 15, 2012
I have one medical prescription form in my table....which will generate bill...and a receipt number will be generated in crystal reports....If suppose a bill is generated for a particular transaction and after suppose few days i need a duplicate bill....how can it be created...means how shud I store the values for all bill generated in the past...
View 3 Replies
ADVERTISEMENT
Feb 20, 2010
I am working on this program that is suppose to display the patient's bill after they have selected a service at a dental lab. the problem I am having is that if the patient name is empty it gives me a message but it still shows the bill. Also I am having a problem with the code that will calculate the bill if a a patient choose more than one service. Here is my code below
P
ublic Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
[Code].....
View 4 Replies
Oct 27, 2009
This is my project for class and this is what i have so far but my teacher gave me no credit. What am i doing wrong? i tried re arranging but had no sucess..A fast-food vendor sells pizza slices at $1.25 each, fries at $1.00, and soft drinks at $0.75. Write a program to computer a customer's bill. The program should use 4 subprocedures that do the following:
1. read in the amount of each item ordered
2. calculate the total cost
3. display an itemized bill
4. read in the user's full name from a textbox, and display a sentence, addressing the user by first name only and in upper case characters, informing the user of their bill. [code]
View 3 Replies
Feb 15, 2010
i want to print bill from the billing system using VS 2008.any suggestion for the coding?
View 5 Replies
Apr 26, 2010
i need some suggestion regarding which approach to use to print on already printed bill.what i want to do is, i have already printed bill, which contain some design,name , shpper details and other things.
there is some predefined section on that bill where i need to print amount, using my vb.net application.
so can you let me know which method i should use?
View 5 Replies
Jan 24, 2011
trying to make a program that calculates a cell phone bill. u get 300 minutes for 29.95
for every min that exceeds 300 the cost is 17 cents per minute I want to make a if statement but i am having trouble setting it up.
View 5 Replies
Jul 1, 2009
I am trying to create a basic VB.Net program that allows the user to input the number of pieces of pizza ordered, number of fries ordered and the number of soft drinks ordered that gives a bill total in a text box and displays the bill in a list view box. The program runs put does not provide output.
Public Class Bill
Private Sub Bill_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'variables used to calculate restaurant bill
Dim P As Double
Dim F As Double
[Code] .....
View 6 Replies
Oct 5, 2009
Trying to create a restaurant bill, i found a program that does something similar but when i tried to adapt it, it doesnt do what it is supposed to.Let me go over what it's supposed to do first.If there are three items on a menu, lets say; pizza, fries and drinks. the pizza costs $1.75 a slice, the fries are $2.00, and the drinks are $1.25. the user selects how many of each are purchased, then presses a 'compute' button and displays a bill in a listbox. here is the code i wrote for such a program, obviously wrong or it'd be working.
Public Class RestaurantBill
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCompute.Click
[code]....
View 10 Replies
Oct 13, 2011
I want to calculate the total for bill amounts in an arraylist. I have already used this code:
[Code]...
View 1 Replies
Jan 14, 2010
I want to try to make a program for the Bill Print.
View 1 Replies
Mar 27, 2011
In this program I am suppose to use data to compute a customers electric bill. My code works correctly for the most part except for two things. I cant get the loop correct I want it to ask the customer to enter readings but once it does it outputs the same information from the original time so I am wondering what I have to do to have it recalculate when new values are entered by the customer. My other issues is it is suppose to continue to ask the customer for additional readings till the value entered by the customer is -99999, when I run my program and enter -99999 it does not stop.
[Code]...
View 5 Replies
Mar 11, 2010
I have a problem regarding bill printing on roll paper. My printer is Epson LX-300+II, my roll paper is about 3" width, and is used for printing bill/invoices for the customers. The number of items varies.Whenever I finished printing the bill, the printer throws out/ejects the paper, as long as about a letter (11") size. Whatever the ways to achieve this, I just want the printer stop printing/ejecting after the last line, then i can tear off the bill for my customers without wasting paper.
I'm really wondering someone out there could help me.. I have worked hard for this, and searched in internet, but it seems that there's no applicable and clear solution. If the solution is in VB, please give me the code to implement this, or give me a very simple example application.I cannot make a custom size in my printing preference.
View 7 Replies
Jul 25, 2011
Why does the following code produce 'WILD' rather than 'BILL'? [code]
View 2 Replies
Apr 21, 2010
Using VB2008 I need to create an application that calculates and displays a customers bill.Business customers must have one connection.
Heres the data
Residential customers:
Processing fee: $4.50
Basic service fee: $30
Premium channels: $5 per channel
[code]....
View 8 Replies
Oct 16, 2010
I am created a Vb.net ERP Application! In this application I handle core accounting concepts. I have handled Salebill and many of accounting form. I take salebill billno from Database by selecting maximum srno from salebill Table but whenever multiple user trying to access this form at a time, everyone gets same billno. How I handle this situation to show different bill no to different users?
View 4 Replies
Oct 12, 2009
I am trying to write a program that compute the bill for a pizza shop and I cannot figure out what I am doing wrong when I build it there are no errors but when I debug it it will not run [code]...
View 4 Replies
May 13, 2011
I need to take a bill of material file from a customer in xml format and import it into our system. The problem I'm running into is that the terms they use to describe the types of material may vary. So, for example, if they are specifying a piece of threaded rod, they may call it "THREADED ROD", "THREADEDROD", "THRD ROD", "THRD'D ROD" or some other variation. Another example might be rectangular tubing. They might call it "RECTANGULAR TUBING", "RECT TUBING", "RECT TUBE", etc. There will be many types of material besides these two that I need to catch. Once the program determines what the material is it then branches to the appropriate subroutine to do further parsing. I was trying to think of a way to use regex or the "Like" or "Contains" operators to do this. Here is one way I thought of using "Select ... Case" but it isn't very flexible & will only catch hard-coded terms:
Select Case material
Case "THREADED ROD", "THRD ROD" 'etc...
Case "RECTANGULAR TUBE", "RECT TUBE", "RECT TUBING" 'etc...
End Select
View 7 Replies
Oct 27, 2009
This is my project for class and this is what i have so far but my teacher gave me no credit. What am i doing wrong? i tried rearranging it but no success.
A fast-food vendor sells pizza slices at $1.25 each, fries at $1.00, and soft drinks at $0.75. Write a program to computer a customers bill. The program should use 4 subprocedures that do the following:
1. read in the amount of each item ordered
2. calculate the total cost
3. display an itemized bill
4. read in the users full name from a textbox, and display a sentence, addressing the user by first name only and in upper case characters, informing the user of their bill
Here is an example itemized bill:
Item Quantity Price
Pizza slices 3 $1.25
Fries 4 $1
Soft drinks 5 $0.75
Total $11.50
Example sentence for point 4: if the user name was entered as John Smith, you would display the sentence JOHN, your bill is $11.50.
MY
Public Class Form1
Sub pizza(ByVal pizzap As Double, ByVal pizzanum As Double)
lstoutput.Items.Add("Pizza Slices" & pizzap & "and" & pizzanum & "is" & (pizzap * pizzanum) & ".")
[CODE]....
View 6 Replies
Feb 19, 2010
I'm having trouble figuring how to code the calculations for a Pocket PC application that calculates the cost of a cell phone bill. From a Pocket PC the user should enter the number of minutes used during the past month, in order to calculate the cost of the cell phone bill. The plan allows 300 minutes for $29.95 per month. For each minute over 300 the cost is $0.17 cents per minute. Tax and Fees are $4.85 a month.
1. User enters the number of minutes used during the past month.
2. Based on plan rate of 300 minutes for $29.95 and 17 cents for each minute over 300 calculate the cost of the bill including the fixed cost of $4.85.
3. The user must be able to initiate the calculation and display the individual charges and the total cost of the cell phone bill.
4. The user should be able to clear the number of cell phone minutes, the individual charges and the bill total
If negative number is enterd for the cell phone minutes, the user should be advised and asked for a valid entry If non numeric value entered for the cell phone minutes, or if left blank the user should be advised and asked for a valid entry.Application is deployed on the Pocket PC emulator built in VS 2008
Enter # of Minutes ________ (user enters)
Regular Minutes Charge ___ (29.95)
[code]....
View 1 Replies
Jun 19, 2012
I am declaring an array in the public class with the same names as in the list box but when i run program an error keeps occuring after the first name : "Bill" on the comma with an ')'
Public Class Form1
Dim nameArray() As String =("Bill","Sue","Tom","Linda","John","Pam","Steve")
Private Sub FindButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FindButton.Click[code].....
View 1 Replies
Nov 13, 2011
'Declare the price rate per night
Const decNightly_Rate As Decimal = 350D
Private Sub btnCalculateCharges_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculateCharges.Click
[code]...
I am trying to make a hospital form where the user inputs data for a hospital bill. I have to create three functions: CalcStayCharges, CalcMiscCharges, and CalcTotalCharges. I do not know why this code won't work.
View 13 Replies
May 5, 2010
I'm developing a finance software and I want the user to enter a bill and pick the due date via month calendar. I getting it to work was the easy part, but now I only want one month calendar, for each time a user enters in a bill and picks a date.every time the user goes to pick a due date I have to call one of the several I have on screen.Here is my code that I have so far:Add due date button:
Me
The month calender:
Me
.TxtDueDate3.Text = MonthCalendar3.SelectionRange.Start.Date.ToShortDateString()Me.TxtDueDate3.Text
= MonthCalendar3.SelectionRange.End.Date.ToShortDateString()[code].....
View 1 Replies