|
-
Feb 6th, 2003, 12:19 AM
#1
Thread Starter
Junior Member
movie ticket selling machine
I want to know how to write a program that allows a user to select what movie they want to see (out of about 4) and the time they want to watch it at. The program would allow the user to select a movie, select a time for the movie, enter the number of tickets they desire, and view the amount due. i've got pics of the movie posters and I want it to be on the side in the box where you select the movie etc.
Also Im putting in a string for movie times:
Dim strTimes(,) As String = { _
{"01:00 PM", "03:00 PM", "05:00 PM", "07:00 PM", "09:00 PM", "11:00 PM"}, _
{"01:15 PM", "03:15 PM", "05:15 PM", "07:15 PM", "09:15 PM", "11:15 PM"}, _
{"01:30 PM", "03:30 PM", "05:30 PM", "07:30 PM", "09:30 PM", "11:30 PM"}, _
{"01:45 PM", "03:45 PM", "05:45 PM", "07:45 PM", "09:45 PM", "11:45 PM"}}
Thanks
-
Feb 6th, 2003, 07:12 AM
#2
Hyperactive Member
r u sure thats vb.net code?
-
Feb 6th, 2003, 10:38 AM
#3
Fanatic Member
GUnit216
Could you please explain your problem? I understand you want to make a program, but you havn't stated what you having trouble with
area91
yes thats VB.NET code, pretty neat huh
-
Feb 6th, 2003, 01:25 PM
#4
Fanatic Member
GUnit216
Thats an interesting project but, I might be wrong, you seem to be a beginner in VB.NET. I would suggest you first learn how to use buttons, selection lists, images, event handling and then attempt this project. Of course nothing prevents you from using this project as a learning exercise.
Using VB.NET 2003/.NET 1.1/C# 2.0
http://del.icio.us/rajoo
Blow your mind, smoke gunpowder
Ashes to ashes, dust to dust
If God won't have you, the devil will. - Author unknown
Don't follow me, I'm lost too ...
-
Feb 6th, 2003, 01:25 PM
#5
Thread Starter
Junior Member
Basically I want to know how to set up the window box so that they can choose the movie then click ok then get a new window box with times where it has the movie poster picture, new box where they purchase desired amount, and then finally the billing statement.
-
Feb 6th, 2003, 05:58 PM
#6
Fanatic Member
Originally posted by GUnit216
Basically I want to know how to set up the window box so that they can choose the movie then click ok then get a new window box with times where it has the movie poster picture, new box where they purchase desired amount, and then finally the billing statement.
It sounds like you have very little to none programming experience, this true?
if so, i HIGHLY suggest you get a VB.NET book as soon as possible as the internet can only teach so much
just experiment with controls and such, heres a super quick tutorial
1. Create new windows application
2. add a new windows form to the project ( you will have two then )
3. drag a button onto form1
4. double click the button
5. type the following
VB Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim f As Form2 = New Form2()
f.Show()
End Sub
6. run the program and click the button
of course that just a basic thing, you really have to think about what type of application it is going to be
MDI with multiple forms?
Dialog with alot of hiding and showing of controls?
as i said earlier, a book should be one of the first things you do, i believe every programmer should have at least one book for the language they use
-
Feb 6th, 2003, 08:49 PM
#7
Thread Starter
Junior Member
Yea I am a beginner and I looked in one book and I cant even figure out how to do it from that, plus I dont have VB.NET on this computer.
Are there at least any tutorials you could direct me to that have info on all of that?
-
Feb 6th, 2003, 09:10 PM
#8
Thread Starter
Junior Member
Yea what I was thinking of is multiple forms with the first one where you select the movie then it takes you to the desired form for whichever movie and you have the times to select from and the movie poster too in the form. Then it would ask how many tickets you want to purchase and automatically calculate the rate that the customer is charged on the final form.
Any ideas?
-
Feb 8th, 2003, 03:46 PM
#9
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|