Making Airline Reservations System?
Mar 11, 2012
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].....
View 13 Replies
ADVERTISEMENT
Feb 13, 2011
I 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]...
View 10 Replies
Jun 25, 2010
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?
View 12 Replies
Dec 30, 2008
airline reservation system in .net
View 2 Replies
Mar 12, 2012
Why doesn't this code work? Public Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
[Code]...
View 2 Replies
Feb 4, 2010
wat shud i include in my PROJECT exactly n perfectly..
View 1 Replies
Sep 12, 2010
I know that my question is very strange but please , I want an answer I want to make a simple GUI and 32-bit operating system with file manager , clock , calculator , image viewer and notepad (media player if available ) .
[Code]...
View 1 Replies
Dec 3, 2010
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 Replies
Oct 11, 2010
I have making login system using with php. Now I want to hide the link by using strongest MD5 hash, but the one I have got is uncrackable. I want to decrypt them in the runtime, but I couldn't
Public Class Form1
Function MD5Hash(ByVal strToHash As String) As String
Dim md5Obj As New Security.Cryptography.MD5CryptoServiceProvider
[code].....
View 12 Replies
Feb 12, 2009
I'm about to start a new project, its a Payroll System, I'll be using VS 2008 and my dbase is MS SQL Server 2k5.I just want have some tips for this kind of project.
View 4 Replies
Jul 7, 2012
We have two systems, one is created in VB.Net 2003 and the other is created in VB6. Both systems are client/server desktop application system. There is a requirement that we need to send and response data to each systems. The data will come as result of process of each system and then transfer it to the other system. These is formatted in a message format. Is it likely to become socket programming? how can I send and response data between servers?
View 1 Replies
Aug 15, 2011
we're working on a billing systemCurrently I am working on the categories module. Here's the thing:I need a dynamically changing UI. So the user can add categories, delete them and teh UI would accordingly add or remove controls automatically.I used DataGridView, but since the fetching and storing of data will not be done in a database, I need to fetch it and update it using an HTTP API, the data bindings are causing problems as I need to update, Insert or delete data using functions instead of letting VB do the hard work. I tried creating a datatable and checking for changes everytime user added/deleted/changed a row, but again the problem is: in a datatable I am not able select what type of control represents the column. For Example I have a parent category column where the control needs to be a combo box. The datatable's columns don't seem to provide an option and are automatically set to text box.I am thinking there is a really cool way of doing this that I am unaware of. all the VB.NET books I have read only seem to use DataGridView in conjunction with some sort of a database and not independantly.
View 4 Replies
Oct 11, 2010
I have making login system using with php. Now I want to hide the link by using strongest MD5 hash, but the one I have got is uncrackable. I want to decrypt them in the runtime, but I couldn't.
Here's the
Public Class Form1
Function MD5Hash(ByVal strToHash As String) As String
Dim md5Obj As New Security.Cryptography.MD5CryptoServiceProvider
Dim bytes() As Byte = System.Text.Encoding.ASCII.GetBytes(strToHash)
bytes = md5Obj.ComputeHash(bytes)
[Code] .....
The GetMD5Hash's method is using for to decrypt the MD5 hash to turns into the actual strings and MD5Hash's method is using for encrypt the strings into md5... However, the connection strings can be sniff the packets sent out. How to decrypt the MD5 hash and how to blocked the connection strings in the packets sent out??
View 12 Replies
Feb 25, 2010
what control should i use in making a room mapping system? i just cant figure out what controls i should use. i plan to use the datagrid but i don't know how to fill the color of cell.
View 3 Replies
Aug 6, 2011
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 Replies
Jun 22, 2010
I am a student of PGDCA. making a project of LIBRARY MANAGEMENT SYSTEM IN VB.NET 2005 VERSION.
View 4 Replies
Oct 20, 2010
I was thinking of making a anti-file duplication system for my PC. I feel that i have a lot file duplicates so finding them would be nice.
View 12 Replies
Jan 31, 2011
I am making program that will show Original system install date and calculate how old is system...How can I code that in VB 2010?
View 3 Replies
Apr 22, 2012
I'm making a rating system for people to rate things in a listbox. I've setup so the stars get saved using my.settings, but how would I make it so it gets stored into a database, and it checks to see if they already rated.
View 3 Replies
Sep 5, 2008
I am making a popup program for something, so I added a listbox and such, and I need to know how to go about making the system pull items off the listbox randomly and launch them in the web browser.
View 3 Replies
Sep 28, 2009
I'm looking to use the DHCP Server Management API to query scopes and reservations on a DHCP server.
View 8 Replies
Nov 27, 2010
I'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].....
View 13 Replies
May 8, 2010
What the Win32 API is? I have looked around but no where really outlines what it is. Is it basically a set of procedures, outlined by Microsoft for programmers in order to get services from the operating system? In essence is it the equivalent to making system calls abd and library calls in UNIX? And yes I now Windows makes library calls too.
View 2 Replies
Jul 6, 2010
I'm making a custom class that mocks the System.Drawing.Rectangle class because the Rectangle class doesn't have a name property. I need a name property because I am adding all of my rectangles to a collection and I need a little more info stored than just their locale and size. So I changed the _onPaint event but nothing is working out when I run the program?
Public Class Rectanglar : Inherits UserControl
Public BackgroundColor As Color = Color.Blue
Public Sub New(ByVal name As String, ByVal XY As Point, ByVal Widthy As Integer, ByVal Heighty As Integer)
[code].....
View 5 Replies
May 16, 2012
I'm a huge music person (got my own lil record thing going) but I'm wanting to design a program that would make music in my way. I have a decent amount of background knowlege of Visual Basic and Java I'm just wondering how could I execute this whole project. The Project is making a MPC Sampler. MPC is a drum machine; a machine with buttons that once you press it that it will play a sound from a drum (ex: snare, kick, tom, ect.) . So I would want to make some pads on my program that each have their own sound. Total of 16 pads. Which the design wouldn't be hard to make nor would the functionality of it having the play back sound (in my opinoin it wouldn't be hard atleast). But the thing is I wanna map out these pads to number keys on the number pad or keyboard. I'm not so sure how to do that. But that's all the easy stuff...
Also finding information is making a sound directory. What I mean by this is that I want to make a User Interface that will open up a file directory of sounds and the user can select what "kick" or "snare" sound he may want for the kick or snare pad. I don't know how to do that or even know what to search; neverless I don't know if this whole project idea is a good idea for Visual Basic or another programing language.
Also LATER ON I am wanting to add a record and export function that alows users to..well...record and export their beat or instrumental ha. That doesn't seem too too complex (mainly due to the fact that all it needs to do is record the users key strokes and then show them and play the sounds, but obviously it would get more complex than that.)
Here is an image of one of many MPCs but one with a directory - [URL]
View 5 Replies
Mar 16, 2009
With the following imported namespaces in my project :
Imports System.Windows.Forms
Imports System.Reflection
.. I cannot add..
[code].....
View 6 Replies
Jun 27, 2011
VB 2008, DataGridView,DataGridView1_CellLeave(sender, New System.EventArgs)
"Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.DataGridViewCellEventArgs'."
What is the Correct String for "New System.EventsArgs"
Anybody there is to help me out.
View 1 Replies
Jul 29, 2011
I am getting following error whenever I want to use IIf function inside entity framework query.
LINQ to Entities does not recognize the method 'System.Object IIf(Boolean, System.Object, System.Object)' method, and this method cannot be translated into a store expression.
View 1 Replies
Apr 16, 2010
What do I need to convert?
Dim CEESearchByAppNo = From CEEsearch In dbCEE.tblScanneds _
Where CEEsearch.AppNo = iAppNo
[code].....
View 5 Replies
May 13, 2009
I am getting the following erro message: "Unable to cast object of type 'System.String' to type 'System.Predicate`1[System.String]'." on the line of code: If Not StrgFrag.Exists(wrd) Then I was expecting a True/False response and assumed it would work given that wrd is a String variables and StrgFrag in a List(of String). Do I need to reference the wrd variable differently? Dim StrgFrag As New List(Of String)
[Code]....
View 2 Replies