.net - Making The Baseball Ticket Sales?
Feb 23, 2011
I'm working on a visual basic application( w/ visual studio 2010) that calculates ticket sales. This one is been really challenging since i'm a newbie when it comes to visual basic.I'm i'm having trouble getting the calculate button to Here are the instruction to get the costs from the functions and use them to calculate the total.
1.)User selects whether to purchase season tickets or single-game tickets
2.) User enters the number of tickets needed and the type of seats based on whether they selected season single-game tickets.
3.) User clicks the Compute Ticket Cost Button to display final cost
4.) User clicks the Clear Form button to clear the response
I'm stuck on the calculating button. I just need to be able to capture the cost from the button and then use the button to compute it.
Public Class Form1
'Global Variables
Dim intTicketChoice As Integer
[code]....
with the singlegamecost() function and the seasonacost() function
View 2 Replies
ADVERTISEMENT
Aug 9, 2010
I'm trying to create a typical Housie/Bingo Game ticket in Asp.net 2.0 (VB). But, not being succeeded. Ticket contains 3 row with 9 columns. Total 27 blocks, and it must be only 15 should be fill outta those 27. and each column contains value like 1st column should be between 1-10 and 2nd must have random values between 11-20.. It doesn't matter how many blocks filled in each column.. 1 is must, no single column should be blank, all 9 columns must be filled, some have all 3 blocks filled, some have 1 with total of 15 blocks filled in whole ticket. with random numbers..
View 1 Replies
Nov 3, 2009
I am trying to get a function so when i press the calculate button it somes up with sales totals and sales commissions. this is just a simple project i just cant find the answer.
View 5 Replies
Apr 5, 2011
I need my program to output and input a customer ID and sales amount multiple times. I need it to display both outputs, customer ID and sales amount, on mulltiple lines. It also will need to accumulate the sales amount and then display the total sales. it should look something like that.[code...]
I think that I was supposed to use a messagebox but wrote the program a different way. the form.vb was already locked, but I added two text boxs. Not sure if I did this right because I need to enter multiple sales for one customer ID.[code...]
View 1 Replies
Oct 26, 2010
So for my project I am working on creating a baseball score card. I have the layout of what I want it to look like. I am now working on getting the rotation of that batters. I have a button that adds the strikes to the form when pressed. What I am trying to do now is have the cell advance to the next player when it is 3 strikes. Here is the code for the subroutine. What is is doing right now is adding the strike1 image to batter one, the strike2 image to batter2 and the strike3 image to batter 3. How can I fix this so it added all three strikes to batter 1 then moves to batter 2?
[code]...
View 1 Replies
Apr 28, 2009
Using vb.net 2003 asp.net 1.1 sql server2005My cookie expiration is in 2059 after I set it for 1 Month and alsothe user data didn't return, also the cookie path is just a slash, I'musing LocalHost though.I'm using a ticket, I used just a cookie before and the cookie alsowas set to expire at 2059 after I set it for a year.
Cookie Info:Cookie Path : /Expiration : 4/28/2059 12:37:34 PMExpired : FalsePersist : TrueIssue Date : 4/28/2009 12:37:34 PMName : 4UserData : Version : 1
[code]....
View 2 Replies
Mar 2, 2012
I hava a class with this public property
Private _tickets As List(Of Ticket)
Public Property Ticekts() As List(Of Ticket)
Get[code]....
When I call the add method, I have to perform some logic BEFORE add the ticket.The logic is not an important topic, but I eventually have to remove some ticket before ADD the new one.
View 1 Replies
Nov 24, 2010
I have some problems in printing ticket by dot matrix printer.I have EPSON LX-300+ I am using VB.NET 2008 and Crystal Reports I am using rpt.PrintToPrinter(1, False, 1, 1) method to print?My problem is when I print my ticket, the alignment is perfect but the printer eject the latter size of ticket papers. It should stop after one ticket.ticket size Height=4,width=10 paper setup in Crystal Reports and in printer property is envelop #10 9 1/2 * 4 1/8 in.
View 1 Replies
Nov 21, 2010
If i have textbox1 which display server date as 27-Nov-2010 Textbox2 will display time as 08:00:00 AM..i want if the departure of the plane is Date 27-Nov-2010 and Time 08:00:00 AM then if he/she wants to cancel ticket then it can cancel their ticket till Date 27-Nov-2010 and Time 04:00:00 AM.. Any Body can cancel their ticket before 4 hour of departure date/time..I want cancel plane ticket before 4 hours of departure time if dep time is 08:00:00 AM then Passengers can cancel ticket till 04:00:00 AM ??
View 1 Replies
Dec 11, 2008
I WANT TO PRINT TICKET WHIT VISUAL .NET (VB). IM TRYING SERCHING IN GOOGLE BUT NOT WORKING THIS. THE PRINTER IT`S A EPSON TM-H5000II termal hibrid.
View 3 Replies
Jan 29, 2009
I have a combo box, I have entered in 6 different world wide destinations for example:London, Paris, New York etc The program is for booking plane tickets, at the moment the user has to input the cost of the journey manually into a textbox and then depending on the number of tickets requested will calculate the cost.
What I would like to do is to assign a unique numeric value (the specific cost of the flight for one ticket) to each of the items in the combo box list so that when a user selects a destination the default cost of the ticket is already known and does not require the input of the user.Private Sub cmbDestination_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmbDestination.SelectedIndexChanged End Sub The idea is that which ever destination is selected, for example: Paris - �155 would then set the variable 'ticketPrice' to 155 and allow me to change the calculations of the program to not require user input.
View 10 Replies
Aug 16, 2011
I am trying to implement login page using Form Authentication in ASP.net using vb code.I follow the steps in How To Implement Forms-Based Authentication in Your ASP.NET Application by Using Visual Basic .NET. I created a function in login page :
Private Function ValidateUser(ByVal strUsername As String, ByVal strPassword As String) As Boolean
and call it in btnLogIn_Click
Protected Sub btnLogIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogIn.Click[code].....
Things works fine and i can get the username display in label.However,I need to get more user data like UserName, Fullname and RoleCode. Also, i would to display the user's fullname to instead of usename in welcome message. I was told this can be done using FormsAuthenticationTicket method to store addictional user data in the "my user data" section. Do i need to create a user data class to store the user data and then use it in the FormAuthenticationTicket? If yes, how should i do it?
View 1 Replies
Jun 10, 2011
I have made a project on offline railway reservation ticket and cancellation and management wel i have included following things: form wise
1}welcome page (containing news , updates about the software )
2}registration n login page
3}main menu (Containing links to all tools and services i included in software)
4}ticket regestration (fare calculation and deduction and special discounts included)
5}ticket cancelation
6}PNR CHECK
7}FEED back form
9}Splash Screen
10}Rules n policies ,refund rules
11}Gerneral information
12}RTI act
13}Railway Map
15}Service area Covered
16}Train Halt Stations , total Halts per train according to Journey and distance Stations Between Journey
17)Trains and stations Codes
18}Train Arrival and Departure Timings
Thats It, Full database on Ms Access ..and Text Strings.Now Is this enough Or shall i Do add some thing More ... if u think its incomplete Plz suggest Some topic that i can add to This project.
View 4 Replies
Jun 23, 2008
I am working on an Infopath form for a work ticket. I am trying to write some code to generate the ticket number when a button is pushed. I have the code to acctually create the number, but I'm not sure how to place the ticket number into the textbox on the form. The code I found on the web seems to generate a security exception.
Public Sub generateTicketNumber_Clicked(ByVal sender As Object,_
ByVal e As ClickedEventArgs)
Dim ticket As String
[CODE]...
View 7 Replies
Mar 22, 2010
CODE:
Right now i have the following code. it is 4 radio buttons that if selected will display the price of a ticket.
There is a button called "repeat offender" that should take the price and double it. so me, being new to visual basic, were thinking of trying an if statement such as If it is selected decTicketTotal * 2
But this did not work. any help would be appreciated.. just trying to get the repeat offender selection working so when it calculates the price will double.
View 8 Replies
Apr 9, 2009
I am running a Point of Sale program that writes the ticket information to a text file and then prints the file.The problem I am running into on the one of the computers I am dealing with is that it prints the vbTab I am sending as one space. The computer is running Windows 2000 SP4 and has the .NET framework up to 2.0
View 5 Replies
Mar 6, 2011
The project is suppose to total the 8 commissions (in the array) I see the coding but when I try to put in a label at the bottom of the txtReport I get an error now I have deleted the box and am confused as to what my next step should be. Do I create a label box in the txtReport. I am so close to being finished.
The item "objDebugWindowsApplication1.Form1.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter.
[code].....
View 9 Replies
Aug 28, 2009
I have desinged a point of sales software but i need a lot of help to upgrade it as it is not standard and i'm a young programmer. I have designed the following forms (Cash Sales, Credit Sales, stock and Items).When a user inserts a record for cash or credit sales) I want that particular product entered to be deducted from the stock.
View 1 Replies
Mar 23, 2010
I am having some trouble with my program that I am doing. I am supposed to code the application so that it creates a report which I have done. Now the problem that I am having is I have to use an accumulator for the total sales amount in the access file. I am stuck on how to have it say "Total Sales:" and then have the accumulator with the ammount of $32000 next to it becuase I have to use the accumulator to total the sales.
[Code]...
View 1 Replies
Aug 30, 2011
I've figured out how to add the sales tax to a total, But I'm getting back an unrounded number for my total.This is my code to add the sales tax.
[Code]...
View 5 Replies
Dec 15, 2011
I have just finished college and I am awaiting my exam date. I have created some desktop applications for my portfolio, but now I want to create a Point of Sales (POS) system to add to the list.I notice in supermarkets and various shops that POS systems use touch screen monitors to interact with the program.My first question is, do I need to use different code or controls in my applications so they can be used with touch screen monitors.I have created an application for hotels for booking rooms (not for a client, just as a demo project), but if there is anyone out there who could give me some pointers on how to create the POS system.I will be doing some research and I will start designing some controls over the next few days. I am looking forward to getting this project started.
View 2 Replies
Mar 19, 2009
I'm trying to creat a program that tracks the sales of five products all with different monetary values. I'm trying to display the total number of each product sold, a combined total of products sold, and the total sales value. So far I'm only outputing the value of one of each product, I think there is a problem with the loop somehow. [code]
View 1 Replies
Dec 19, 2009
I'm trying to creat a program that tracks the sales of five products all with different monetary values. I'm trying to display the total number of each product sold, acombined total of products sold, and the total sales value. So far I'm only outputing the value of one of each product, I think there is a problem with the loop somehow.
Public Class MailOrder
Private product1 As Decimal = 2.98 ' product number 1
Private product2 As Decimal = 4.5 ' product number 2
[code]....
View 3 Replies
Nov 6, 2010
I want to show the sales data graphically.
View 2 Replies
Sep 6, 2009
I have a table with these columns:
IDsales, salesDate, salesmanID, itemDesc
I need an SQL querry to select all the sales from a certain date, with the summed sales grouped by salesmanID. The problem with the querry is that the data in the salesDate field is in a long format (with dd/mm/yyyy hh:mm:sss) and I dont know how to set the querry to disregard the "time" info, and take in account the "date" part only.
View 5 Replies
Nov 29, 2009
I have difficulties in doing 18.15 Sales Report Application in Visual Basic 2008 pp 405-406. It doesnot look complicated, but when I really start doing it.
Here is the link for the exercise (pp 405-406), 18.15: [URL]
View 1 Replies
Jul 12, 2009
How do I (Add code to read and use the data from the Sales.txt file
2/1/07,Books,10.00
2/1/07,Games,29.99
2/1/07,Books,15.99
[code]......
View 10 Replies
Apr 18, 2010
I am trying to add the Sales Revenue for each of the three rows and populate them in their own text box and then get a sum of the three text boxes. For Example:
1 2 3 4 5 (15)-text box
1 2 3 4 5 (15)-text box
2 4 4 3 5 (18)-text box
-----------------------
(48)-text box
[Code].....
View 3 Replies
Nov 5, 2009
I'm trying to create a Software Sales calculator. My issue is not being able to have the lblPackageA3 to display the number as FormatCurrency after having the txtPackageA being multiplied by $99.Also need to figure out how to apply discounts depending on the number of sales IE 10-19 = 20% off
Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
Dim sngPackageA As Single
Dim sngPackageB As Single
[code]....
View 14 Replies
Jan 14, 2010
I want to try to make a program for the Bill Print.
View 1 Replies