Airline Reservation System With Revised Code?
Mar 12, 2012Why doesn't this code work? Public Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
[Code]...
Why doesn't this code work? Public Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
[Code]...
airline reservation system in .net
View 2 RepliesI have put about 12 Hours into this assignment and i feel that i have most of it completed what have is a combo box that has a FlightBindingSource and a listbox that has ReservationsBindingSource i need to the selected item in the combo box to be sent to a proceedure called DisplayPassengers, and then DisplayPassengers fills the list box with the passengers assigned to each flight.
This is what i have so far:
Public Class AirlineReservationForm
Private database As New ReservationsDataClassesDataContext()
Private Sub FillAll()
[code]...
I could not include the code since it's too large but here is the LINK. I have most of it working. I just need to know how to display the passenger list in the ListBox when the flight number is changed from the ComboBox.
View 8 RepliesI'm trying to complete this airline reservation application, but having a problem in this part of the question:Creat an event handler for the FlightBindingSource's PositionChanged event: select FlightBindingSource in the class Name combobox then select position changed in method name combobox to creat the FlightBindingSource's PositionChanged event handler. Write a code to access the currently displayed flight object and pass its flightNumber to method DisplayPassengers as a decimal.This Is my code so far:
HTML
Public Class AirlineReservationForm
Private database As New ReservationsDataClassesDataContext()
Private Sub FillAll()[code].....
I'm looking at building a airline simulation game whereby users create an run an airline, I just want to ask something that will possibly be very simple but it's going to be very complicated answer i think.for every aspect of my game do i have a class to create an object, for example
City: (I'll have a class called myCity and each time i look at a city it goes to that class creates an object and I use it then dispose of the object)Airplane: (make model etc) How about bigger items such as Bank is bank it's own class or are items inside the bank the object?
How about competitors, i guess each one is it's own object? i would never dispose of them, how would I store them form each user session to another?
I'm doing an airline reservation system program, but I can't wrap my head around it. I can't even come up with psuedocode. The airplane has 10 seats. The user needs to choose first class(seats 1-5) or economy(seats 6-10), and I need to make sure that no seat is sold to more than one person. And if there are no more seat in the selected class I need to display a message box "there are no more seats in the selected class. Would you like to switch classes?" else display message " next flight leaves in three hours".
I have more code now!:
Public Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Dim firstClass() As Integer = {1, 2, 3, 4, 5}
Dim economyClass() As Integer = {6, 7, 8, 9, 10}
[code].....
if someone could help about my Guest Reservation SystemI not intending anyone to do it for me,just need some advice want to know what is better or what should I do to make the project better.
View 3 Replies[font=Arial] i whoud like to develop vehical reservation system project what can i do for that?
View 1 Replieswat shud i include in my PROJECT exactly n perfectly..
View 1 RepliesI have a windows service written in .NET 2.0 that will run every 5 minutes and executes bunch oracle SQL/PLSQL scripts based on time/validation, it throws the above said error some times against some SQLs, the same SQLs run fine at later point without any error, I have no idea what is going on with the app. I am not sure if this has any thing to do with oracle connection pool as I am properly closing the connections after every SQL execution.
Exception:
System.Exception: Unexpected return code: 1 at System.Data.OracleClient.DBObjectPool.GetObject(Object owningObject, Boolean& isInTransaction) at System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String encryptedConnectionString,
[CODE]............................
i m usingin vb.net hw can i call system calculator thought code
View 3 RepliesI am trying to update my table reservation I am just trying to update only on column which is total amount but it is not updating.
Here is my code.
Dim a As Integer
a = MessageBox.Show("Are you sure you want to exit????", "ALI ENTERPRISES", MessageBoxButtons.YesNo, MessageBoxIcon.Information)
If a = vbYes Then
Me.Close()
[Code] .....
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.
How do I print out the message, "The customer has no reservation", when the computer cannot find the customerid table.
Private Sub cboSearchCustomer_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboSearchCustomer.SelectedIndexChanged
Dim dt2 As New DataTable
Dim strFmt As String = "{0,13}{1,13}{2,13}{3,10}{4,13}"
[CODE]...
This is how it should look like when completed. What type of steps should I take to get here?
how tell availabilty of rooms .I am having a hotel reservation system just wanna ask if how can I show that the rooms is occupied or not by using a label for the rooms
View 2 Replies<%@Page Language="VB" Explicit="False" Debug="true"%>
<%@ Import Namespace = "MySql.Data.MySqlClient" %>
[code].....
I have made some real time systems (softwares). Now I want to make an system (software) in vb.net 2008 which reads an bar-code saves the data in the database (SQL Server database). I am very new in making these types of system, thus i would like your help of making an system using bar-code scanner through vb.net 2008. Specific to my question I will require all the steps for creating an bar-code system through vb.net 2008. I am waiting for your reply.
View 1 Repliesi have been looking for a code to change date time in kernel32, which is I will get a date time from server and update current PC date and time based on server date and time.
[Code]...
Can someone provide a difinitive answer for how to code for System.Net.Mail (for VB)?I'm tryng to resolve the "System.IO.IOException Unable to read data from the transport connection " that cropped up after a recent Server update. The code was working fine until an update came down the other day.[code]
View 9 RepliesI'm sorry if the title is misleading but I have to develop the format for a barcode (either 1D or 2D, doesn't matter). The barcode needs to include a Purchase Order #, Bill of lading #, as well as the Line #, product ID # and quantity of each item that appears on the purchase order. Here is what I've come up with so far:
[Code]...
I have an application where i run a code when user logoff using below code
AddHandler SystemEvents.SessionEnding, AddressOf ClosingApplication.Where CloseApplication is procedure that is called.same way i want to add handler on system lock and relogin
How can i execute a code when there occurs a system switch user event.
View 8 RepliesI need code to fit for an 'if then' statement based on an operating system. So let's say I am running windows XP, the program detects it, and with a simple if then' statement it opens form2, if i was running vista, it would open form1. So basically i need something like: If (WindowXP current OS) then form2.open, If (windowsvista currrent OS) then form1.openOf course, the above statement won't work because I need code to support the detection of the O.S.Note: I just need code for just these two O.S'es, also I don't care if its Windows XP SP1 2, or 3, just as long as it's an XP.
View 4 RepliesThe Source Code Of A Computerized Registration System And Computerized
View 1 RepliesI'm using this code:
[Code]...
I want to have a partial class to manage my focus between radtextboxes when a user presses the enter key and I am looking for the telerik interpretation of this line of code tbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)?
Partial Public Class MstFileTruck Inherits Form
Private tbs() As Telerik.WinControls.UI.RadTextBox
Public Sub New()
[code]....
Quick over view:
Quick launch button. Form has no UI. It is capible of performing 3 tasks with task manager.
If not running process start
If running but hidden - show
if running and visible - hide
Problem:
If not running process start works fine,
If running hidden shows fine
If VISIBLE will go to system tray then reaper.
CODE:
Do anybody have sample code for mailing using System.net.Mail
View 1 RepliesIt is working with vb6 but when I used vb.net 2008 it is not working
Private Declare Function GetComputerName Lib "kernel32" _
Alias "GetComputerNameA" (ByVal lpBuffer As String, ByVal nSize As _
Long) As Long
Public Function ComputerName() As String
Dim sBuffer As String
[Code] .....