Click here to Skip to main content
16,016,759 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Prevent right click on the combobox or textbox Pin
T Manjaly6-Jan-05 13:38
T Manjaly6-Jan-05 13:38 
GeneralPassing parameters into Exe Pin
kobezt085-Jan-05 13:45
kobezt085-Jan-05 13:45 
GeneralRe: Passing parameters into Exe Pin
T Manjaly6-Jan-05 13:39
T Manjaly6-Jan-05 13:39 
GeneralRe: Passing parameters into Exe Pin
kobezt086-Jan-05 15:30
kobezt086-Jan-05 15:30 
GeneralCode for Project Pin
bdobruna5-Jan-05 8:20
bdobruna5-Jan-05 8:20 
GeneralRe: Code for Project Pin
Anonymous5-Jan-05 9:18
Anonymous5-Jan-05 9:18 
GeneralRe: Code for Project Pin
bdobruna5-Jan-05 12:19
bdobruna5-Jan-05 12:19 
GeneralRe: Code for Project Pin
Colin Angus Mackay5-Jan-05 9:43
Colin Angus Mackay5-Jan-05 9:43 
The list of tasks you must do is nicely broken down already so it should be easy to go through this and complete each item and check it off your list.

So, create your form with the various controls on it. Give the controls sensible names (don't just keep the defaults like TextBox1 or Label1 and so on).

You can double click on a control in the designer to get the default behaviour. If you double-click a button Visual Studio will create a Click event handler for you. (If you have given your controls sensible names the event handlers will get sensible names).

The creation of constants[^] is a trivial thing. Personally, I'd store values like this in the database (Sales and Marketing departments like to change things, give special deals to get people in the door and so on) - but since this is not a real world application, constants will serve just as well.

The maths to discover the rate is simple high school maths: (numberOfNights*roomRate)+(numberOfNights*extraGuestCharge*extraGuests)+(numberOfNights*rollawayBedCharge*numRollAwayBeds)


So, now you should have a starting point. Get going, and if you get stuck on doing something get back to us and we can help you on specific items.



Do you want to know more?
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums


GeneralRe: Code for Project Pin
J4amieC5-Jan-05 22:47
J4amieC5-Jan-05 22:47 
GeneralRe: Code for Project Pin
Edbert P6-Jan-05 10:46
Edbert P6-Jan-05 10:46 
GeneralAccessing other code base file in VB.NET Pin
fibman5-Jan-05 7:27
fibman5-Jan-05 7:27 
GeneralRe: Accessing other code base file in VB.NET Pin
T Manjaly5-Jan-05 10:04
T Manjaly5-Jan-05 10:04 
GeneralWindows Service Automatic Start Pin
Todd_S5-Jan-05 7:15
Todd_S5-Jan-05 7:15 
GeneralRe: Windows Service Automatic Start Pin
Barathan6-Jan-05 2:14
Barathan6-Jan-05 2:14 
GeneralRe: Windows Service Automatic Start Pin
Todd_S7-Jan-05 8:03
Todd_S7-Jan-05 8:03 
GeneralCF .Net Update Database from Dataset Datatable Pin
careysc5-Jan-05 5:03
careysc5-Jan-05 5:03 
GeneralAltering contents of a string Pin
SimesK5-Jan-05 4:55
sussSimesK5-Jan-05 4:55 
GeneralVARIANT leaks in VB.NET Pin
Jonathan [Darka]5-Jan-05 3:26
professionalJonathan [Darka]5-Jan-05 3:26 
Generalcalling subs from other classes Pin
fo0lish5-Jan-05 2:37
fo0lish5-Jan-05 2:37 
GeneralRe: calling subs from other classes Pin
T Manjaly5-Jan-05 5:37
T Manjaly5-Jan-05 5:37 
GeneralRe: calling subs from other classes Pin
fo0lish5-Jan-05 7:23
fo0lish5-Jan-05 7:23 
GeneralRe: calling subs from other classes Pin
T Manjaly5-Jan-05 9:04
T Manjaly5-Jan-05 9:04 
GeneralRe: calling subs from other classes Pin
fo0lish5-Jan-05 9:20
fo0lish5-Jan-05 9:20 
GeneralNeed Help for Crystal Report Page Setup Pin
Murtuza Husain Miyan Patel5-Jan-05 2:04
professionalMurtuza Husain Miyan Patel5-Jan-05 2:04 
GeneralRe: Need Help for Crystal Report Page Setup Pin
Barathan6-Jan-05 2:34
Barathan6-Jan-05 2:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.