Building A Airline Simulation Game Whereby Users Create An Run An Airline?
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
ADVERTISEMENT
Dec 30, 2008
airline reservation system in .net
View 2 Replies
Feb 4, 2010
wat shud i include in my PROJECT exactly n perfectly..
View 1 Replies
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
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
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
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
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
Jan 13, 2012
I have a requirement to construct a Arena simulation model using an entirely separated external VB program, instead of using the build-in VBA programming capabilty. I have some progress on building such program, but not satisfied with the behavior.
Is it possible to create a Model without starting the Arena.exe?If the program halt for any reason (such as termination of debugging) during the model creation steps, the subsequent call to the CreateObject function failed with result like "Cannot create ActiveX/Com objects". This error still occurs even if I manually kill the Arena.exe via the Task Manager. How to avoid this?
-- Current Code --
Try
arenaApp = CType(CreateObject("Arena.Application"), Arena.Application)
arenaModel = arenaApp.Models.Add
[code]....
View 1 Replies
Feb 28, 2011
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim x, y As Integer
[code].....
View 4 Replies
Apr 12, 2012
Trying to create a game that firsts asks for the users initials. Once the initials are entered the game from becomes visible. Can't seem to figure this out.
[Code].....
View 4 Replies
May 4, 2011
I have created a scrabble game that generates random letters. For the user to type in a word using the random letters they have to type it in a text box.
I want my program to prevent users from typing in letters that are not provided in the text box and to allow them to type in the random letters that are provided.
View 4 Replies
Apr 18, 2012
On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.
Code:
Public Class Form1
Dim Myturn As Integer
Dim Computerturn As Integer
[CODE]...
View 6 Replies
Jul 15, 2010
I want to build an application that checks every second for certain windows and then react according to that.
My Goal:I'm building the application for a pc in a Students Home with about 10 users. To create 10 different user accounts for windows will be annoying and crowded, because new people come in every year(or couple of months) and then old accounts have to be deleted and new ones created.
I want to build an application that accepts folderPaths or window names.Lets say user1 creates a folder with the name "Susan" that she wants to protect (her personal files/picture/work will be stored there. She opens the application, selects the folder. The application saves the folder path and her password that she enters.
If the application detects that a user is trying to open/move/delete/copy/whatever that folder, the app must pop up a password box. Correct password gives her the freedom she wants, wrong password just ignores the open/move/delete/copy/whatever command.
View 4 Replies
Jun 21, 2010
I am trying to build a pacman game. Currently I am in the process of building the AI for the ghosts. The way I have the AI working is whenever a ghost enters an intersection, it will check where the player is relative to its position,then it will move in one of the possible directions depending on the intersection it is at.The problem I am experiencing though is whenever ghost is moving horizontally it cannot be sent to the left. Similarly,when it is moving vertically, it cannot be sent up or down.This doesn't allow it to turn around when it is moving to the right or to the bottom. It can be sent right when moving left though. When searching through my code I cannot see why this is.
View 1 Replies
Feb 9, 2010
I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an encrypted password format), and a SqlRoleProvider. I need to know if it's possible to administer the users (create new users, assign them to roles, etc.) from a windows application - the powers that be don't want any administrative functionality in the web app itself.Here is the membership provider definition from web.config:
<membership defaultProvider="MyProvider">
<providers>
<add name="MyProvider"
[code].....
View 3 Replies
Jun 4, 2012
I am all new to Visual Basic 2008, I am trying to create a picture shuffle game, the problem is I cant seem to be able to move one picture from PictureBox1 to PictureBox2 onClick, here is a Code I written earlier:Sub ChangePicture(ByRef P1 As PictureBox, ByRef P2 As PictureBox)
[Code]...
View 1 Replies
Sep 11, 2009
Is there any visual basic 2005/2008 RPG games with the source code available for download.Could you possibly reply to this post with a link to the website with the game.Or is there a template i could use to try create a zombie style RPG game text or graphical.
View 2 Replies
Dec 1, 2010
I've designed my own encryption application in VB 2008 that has a free tools section where users can choose a particular wizard to use from the drop down. The javascript wizards display the code required to put in their own sites. I already created wizards that users can well, use.I see people have their own "contact form wizards" on their websites all the time. Where users can use the wizard and get the displayed code to copy and paste on their sites. But trying to locate source codes to these things is very aggravating on the web.So what I want to do is create my own "form wizard" like out of javascript, that allows the user to put in some information then get the displayed code to put in their own websites. I'm not looking for the generator such as the online form generators.But the javascript source code(s) for the generator itself.Then I could simply put a form generator inside of my VB-app, that will allow the user to use the wizard, then get the html code to paste in their own sites. Preferably not the PHP one because the php backend is very difficult to put in a VB app.I know that it can be done. For example copying a web pages source code then putting it inside a string, then calling that string from a button click that will open the javascript page in the webbrowser inside the VB app.
View 2 Replies
Feb 21, 2010
where can i refer this system. this system consist on elevator location, the level that the consumer need to go and others.
View 1 Replies
Apr 7, 2009
if you can simulate a "double click" when you click a button. What I mean is that,
1 - you click on the button,
2 - the button behaves as if it were clicked twice.
I need this because for some reason, some of the buttons on my form that give focus to a PDF reader need to be clicked twice in a row to work. I think this is because with the component, there are different areas to give focus, but you can only just say "AxAcroPDF.Focus" .
Can I simulate a "double click" on the action of a single click?
View 7 Replies
Sep 16, 2009
I'm writing a program in vb.net that automatically creates users from a database.It works fine, as long as there is no comma or there are no two spaces in the CN.
I am using the WinNT interface, so in fact it creates a SamAccountName and copies it automatically to the CN.When I create the entry manually in AD, I can add comma's and spaces without problems, so it should be a programming error.
[Code]...
View 3 Replies
Apr 9, 2009
dice roll simulation with Rnd function
View 4 Replies
Nov 24, 2010
I have a rather popular application, and I was wandering if I could allow users to create add-ons for this software. I was unable to think of a method of doing this, and I do not know where to start. If you have any questions in order to provide a better response, feel free to ask.
View 2 Replies
Mar 15, 2012
Can I create 2 users and they have different function??Database base using is MS Access.For example I have "staff" and "admin".Staff can insert,edit and delete data only.Admin can check the total sales of the day.Can I do that in VB.Net and can somebody give me some idea or example??
View 3 Replies
Nov 8, 2011
I wish to use raw input on an application that i know accepts it and simulate ondevicearrival events for a physical hardware device so i dont have to plug it in to test on device arrival. I can find the pid and other hardware specific numbers if needed for the simulation but im really just wanting to simlulate multiple mice for ondevicearrival.
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt.
View 1 Replies
Oct 18, 2010
i am suppose to create "a windows form game called Yahtzis which uses five dice and three throws to create a score" .
The problem is that i don't even know how to start it can anyone shed some light.
View 2 Replies
Oct 11, 2010
I would like to allow users to create pages on my site. Not full pages, but just content for the default template.
View 2 Replies
Jan 7, 2011
Is it possible to create a VB.Net application which users can just run without installing it first.If not, is it possible in another .Net language.The application only has to run under Windows (>= XP).
View 4 Replies
Feb 23, 2009
We want to create an rtb for users to enter data and would like for them to be able to bold words or change their color.(and create hyperlinks)
View 2 Replies