0% found this document useful (0 votes)
25 views14 pages

Hotel Management System in VB.NET

The document outlines a course on VB.NET aimed at developing GUI-based applications, focusing on competencies such as using Visual Studio IDE and applying object-oriented concepts. It details a microproject for creating a hotel management system, including methodologies, action plans, and required resources. The project emphasizes teamwork, communication, and critical thinking skills while enhancing operational efficiency in hotel management.

Uploaded by

devikatatude
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views14 pages

Hotel Management System in VB.NET

The document outlines a course on VB.NET aimed at developing GUI-based applications, focusing on competencies such as using Visual Studio IDE and applying object-oriented concepts. It details a microproject for creating a hotel management system, including methodologies, action plans, and required resources. The project emphasizes teamwork, communication, and critical thinking skills while enhancing operational efficiency in hotel management.

Uploaded by

devikatatude
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

0 RATIONALE
VB.NIE'I' is the Programming language based on Object () oriented Concepts which is
prominently used to develop GUI based Applications. Graphical User Interface (GtJ1) based
application includes various user-friendly controls to accept or display data. El-his course
will give the students an in-depth understanding of the concepts used in VB. NEP I* and
necessary skills to use Programming techniques 10 develop .NET based applications and
deploy the San)

2.0 COMPETENCY
The aim of this course is to help the student to attain the following industry identified

competency through various teaching learning experiences:

• Develop GUI based application using VB.net

3.0 COURSE OUTCOMES (COS)


The theory, practical experiences and relevant soft skills associated with this course are to be

taught and implemented, so that the student demonstrates the following industry-oriented COs

associated with the above-mentioned competency:

a. Use Visual Studio IDE to design application.

b. Develop GUI Application using Form Controls and its events.

c. Apply Object Oriented concepts in GUI Application.

d. Use Data access controls to store data in Database and retrieve it.

e. Use Data Binding in GUI Application

1|Page
“ HOTEL MANAGEMENT SYSTEM ”

4.0 Aim/ benefits of the microproject

 Aim :- To manage the hotel management system

 Benefits:- To understand the importance of GUI using VB.Net programming language

 Course outcomes Addressed

In this project we have made a hotel management system using Vb.net on Visual
studio Using windows form.

• tools Use Vb.net to create forms.


• Used various.

1.0 Actual me methodology followed

1. First of all we understand the topic.

2. We collect information about the entire parameter’s topic.

3. We understand each concept of topic.

4. We distribute the work to every group member.

5. We prepare the project report.

2|Page
2.0 Action plan (sequence and for major activity)

Sr. Details of activity Planned Start Planned Name of


Finish responsible
No. date Team
members
1. Select the topic about the 25/1/24 27/2/24 ALL
micro project.

2. Collect information about us 28/1/24 8/3/24 ALL


topic

3. To understand the concept of 11/3/24 14/3/24 ALL


topic

4. Analysis of data 15/3/24 23/3/24 ALL

5. To prepare project report 23/3/24 28/3/2024 ALL

5.0 Resources required:

3|Page
 Names of Team Member’s with Roll No

Sr Name of students Roll no. sign


no

1. Ms. Rutuja Suryawanshi 65

2. Ms. Priyanka Taksal 66

3. Ms. Devika Tatude 67

Approved by
Ms. N.A.Wagh
4|Page
Introduction

 Hotel Management System

The Simple Hotel Management System is a VB.NET project that can help manage the
hotel's Guest Room Check-in/Check-out and Reservation. This system stores the list
of Guests, Hotel Rooms, Reserved Rooms and etc. The system automatically calculates the
payable amount of the guest after selecting the room and check-in/check-out date range. The
system also calculates the minimum advance payment/down payment amount.

 FORM
o This the form is created :-
1. Open Visual Studio.
2. Create a new project by selecting "File" > "New" > "Project...".
3. Choose "Windows Forms App (.NET Framework)" or "Windows Forms App (.NET
Core)" depending on your Visual Studio version.
4. Give your project a name and click "Create".
5. Once the project is created, you'll see Form1.vb (or Form1.Designer.vb) file opened in the
design view.

o Example of form:-

Public Class Form1


Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim userInput As String = TextBox1.Text
MessageBox.Show("You entered: " & userInput, "Message")
End Sub
End Class
5|Page
 LABLE
1. Design Time (Visual Designer):
In design time, you can use Visual Studio's design view to create and configure the label
control visually.
I. Open your Windows Forms Application project in Visual Studio.
II. Open the form where you want to add the label.
III. From the Toolbox, locate the Label control (usually found under the "Common
Controls" section).
IV. Click on the Label control in the Toolbox, then click on your form where you want
to place the label. This action will add the label to your form.
V. You can now customize the label by changing its properties in the Properties
window (e.g., text, font, size, location, etc.).

 Run Time (Programmatically):

You can also create and configure a label control programmatically in the code-behind file
of your form.

o Example of Lable

Dim label1 As New Label() ' Create a new label control


label1.Text = "Hello, World!" ' Set the text of the label
label1.Location = New Point(50, 50) ' Set the location of the label
Me.Controls.Add(label1) ' Add the label control to the form

6|Page
 BUTTON
You can create a button either at design time using the Visual Studio's design view or at
runtime programmatically. Here's how you can do it in both ways:

1. Design Time (Visual Designer):

I. Open your Windows Forms Application project in Visual Studio.


II. Open the form where you want to add the button.
III. From the Toolbox, locate the Button control (usually found under the "Common
Controls" section).
IV. Click on the Button control in the Toolbox, then click on your form where you want
to place the button. This action will add the button to your form.
V. You can now customize the button by changing its properties in the Properties
window (e.g., text, font, size, location, etc.).
2. Run Time (Programmatically):

You can also create and configure a button control programmatically in the code-behind file
of your form.

Dim button1 As New Button() ' Create a new button control


button1.Text = "Click Me" ' Set the text of the button
button1.Location = New Point(50, 50) ' Set the location of the button
AddHandler button1.Click, AddressOf Button1_Click ' Attach an event handler to the
button's Click event
Me.Controls.Add(button1) ' Add the button control to the form

7|Page
 PICTURE BOX
1. Design Time (Visual Designer):

 Open your Windows Forms Application project in Visual Studio.


 Open the form where you want to add the PictureBox.
 From the Toolbox, locate the PictureBox control (usually found under the "Common
Controls" section).
 Click on the PictureBox control in the Toolbox, then click on your form where you want
to place the PictureBox. This action will add the PictureBox to your form.
 You can now customize the PictureBox by changing its properties in the Properties
window (e.g., Image, SizeMode, Location, Size, etc.).
 To set the image to be displayed in the PictureBox, you can either use the Image property
and assign an image from your project's resources or specify a file path to an image on
your computer.

2. Run Time (Programmatically):

You can also create and configure a PictureBox control programmatically in the code-
behind file of your form.

o Example of picture box

Dim pictureBox1 As New PictureBox() ' Create a new PictureBox control


pictureBox1.Image = Image.FromFile("path_to_your_image_file") ' Set the image to be
displayed
pictureBox1.SizeMode = PictureBoxSizeMode.Zoom ' Set the size mode (e.g., Zoom,
Stretch, Normal)
pictureBox1.Location = New Point(50, 50) ' Set the location of the PictureBox
pictureBox1.Size = New Size(200, 150) ' Set the size of the PictureBox
Me.Controls.Add(pictureBox1) ' Add the PictureBox control to the form

8|Page
 CODE:-

Public Class Form1


Private Sub Button1_Click(sender As Object, e As EventArgs) Handles
Button1.Click
If CheckBox1.Checked Then
MsgBox("Booking is successfully completed")
End If
If CheckBox2.Checked Then
MsgBox("Booking is successfully completed")
End If
If CheckBox3.Checked Then
MsgBox("Booking is successfully completed")
End If
If CheckBox4.Checked Then
MsgBox("Booking is successfully completed")
End If
If CheckBox5.Checked Then
MsgBox("Booking is successfully completed")
End If
If CheckBox6.Checked Then
MsgBox("Booking is successfully completed")
End If
End Sub
End Class

9|Page
Public Class Form2
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If CheckBox1.Checked Then
MsgBox("order successful")
End If
If CheckBox2.Checked Then
MsgBox("order successful")
End If
If CheckBox3.Checked Then
MsgBox("order successful")
End If
If CheckBox4.Checked Then
MsgBox("order successful")
End If
If CheckBox5.Checked Then
MsgBox("order successful")
End If
If CheckBox6.Checked Then
MsgBox("order successful")
End If
End Sub
End ClassPublic Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If CheckBox1.Checked Then
MsgBox("order successful")
End If
If CheckBox2.Checked Then
MsgBox("order successful")
End If
If CheckBox3.Checked Then
MsgBox("order successful")

10 | P a g e
End If
If CheckBox4.Checked Then
MsgBox("order successful")
End If
If CheckBox5.Checked Then
MsgBox("order successful")
End If
If CheckBox6.Checked Then
MsgBox("order successful")
End If
End Sub
End Class

11 | P a g e
 OUTPUT :-

12 | P a g e
13 | P a g e
8.0 Skill Developed

1. Teamwork

2. Communication skills

3. Team management

4. Critical Thinking

5. Task management

9.0 Conclusion

A hotel management system in VB.NET streamlines reservation processes, automates


check-in/check-out, manages inventory, handles billing/payment, and offers customer
relationship management. With robust security and reporting features, it enhances
operational efficiency, improves guest satisfaction, and drives business growth.

10.0 References

1. https://chat.openai.com/c/8dbcef03-641e-45d6-aff5-
b48dae498b32
2. https://github.com/dvarun/vb-hotel-mangement
3. https://www.sourcecodester.com/visual-basic-net/4872/simple-
hotel-management-system-using-vbnet.html

14 | P a g e

You might also like