Вы находитесь на странице: 1из 60

KRISTU JAYANTI COLLEGE ZODIAC SIGNS

Introduction:

Zodic sign project is an application which used for letting us to know the personalities and special talents ,related
to our sign to helping us to us know how our day will go.We can use information basedof zodiac sign to improve the quality
of our life . By using this software we can determine our sign ,you will able to know where to focus our energy and what
area of life you dediacte less time to. The Zodiac Signs reflect the laws of evolution of the world and indicate
certain standards according to which Man should behave in the incarnate world. Each sign reflects in its own
way the law of integrity in the form it was given from above so that everything in this world is in balance
and harmony, without breaking the unity of all creation. Ideally, a person must be multi-dimensional,
“multifaceted”, mirroring the information of the whole zodiacal circle.

Modules:

1. Administration Module
This module supports the following features
a) Creation of new Users

b) Logging in of existing users

c) Forgot Password

d) Providing OTP for security

2. Login Module
This module manages the logging in and validating the existing users, it manages the user names and
passwords of the registered users.

3. User Module
This module provides the user interface, he cannot use the application until he registers himself with
the application

17CS1K1044 1
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

1.1 Problem Definition:


It helps in managing the activities related for booking a tour package. The user will consume less
amount of time for their work. The main purpose of the project is to make people to know their zodiac sign
. It needs the date, place and exact time of birth and they require the material for calculation and needed to
calculate the individual horoscope. The basic ingredients of this application include sun sign, the
information on the houses.

1.2 Scope of the project:

Astrology as a Subject, In India as per some stats more than 10 thousand Crore Market of Astrology
including Books, Astrologer fees, Pandit, Remedies, Gem Stone etc]

As per My Assumption Including Official and UnOfficial Total around 50 thousand Crore to 1 lakh
Crore is real Market. Because In India Gems Stone Market via Astrology is Largest in the World. Many
Countries asking Good Gem Stone from India, Export of Good and Services related to Astrology are Huge.

Some Top Ten Earning Astrologer they are Earning More than a Cricketer or Film Star in a Year. It
is not exaggerated, it is true.

If you see General Astrologer, those working among General Public and easy to access Earning 10
thousand Rupees per month to 10 Lakh rupees Per month. In Some other Low Earning Astrologers they
charge Rs. 11 to Rupees 101, they may be earning 10 to 50 thousand rupees in a year.

A Celebrity Astrologer Charged Minimum 50 thousand Rupees per Horoscope Analysis, Remedies
Starts from 5 lakh and up to Crores. A Celebrity Astrologer May Earn 50 Crore or More in a Year.

In Case of Western Astrologers, If Total Income of India and NRI Astrologer Income that is almost
equal to Other Countries Astrologer Together.

Suppose Indian [including NRI Astrologer] earning 10,000 Crore in a Year then All Other
Astrologer from Other 200+ Countries May be earning 8 to 10 thousand Crore Max.

17CS1K1044 2
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
2. SYSTEM STUDY

2.1 Existing System

Existing System needs the date, place and exact time of birth and they require the material for
calculation and needed to calculate the individual horoscope. The basic ingredients of this application
include sun sign, the information on the houses.

2.2 Feasibility Study

A feasibility study is an analysis of how successfully a project can be completed, accounting for
factors that affect it such as economic, technological, legal and scheduling factors. Project managers
use feasibility studies to determine potential positive and negative outcomes of a project before
investing a considerable amount of time and money into it.A feasibility study tests the viability of an
idea, a project or even a new business. The goal of a feasibility study is to place emphasis on potential
problems that could occur if a project is pursued and determine if, after all significant factors are
considered, the project should be pursued. Feasibility studies also allow a business to address where
and how it will operate, potential obstacles, competition and the funding needed to
get the business up and running. Components of Feasibility study:

Economic Feasibility
Technical feasibility
Operational feasibility
Schedule Feasibility

Every project is feasible for given unlimited resources and infinitive time. Feasibility study is
an evaluation of the proposed system regarding its workability, impact on the organization, ability to meet
the user needs and effective use of resources. Thus when a new application is proposed it normally goes
through a feasibility study before it is approved for development. Feasibility and risk analysis are related
in many ways.

17CS1K1044 3
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
2.3 Proposed System

This software provides additional information about the each Zodiac Sign with their characteristics .
This Application will help the people to know how their day will go.

Features :

 Easily maintainable and updatable.


 User friendly.
 Easy to handle.
 Simple to use and easy to learn.
 Hiring feasibility.

17CS1K1044 4
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

3.SYSTEM DESIGN
In the design phase the architecture is established. This phase starts with the requirement document
delivered by the requirement phase and maps the requirements into an architecture. The architecture
defines the components, their interfaces and behaviors. The deliverable design document is the
architecture. The design document describes a plan to implement the requirements. This phase represents
the ``how'' phase. Details on computer programming languages and environments, machines,
packages, application architecture, distributed architecture layering, memory size, platform,
algorithms, data structures, global type definitions, interfaces, and many other engineering details are
established. The design may include the usage of existing components.

In our approach, the team, given a complete requirement document, must also indicate
critical priorities for the implementation team. A critical implementation priority leads to a task that has
to be done right. If it fails, the product fails. If it succeeds, the product might succeed. At the very least,
the confidence level of the team producing a successful product will increase. This will keep the
implementation team focused. Exactly how this information is conveyed is a skill based on experience
more than a science based on fundamental foundations.System design is the process of defining the
architecture components, modules, interfaces, and data for a system to satisfy specified requirements.
Systems design could be seen as the application of systems theory to product development. There is
some overlap with the disciplines of systems analysis , systems architecture and systems engineering.

If the broader topic of product development"blends the perspective of marketing, design,


and manufacturing into a single approach to product development," then design is the act of taking the
marketing information and creating the design of the product to be manufactured.

Architectural design:

The architectural design of a system emphasizes the design of the that describes the, and of
that system and analysis.

Logical design:

The logical design of a system pertains to an abstract representation of the data flows, inputs
and outputs of the system. This is often conducted via modelling, using an over-abstract (and
17CS1K1044 5
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
sometimes graphical) model of the actual system. In the context of systems, designs are included.
Logical design includes entity-relationship diagrams (ER diagrams).

Physical design:

The physical design relates to the actual input and output processes of the system. This is
explained in terms of how data is input into a system, how it is verified/authenticated, how it is processed,
and how it is displayed. In physical design, the following requirements about the system are decided.
Input requirement
Output requirements
Storage requirements
Processing
requirementsSystem
control and backup or
User Interface
recovery. Design is concerned with how users add information to the system and with
how the system presents information back to them. Data Design is concerned with how the data is
represented and stored within the system. Finally, Process Design is concerned with how data moves
through the system, and with how and where it is validated, secured and/or transformed as it flows
into, through and out of the system. At the end of the system design phase, documentation describing the
three sub-tasks is produced and made available for use in the next phase.
Physical design, in this context, does not refer to the tangible physical design of an information
system. To use an analogy, a personal computer's physical design involves input via a keyboard,
processing within the CPU, and output via a monitor, printer, etc. It would not concern the actual
layout of the tangible hardware, which for a PC would be a monitor, CPU, motherboard, hard
drive, modems, video/graphics cards, USB slots, etc. It involves a detailed design of a user and a
product database structure processor and a control processor. The H/S personal specification is
developed for the proposed system.

3.1 ER DIAGRAMS:

An entity relationship diagram (ERD) shows the relationships of entity sets stored in a database.
An entity in this context is a component of data. In other words, ER diagrams illustrate the logical
structure of databases. At first glance an entity relationship diagram looks very much like a
flowchart. It is the specialized symbols, and the meanings of those symbols, that make it
unique.Because this ER tutorial focuses on beginners below are some tips that will help you build effective

17CS1K1044 6
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
ER diagrams:
1. Identify all the relevant entities in a given system and determine the relationships among these
entities.

2. An entity should appear only once in a particular diagram.

3. Provide a precise and appropriate name for each entity, attribute, and relationship in the diagram.
Terms that are simple and familiar always beats vague, technical-sounding words. In naming entities,
remember to use singular nouns. However, adjectives may be used to distinguish entities belonging to the
same class (part-time employee and full time employee, for example). Meanwhile attribute names must
be meaningful, unique, system-independent, and easily understandable.

4. Remove vague, redundant or unnecessary relationships between entities.

5. Never connect a relationship to another relationship.

6. Make effective use of colours. You can use colours to classify similar entities or to highlight key
areas in your diagrams.

You can draw entity relationship diagrams manually, especially when you are just informally
showing simple systems to your peers. However, for more complex systems and for external audiences,
you need diagramming software such as Creately‘s to craft visually engaging and precise ER diagrams.
The ER Diagram Software offered by Creately as an online service is pretty easy to use and is a lot
more affordable than purchasing licensed software. It is also perfectly suited for development teams
because of its strong support for collaboration.

The History of Entity Relation Diagrams

Peter Chen developed ERDs in 1976. Since then Charles Bachman and James Martin have added
some slight refinements to the basic ERD principles.

Structure of an Entity Relationship Diagram with Common ERD Notations

An entity relationship diagram is a means of visualizing how the information a system


produces is related. There are five main components of an ERD:

Entities : which are represented by rectangles .An entity is an object or concept about which want to store
information. A weak entity is an entity that must defined by a foreign key relationship with another entity
as it cannot be uniquely identified by its own attributes alone.

17CS1K1044 7
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

Actions, which are represented by diamond shapes, show how two entities share information in the
database. In some cases, entities can be self-linked. For example, employees can supervise other
employees.

Attributes, which are represented by ovals. A key attribute is the unique, distinguishing characteristic of
the entity. For example, an employee's social security number might be the employee's key attribute.

A multivalued attribute can have more than one value. For example, an employee entity can have
multiple skill values. A derived attribute is based on another attribute. For example, an employee's
monthly salary is based on the employee's annual salary.

.
Connecting lines, solid lines that connect attributes to show the relationships of entities in the
diagram.

Cardinality specifies how many instances of an entity relate to one instance of another entity.
Ordinality is also closely linked to cardinality. While cardinality specifies the occurrences of a
relationship, ordinality describes the relationship as either mandatory or optional. In other words,
cardinality specifies the maximum number of relationships and ordinality specifies the absolute
minimum number of relationships.

17CS1K1044 8
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

ER DIAGRAM FOR ZODIAC SIGN

17CS1K1044 9
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

3.2 Data flow diagram (level 0 and level 1)

The Data Flow Diagrams (DFDs) are used for structure analysis and design. DFDs show the flow
of data from external entities into the system. DFDs also show how the data moves and is transformed
from one process to another, as well as its logical storage. The following symbols are used within
DFDs. For clarity, a key has been provided at the bottom of this page.

A data flow diagram (DFD) is a graphical representation of the "flow" of data through an,
modelling its process aspects. A DFD is often used as a preliminary step to create an overview of the
system, which can later be elaborated. DFDs can also be used for the of (structured design).

A DFD shows what kind of information will be input to and output from the system, where the
data will come from and go to, and where the data will be stored. It does not show information about
the timing of process or information about whether processes will operate in sequence or in parallel.

History:

The original developer of structured design, based on Martin and Estrin's "Data Flow Graph"
model of computation.
Starting in the 1970s, data flow diagrams (DFD) became a popular way to visualize the major
steps and data involved in software system processes. DFDs were usually used to show data flow in a
computer system, although they could in theory be applied . DFD were useful to document the major
data flows or to explore a new high-level design in terms of data flow.

Theory:

17CS1K1044 10
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

Data flow diagram

Data flow diagrams are also known as bubble charts. DFD is a designing tool used in the top-down
approach to Systems Design. This context-level DFD is next "exploded", to produce a Level 1 DFD that
shows some of the detail of the system being modeled. The Level 1 DFD shows how the system is divided
into sub-systems (processes), each of which deals with one or more of the data flows to or from an external
agent, and which together provide all of the functionality of the system as a whole. It also identifies internal
data stores that must be present in order for the system to do its job, and shows the flow of data between the
various parts of the system.
Data flow diagrams are one of the three essential perspectives of the structured-systems analysis
and design method. The sponsor of a project and the end users will need to be briefed and consulted
throughout all stages of a system's evolution. With a data flow diagram, users are able to visualize how the
system will operate, what the system will accomplish, and how the system will be implemented. The
old system's dataflow diagrams can be drawn up and compared with the new system's data flow
diagrams to draw comparisons to implement a more efficient system. Data flow diagrams can be used to
provide the end user with a physical idea of where the data they input ultimately has an effect upon the
structure of the whole system from order to dispatch to report. How any system is developed can be
determined through a data flow diagram model.
In the course of developing a set of levelled data flow diagrams the analyst/designer is forced to
address how the system may be decomposed into component sub-systems.
There are different notations to draw data flow diagrams defining different visual
representations for processes, data stores, data flow, and external entities.

17CS1K1044 11
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Physical vs. logical DFD
A logical DFD captures the data flows that are necessary for a system to operate. It describes the
processes that are undertaken, the data required and produced by each process, and the stores needed to
hold the data. On the other hand, a physical DFD shows how the system is actually implemented, either
at the moment (Current Physical DFD), or how the designer intends it to be in the future (Required Physical
DFD). Thus, a Physical DFD may be used to describe the set of data items that appear on each piece of
paper that move around an office, and the fact that a particular set of pieces of paper are stored
together in a filing cabinet. It is quite possible that a Physical DFD will include references to data
that are duplicated, or redundant, and that the data stores, if implemented as a set, would constitute
an un-normalised (or de- normalised) relational database. In contrast, a Logical DFD attempts to
capture the data flow aspects of a system in a form that has neither redundancy nor duplication.

DATA FLOW SYMBOLS AND THERE MEANINGS:-

An entity. A source of data or a destination for data

Process: Represented by circles in the diagram. Processes are responsible for manipulating the data.
They take data as input and output an altered version of the data.

Data Store: Represented by a segmented rectangle with an open end on the right. Data Stores are
both electronic and physical locations of data. Examples include databases, directories, files, and
even filing cabinets and stacks of paper.

17CS1K1044 12
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Data Flow:

Represented by a unidirectional arrow. Data Flows show how data is moved through the
System. Data Flows are labeled with a description of the data that is being passed through it.

In our course, we need to understand and be able to draw 2 types of Data Flow Diagrams, they
are Level-0 and Level 1 DFD‘s. In this blog, I will hopefully make it easier to understand the
differences between the two types of DFD‘s and help understand how to draw a DFD for the exam.
Firstly I will look at level-0 DFD‘s and give an example. Then I will look at Level 1 DFD‘s and give an
example.

A level-0 DFD is the most basic form of DFD. It aims to show how the entire system works at
a glance. There is only one process in the system and all the data flows either into or out of this
process.Level-0 DFD‘s demonstrates the interactions between the process and external entities. They
do not contain Data Stores.

When drawing Level-0 DFD‘s, we must first identify the process, all the external entities and
all the data flows. We must also state any assumptions we make about the system. It is advised that we
draw the process in the middle of the page. We then draw our external entities in the corners and finally
connect our entities to our process with the data flows.

17CS1K1044 13
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
DATA FLOW DIAGRAM FOR ZODIAC SIGN:

3.3 Gantt chart:-

A Gantt chart is a type of bar chart, devised by Henry Gantt in the 1910s, that illustrates a project
schedule. Gantt charts illustrate the start and finish dates of the terminal elements and summary elements of
a project. Terminal elements and summary elements comprise the work breakdown structure of the project.
Modern Gantt charts also show the dependency (i.e., precedence network) relationships between
activities. Gantt charts can be used to show current schedule status using percent-complete shadings
and a vertical "TODAY" line as shown here.Although now regarded as a common charting technique,
Gantt charts were considered revolutionary when first introduced. This chart is also used in information
technology to represent data that has been collected

17CS1K1044 14
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
GANTT CHART BENEFITS:

Clarity:One of the biggest benefits of a is the tool's ability to boil down multiple tasks and timelines
into a single document. Stakeholders throughout an organization can easily understand where teams
are in a process while grasping the ways in which independent elements come together toward project
completion.

Communication:Teams can use Gantt charts to replace meetings and enhance other status updates.
Simply clarifying chart positions offers an easy, visual method to help team members understand task
progress.

Motivation:Some teams or team members become more effective when faced with a form of
external motivation. Gantt charts offer teams the ability to focus work at the front of a task timeline, or
at the tail end of a chart segment. Both types of team members can find Gantt charts meaningful as
they plug their own work habits into the overall project schedule.

Coordination:For project managers and resource schedulers, the benefits of a Gantt chart include the
ability to sequence events and reduce the potential for overburdening team members. Some project
managers even use combinations of charts to break down projects into more manageable sets of tasks.

Creativity:Sometimes, a lack of time or resources forces project managers and teams to find
creative solutions. Seeing how individual tasks intertwine on Gantt charts often encourages new
partnerships and collaborations that might not have evolved under traditional task assignment systems.

Flexibility:Whether you or you load tasks into a more precise chart generator, the ability to issue
new charts as your project evolves lets you react to unexpected changes in or timeline. While
revising your project schedule too frequently can eliminate some of the other benefits of Gantt charts,
offering a realistic view of a project can help team members recover from setbacks or adjust to other
changes.

Manageability:For project managers handling complex assignments, like software publishing or


event planning, the benefits of Gantt charts include externalizing assignments. By visualizing
all of the pieces of a project puzzle, managers can make more focused, effective decisions about
resources and timetables.

17CS1K1044 15
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Gantt Chart Importance:

The project's summary and terminal elements, which combine to form the project's internal
structure, are shown on the Gantt chart. Many charts will also depict the precedence rankings and
dependencies of various tasks within the project. The charts can illustrate the start and finish project
terminal elements in project management. It can also show summary elements and terminal
dependencies. The smallest task tracked as part of the project effort is known as a terminal element.
Gantt chart represents the tasks in most modern project scheduling packages. However other management
applications use simpler communication tools such as message boards, to-do lists and simple scheduling
etc., therefore, they do not use Gantt charts as heavily.

The way to create this chart begins by determining and listing the necessary activities. Next,
sketch out how you expect the chart to look. List which items depend on others and what activities take
place when. For each activity, list how many man-hours it will require, and who is responsible. Lastly,
determine the throughput time.

This technique's primary advantage is its good graphical overview that is easy to understand
for nearly all project participants and stakeholders. Its primary disadvantage is its limited applicability for
many projects, since projects are often more complex than can be effectively communicated with this
chart.
GANTT CHART FOR ZODIAC SIGN PROJECT

17CS1K1044 16
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
3.4 INPUT/OUTPUT DESIGN

USER LOGIN CODE:

Public Class AdminLogin

Private Sub AdminLogin_Load(sender As Object, e As EventArgs) Handles MyBase.Load

CheckBox1.Checked = True

End Sub

Private Sub Label5_Click(sender As Object, e As EventArgs) Handles Label5.Click

Me.Close()

Form1.WindowState = FormWindowState.Normal

Homepage.WindowState = FormWindowState.Normal

End Sub

Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles


CheckBox1.CheckedChanged

If txtPassword.UseSystemPasswordChar = True Then

txtPassword.UseSystemPasswordChar = False

Else

txtPassword.UseSystemPasswordChar = True

End If

End Sub

Private Sub txtUser_MouseEnter(sender As Object, e As EventArgs) Handles txtUser.MouseEnter

Dim colorHint As Color

Dim colorText As Color

colorHint = Color.FromArgb(210, 210, 210)

17CS1K1044 17
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
colorText = Color.FromArgb(0, 191, 255)

If txtUser.Text = "Enter Your Username" Then

txtUser.Text = ""

txtUser.ForeColor = colorText

End If

End Sub

Private Sub txtUser_MouseLeave(sender As Object, e As EventArgs) Handles txtUser.MouseLeave

Dim colorHint As Color

Dim colorText As Color

colorHint = Color.FromArgb(210, 210, 210)

colorText = Color.FromArgb(0, 191, 255)

If txtUser.Text = "" Then

txtUser.Text = "Enter Your Username"

txtUser.ForeColor = colorText

End If

End Sub

Private Sub txtPassword_MouseEnter(sender As Object, e As EventArgs) Handles


txtPassword.MouseEnter

Dim colorHint As Color

Dim colorText As Color

colorHint = Color.FromArgb(210, 210, 210)

colorText = Color.FromArgb(0, 191, 255)

If txtPassword.Text = "Enter Your Password" Then

txtPassword.Text = ""

txtPassword.ForeColor = colorText

End If

17CS1K1044 18
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
End Sub

Private Sub txtPassword_MouseLeave(sender As Object, e As EventArgs) Handles


txtPassword.MouseLeave

Dim colorHint As Color

Dim colorText As Color

colorHint = Color.FromArgb(210, 210, 210)

colorText = Color.FromArgb(0, 191, 255)

If txtPassword.Text = "" Then

txtPassword.Text = "Enter Your Password"

txtPassword.ForeColor = colorText

End If

End Sub

End Class

REGISTER PAGE CODE:

Imports System.Data.SqlClient
Public Class Signup
Dim con As New SqlConnection
Dim cmd As New SqlCommand

Private Sub btnSignIn_Click(sender As Object, e As EventArgs) Handles btnSignIn.Click


Dim constring As String = "Data Source=(LocalDB)\v11.0;AttachDbFilename=E:\Zodiac Signs\Zodiac
Signs\zodiac.mdf;Integrated Security=True"
con = New SqlConnection(constring)
con.Open()
cmd.Connection = con
cmd.CommandText = "INSERT INTO usrreg(username,password,name,email,phno)
VALUES(@username,@password,@name,@email,@phno)"
Dim paramname As New SqlParameter("@name", SqlDbType.VarChar, 50)
17CS1K1044 19
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
paramname.Value = txtname.Text
Dim parammail As New SqlParameter("@email", SqlDbType.VarChar, 50)
parammail.Value = txtEmail.Text
Dim paramph As New SqlParameter("@phno", SqlDbType.VarChar, 50)
paramph.Value = txtphno.Text
Dim paramusr As New SqlParameter("@username", SqlDbType.VarChar, 50)
paramusr.Value = txtUser.Text
Dim parampass As New SqlParameter("@password", SqlDbType.VarChar, 50)
parampass.Value = txtPassword.Text
cmd.Parameters.Add(paramname)
cmd.Parameters.Add(parammail)
cmd.Parameters.Add(paramph)
cmd.Parameters.Add(paramusr)
cmd.Parameters.Add(parampass)
Dim da As New SqlDataAdapter
da.InsertCommand = cmd
da.InsertCommand.ExecuteNonQuery()
MsgBox("New User Added Successfully To The Database", MsgBoxStyle.Information)
txtname.Text = ""
txtEmail.Text = ""
txtphno.Text = ""
txtUser.Text = ""
txtPassword.Text = ""
txtconfirmpass.Text = ""
da.InsertCommand.Parameters.Clear()
End Sub

Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles


CheckBox1.CheckedChanged
If txtPassword.UseSystemPasswordChar = True And txtconfirmpass.UseSystemPasswordChar = True
Then
txtPassword.UseSystemPasswordChar = False
txtconfirmpass.UseSystemPasswordChar = False
Else
txtPassword.UseSystemPasswordChar = True
txtconfirmpass.UseSystemPasswordChar = True
17CS1K1044 20
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
End If
End Sub

Private Sub Signup_Load(sender As Object, e As EventArgs) Handles MyBase.Load


Dim con As New SqlConnection
Dim cmd As New SqlCommand
CheckBox1.Checked = True
End Sub

Private Sub Label5_Click(sender As Object, e As EventArgs) Handles Label5.Click


Me.Close()
Form1.WindowState = FormWindowState.Normal
End Sub

Private Sub txtUser_MouseEnter(sender As Object, e As EventArgs) Handles txtUser.MouseEnter


Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtUser.Text = "Type Your Username" Then
txtUser.Text = ""
txtUser.ForeColor = colorText
End If
End Sub

Private Sub txtUser_MouseLeave(sender As Object, e As EventArgs) Handles txtUser.MouseLeave


Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtUser.Text = "" Then
txtUser.Text = "Type Your Username"
txtUser.ForeColor = colorText
End If
End Sub

17CS1K1044 21
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Private Sub txtPassword_MouseEnter(sender As Object, e As EventArgs) Handles
txtPassword.MouseEnter
Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtPassword.Text = "Type Your password" Then
txtPassword.Text = ""
txtPassword.ForeColor = colorText
End If
End Sub

Private Sub txtPassword_MouseLeave(sender As Object, e As EventArgs) Handles


txtPassword.MouseLeave
Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtPassword.Text = "" Then
txtPassword.Text = "Type Your password"
txtPassword.ForeColor = colorText
End If
End Sub

Private Sub txtconfirmpass_MouseEnter(sender As Object, e As EventArgs) Handles


txtconfirmpass.MouseEnter
Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtconfirmpass.Text = "Re-Enter Your password" Then
txtconfirmpass.Text = ""
txtconfirmpass.ForeColor = colorText
End If
End Sub

17CS1K1044 22
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Private Sub txtconfirmpass_MouseLeave(sender As Object, e As EventArgs) Handles
txtconfirmpass.MouseLeave
Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)

If txtconfirmpass.Text = "" Then


txtconfirmpass.Text = "Re-Enter Your password"
txtconfirmpass.ForeColor = colorText
End If
End Sub

Private Sub txtEmail_MouseEnter(sender As Object, e As EventArgs) Handles txtEmail.MouseEnter


Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtEmail.Text = "Type Your Email-ID" Then
txtEmail.Text = ""
txtEmail.ForeColor = colorText
End If
End Sub

Private Sub txtEmail_MouseLeave(sender As Object, e As EventArgs) Handles txtEmail.MouseLeave


Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtEmail.Text = "" Then
txtEmail.Text = "Type Your Email-ID"
txtEmail.ForeColor = colorText
End If
End Sub
Private Sub txtphno_MouseEnter(sender As Object, e As EventArgs) Handles txtphno.MouseEnter
Dim colorHint As Color
17CS1K1044 23
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtphno.Text = "Enter Your Phone Number" Then
txtphno.Text = ""
txtphno.ForeColor = colorText
End If
End Sub
Private Sub txtphno_MouseLeave(sender As Object, e As EventArgs) Handles txtphno.MouseLeave
Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtphno.Text = "" Then
txtphno.Text = "Enter Your Phone Number"
txtphno.ForeColor = colorText
End If
End Sub

Private Sub txtname_MouseEnter(sender As Object, e As EventArgs) Handles txtname.MouseEnter


Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtname.Text = "Enter Your Name" Then
txtname.Text = ""
txtname.ForeColor = colorText
End If
End Sub

Private Sub txtname_MouseLeave(sender As Object, e As EventArgs) Handles txtname.MouseLeave


Dim colorHint As Color
Dim colorText As Color
colorHint = Color.FromArgb(210, 210, 210)
colorText = Color.FromArgb(0, 191, 255)
If txtname.Text = "" Then
17CS1K1044 24
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
txtname.Text = "Enter Your Name"
txtname.ForeColor = colorText
End If
End Sub

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click


Form1.Show()
End Sub
End Class

USER VIEW FORM:

Public Class Form2


Private Sub ComboBox2_SelectedIndexChanged(sender As Object, e As EventArgs) Handles
ComboBox2.SelectedIndexChanged
Dim i As Integer = 0
Dim flag As Integer = 0
Dim y As Integer
y = ComboBox3.SelectedItem
If y Mod 100 = 0 Then
If y Mod 400 = 0 Then
flag = 0
Else
flag = 1
End If
Else
If y Mod 4 = 0 Then
flag = 0
Else
flag = 1
End If
End If
If ComboBox2.SelectedItem = "June" Then
ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next
17CS1K1044 25
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
ElseIf ComboBox2.SelectedItem = "May" Then
ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "July" Then
ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "August" Then
ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "September" Then
ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "February" And flag = 0 Then
ComboBox1.Items.Clear()
For i = 1 To 28
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "February" And flag = 1 Then
ComboBox1.Items.Clear()
For i = 1 To 29
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "March" Then
ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "April" Then
17CS1K1044 26
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
ComboBox1.Items.Clear()
For i = 1 To 30
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "January" Then
ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next

ElseIf ComboBox2.SelectedItem = "October" Then


ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next
ElseIf ComboBox2.SelectedItem = "November" Then
ComboBox1.Items.Clear()
For i = 1 To 30
ComboBox1.Items.Add(i)
Next
Else : ComboBox2.SelectedItem = "December"
ComboBox1.Items.Clear()
For i = 1 To 31
ComboBox1.Items.Add(i)
Next
End If
End Sub

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click


If ComboBox1.SelectedItem = 12 Or ComboBox1.SelectedItem <= 21 And ComboBox2.SelectedItem
= "December" Then
PictureBox1.Visible = True
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
17CS1K1044 27
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Sagittarius"
ElseIf ComboBox1.SelectedItem > 21 Or ComboBox1.SelectedItem <= 31 And
ComboBox2.SelectedItem = "December" Then
PictureBox1.Visible = False
PictureBox2.Visible = True
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Capricorn"
End If

If ComboBox1.SelectedItem = 1 Or ComboBox1.SelectedItem <= 19 And ComboBox2.SelectedItem =


"January" Then
PictureBox1.Visible = False
PictureBox2.Visible = True
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
17CS1K1044 28
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Capricorn"
ElseIf ComboBox1.SelectedItem > 19 Or ComboBox1.SelectedItem <= 31 And
ComboBox2.SelectedItem = "January" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = True
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Aquarius"
End If

If ComboBox1.SelectedItem = 2 Or ComboBox1.SelectedItem <= 18 And ComboBox2.SelectedItem =


"February" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = True
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
17CS1K1044 29
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Aquarius"
ElseIf ComboBox1.SelectedItem > 18 Or ComboBox1.SelectedItem <= 28 And
ComboBox2.SelectedItem = "February" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = True
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Pisces"
End If

If ComboBox1.SelectedItem = 3 Or ComboBox1.SelectedItem <= 20 And ComboBox2.SelectedItem =


"March" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = True
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
17CS1K1044 30
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Pisces"
ElseIf ComboBox1.SelectedItem > 20 Or ComboBox1.SelectedItem <= 31 And
ComboBox2.SelectedItem = "March" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = True
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Aries"
End If

If ComboBox1.SelectedItem = 4 Or ComboBox1.SelectedItem <= 19 And ComboBox2.SelectedItem =


"April" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = True
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
17CS1K1044 31
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Label1.Visible = True
Label1.Text = "This is Aries"
ElseIf ComboBox1.SelectedItem > 19 Or ComboBox1.SelectedItem <= 30 And
ComboBox2.SelectedItem = "April" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = True
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Taurus"
End If

If ComboBox1.SelectedItem = 5 Or ComboBox1.SelectedItem <= 20 And ComboBox2.SelectedItem =


"May" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = True
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Taurus"
17CS1K1044 32
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
ElseIf ComboBox1.SelectedItem > 20 Or ComboBox1.SelectedItem <= 31 And
ComboBox2.SelectedItem = "May" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = True
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Gemini"
End If
If ComboBox1.SelectedItem = 6 Or ComboBox1.SelectedItem <= 20 And ComboBox2.SelectedItem =
"June" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = True
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Gemini"
ElseIf ComboBox1.SelectedItem > 20 Or ComboBox1.SelectedItem <= 30 And
ComboBox2.SelectedItem = "June" Then
PictureBox1.Visible = False
17CS1K1044 33
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = True
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Cancer"
End If

If ComboBox1.SelectedItem = 7 Or ComboBox1.SelectedItem <= 22 And ComboBox2.SelectedItem =


"July" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = True
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Cancer"
ElseIf ComboBox1.SelectedItem > 22 Or ComboBox1.SelectedItem <= 31 And
ComboBox2.SelectedItem = "July" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
17CS1K1044 34
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = True
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Leo"
End If

If ComboBox1.SelectedItem = "8" Or ComboBox1.SelectedItem <= "22" And


ComboBox2.SelectedItem = "August" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = True
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Leo"
ElseIf ComboBox1.SelectedItem > 22 Or ComboBox1.SelectedItem <= 31 And
ComboBox2.SelectedItem = "August" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
17CS1K1044 35
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = True
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Virgo"
End If

If ComboBox1.SelectedItem = 9 Or ComboBox1.SelectedItem <= 22 And ComboBox2.SelectedItem =


"September" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = True
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Virgo"
ElseIf ComboBox1.SelectedItem > 22 Or ComboBox1.SelectedItem <= 30 And
ComboBox2.SelectedItem = "September" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
17CS1K1044 36
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = True
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Libra"
End If

If ComboBox1.SelectedItem = 10 Or ComboBox1.SelectedItem <= 22 And ComboBox2.SelectedItem


= "October" Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = True
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Libra"
ElseIf ComboBox1.SelectedItem > 22 Or ComboBox1.SelectedItem <= 31 And
ComboBox2.SelectedItem = "October" Then
PictureBox1.Visible = False
PictureBox2.Visible = True
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
17CS1K1044 37
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = True
Label1.Visible = True
Label1.Text = "This is Scorpio"
End If

If ComboBox1.SelectedItem = 11 Or ComboBox1.SelectedItem <= 21 And ComboBox2.SelectedItem


= "November" Then
PictureBox1.Visible = False
PictureBox2.Visible = True
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = True
Label1.Visible = True
Label1.Text = "This is Scorpio"
ElseIf ComboBox1.SelectedItem > 21 Or ComboBox1.SelectedItem <= 30 And
ComboBox2.SelectedItem = "November" Then
PictureBox1.Visible = True
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
17CS1K1044 38
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
PictureBox12.Visible = False
Label1.Visible = True
Label1.Text = "This is Sagittarius"
End If
End Sub
Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
Label1.Visible = False
End Sub

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click


PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = False
PictureBox4.Visible = False
PictureBox5.Visible = False
PictureBox6.Visible = False
PictureBox7.Visible = False
PictureBox8.Visible = False
PictureBox9.Visible = False
PictureBox10.Visible = False
PictureBox11.Visible = False
PictureBox12.Visible = False
17CS1K1044 39
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Label1.Visible = False
ComboBox1.SelectedItem = Nothing
End Sub

Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click


Application.Exit()
End Sub
End Class

17CS1K1044 40
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
4.SYSTEM CONFIGURATION

4.1 HARDWARE REQUIREMENTS:

A) Processor: Intel Pentium Duo or AMD Phenom II.

B) RAM : Minium 4GB

c) Disk Space : 100GB

4.2 SOFTWARE REQUIREMENTS:-

A) Operating System: Windows Vista with Service Pack.

B) Database: My Sql.

C) Visual Basics 2012.

17CS1K1044 41
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
5. DETAILS OF SOFTWARE

5.1 OVERVIEW OF FRONT-END

MICROSOFT VISUAL STUDIO 2012:

Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used
to develop computer programs, as well as websites, web apps, web services and mobile apps. Visual Studio
uses Microsoft software development platforms such as Windows API, Windows Forms, Windows
Presentation Foundation, Windows Store and Microsoft Silverlight. It can produce both native
code and managed code.

Visual Studio includes a code editor supporting IntelliSense (the code completion component) as
well as code refactoring. The integrated debugger works both as a source-level debugger and a machine-
level debugger. Other built-in tools include a code profiler, forms designer for building GUI
applications, web designer, class designer, and database schema designer. It accepts plug-ins that enhance
the functionality at almost every level—including adding support for source control systems
(like Subversion and Git) and adding new toolsets like editors and visual designers for domain-specific
languages or toolsets for other aspects of the software development lifecycle (like the Team Foundation
Server client: Team Explorer).

Visual Studio supports 36 different programming languages and allows the code editor and debugger
to support (to varying degrees) nearly any programming language, provided a language-specific service
exists. Built-in languages include C C++, C++/CLI, Visual .NET, C#, F#, JavaScript, TypeScript,
XML,Support languages such as Python, Ruby, Node.js, and M among others is available ins.
Java (and J#) were supported in the past.

FEATURES:
• Supports IntelliSense
• Code editor
• Debugger
• Designer
• Other tools
• Extensibility
• Standard Library
• Conditional compilation
• Delegates and Event Management
• Easy to Use Generics
• Indexes
17CS1K1044 42
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

ADVANTAGES
 The structure of the Basic programming language is very simple, particularly as to the executable
code.

 VB is not only a language but primarily an integrated, interactive development environment


(“IDE“).
 The VB-IDE has been highly optimized to support rapid application development (“RAD”). It is
particularly easy to develop graphical user interfaces and to connect them to handler functions
provided by the application.
 The graphical user interface of the VB-IDE provides intuitively appealing views for the
management of the program structure in the large and the various types of entities (classes,
modules, procedures, forms, …)
 VB provides a comprehensive interactive and context-sensitive online help system.
 When editing program texts the “IntelliSense” technology informs you in a little popup window
about the types of constructs that may be entered at the current cursor location.
 VB is a component integration language which is attuned to Microsoft’s Component Object
Model (“COM”).
 COM components can be written in different languages and then integrated using VB.
 Interfaces of COM components can be easily called remotely via Distributed COM
 (“DCOM”), which makes it easy to construct distributed applications.

 COM components can be embedded in / linked to your application’s user interface and also in/to
stored documents (Object Linking and Embedding “OLE”, “Compound Documents”).

 There is a wealth of readily available COM components for many different purposes.

 Visual Studio is built around the .NET framework used by all Microsoft programs, so there is very
little that can’t be done in visual studio
 Visual Basic is built around the .NET environment used by all Microsoft Visual languages, so
there is very little that can’t be done in Visual Basic that can be done in other languages (such as
C#).

17CS1K1044 43
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
DISADVANTAGES
 Visual basic is a proprietary programming language written by Microsoft, so programs written in
Visual basic cannot, easily, be transferred to other operating systems.
 There are some, fairly minor disadvantages compared with C. C has better declaration of arrays –
it’s possible to initialize an array of structures in ‘C’ at declaration time; this is impossible in VB
 It messes up your html source code by reformatting it how it thinks it should be, and doesn't allow
you a way to turn this off. Only way around it is to not use design mode, or catch it in the act and hit
ctrl-z to undo.

5.2 OVERVIEW OF BACK-END


Microsoft SQL Server 2012:
Microsoft SQL Server 2012 is a relational database management system developed by Microsoft for
enterprise environment. Like its predecessors, SQL Server 2012 comprises a set of programming extensions
to enhance the Structured Query Language (SQL), a standard interactive and programming language for
getting information from and updating a database.

As a database server, it is a software product with the primary function of storing and retrieving data
as requested by other software applications—which may run either on the same computer or on another
computer across a network (including the Internet).

Microsoft markets at least a dozen different editions of Microsoft SQL Server, aimed at different
audiences and for workloads ranging from small single-machine applications to large Internet-facing
applications with many concurrent users.The protocol layer implements the external interface to SQL Server.
All operations that can be invoked on SQL Server are communicated to it via a Microsoft-defined format,
called Tabular Data Stream (TDS). TDS is an application layer protocol, used to transfer data between a
database server and a client. Initially designed and developed by Sybase Inc. for their Sybase SQL Server
relational database engine in 1984, and later by Microsoft in Microsoft SQL Server, TDS packets can be
encased in other physical transport dependent protocols, including TCP/IP, named pipes, and shared
memory. Consequently, access to SQL Server is available over these protocols. In addition, the SQL Server
API is also exposed over web services.

A Relational Database Management System (RDBMS) is software that:

• Enables you to implement a database with tables, columns and indexes.


• Guarantees the Referential Integrity between rows of various tables.
• Updates the indexes automatically.
• Interprets an SQL query and combines information from various tables.

17CS1K1044 44
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

Security
• A privilege and password system that is very flexible and secure, and that enables host-based
verification.
• Password security by encryption of all password traffic when you connect to a server.

5.3 ABOUT THE PLATFORM


Windows is a series of Operating Systems developed by Microsoft. Each version of Windows
includes a Graphical User Interface, with a desktop that allows users to view files and folders in Windows.
For the past two decades, Windows has been the most widely used operating system for personal computers
PCs.

Microsoft Windows is designed for both home computing and professional purposes. Past versions
of Windows home editions include Windows 3.0 (1990), Windows 3.1 (1992), Windows 95 (1995),
Windows 98 (1998), Windows Me (2000), Windows XP (2001), and Windows Vista (2006). The current
version, Windows 7, was released in 2009.

The first business-oriented version of Windows, called Windows NT 3.1, was in 1993. This was
followed by Windows 3.5, 4.0, and Windows 2000. When Microsoft released Windows XP in 2001, the
company simply created different editions of the operating system for personal and business purposes.
Windows Vista and Windows 7 have followed the same release strategy.

Windows is designed to run on standard x86 hardware, such as Intel and AMD processors. Therefore,
it can be installed on multiple brands of hardware, such as Dell, HP, and Sony computers, as well as home-
built PCs. Windows 7 also includes several touchscreen features, that allow the operating system to run on
certain tablets and computers with touchscreen displays. Microsoft's mobile operating system, Windows
Phone, is designed specifically for smartphones and runs on several brands of phones, including HTC, Nokia,
and Samsung.

.NET FRAMEWORK
.NET Framework (pronounced as "dot net") is a software framework developed by Microsoft that
runs primarily on Microsoft Windows. It includes a large class library named Framework Class Library
(FCL) and provides language interoperability (each language can use code written in other languages)
across several programming languages. Programs written for .NET Framework execute in a software
environment (in contrast to a hardware environment) named Common Language Runtime (CLR), an
application virtual machine that provides services such as security, memory management, and exception

17CS1K1044 45
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
handling. As such, computer code written using .NET Framework is called "managed code". FCL and CLR
together constitute the .NET Framework.

FCL provides user interface, data access, database connectivity, cryptography, web application
development, numeric algorithms, and network communications. Programmers produce software by
combining their source code with .NET Framework and other libraries. The framework is intended to be
used by newest applications created for the Windows platform. Microsoft also produces an integrated
development environment largely for .NET software called Visual Studio.

.NET Framework began as proprietary software, although the firm worked to standardize the
software stack almost immediately, even before its first release. Despite the standardization efforts,
developers, mainly those in the free and open-source software communities, expressed their unease with
the selected terms and the prospects of any free and open-source implementation, especially regarding
software patents. Since then, Microsoft has changed .NET development to more closely follow a
contemporary model of a community-developed software project, including issuing an update to its patent
promising to address the concerns.

17CS1K1044 46
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
6. TESTING

Testing is a vital part of software development, and it is important to start it as early as possible,
and to make testing a part of the process of deciding requirements. To get the most useful
perspective on your development project, it is worthwhile devoting some thought to the entire
lifecycle including how feedback from users will influence the future of the application. The
tools and techniques we've discussed in this book should help your team to be more responsive
to changes without extra cost, despite the necessarily wide variety of different development
processes. Nevertheless, new tools and process improvements should be adopted gradually, assessing
the results after each step.

Testing is part of a lifecycle. The software development lifecycle is one in which you hear of a
need, you write some code to fulfil it, and then you check to see whether you have pleased the
stakeholders—the users, owners, and other people who have an interest in what the software does.
Hopefully they like it, but would also like some additions or changes, so you update or augment your
code; and so the cycle continues. This cycle might happen every few days, as it does in Fabrikam's ice
cream vending project, or every few years, as it does in Contoso's carefully specified and tested healthcare
support system.

Software development lifecycle

Testing is a proxy for the customer. You could conceivably do your testing by releasing it into
the wild and waiting for the complaints and compliments to come back. Some companies have been
accused of having such a strategy as their business model even before it became fashionable. But on
the whole, the books are better balanced by trying to make sure that the software will satisfy the customer
before we hand it over.

We therefore design tests based on the stakeholders' needs, and run the tests before the product
reaches the users. Preferably well before then, so as not to waste our time working on something that
isn't going to do the job.

In this light, two important principles become clear:

Tests represent requirements. Whether you write user stories on sticky notes on the wall,
or use cases in a big thick document, your tests should be derived from and linked to those
requirements. And as we've said, devising tests is a good vehicle for discussing the
requirements.

We're not done till the tests pass. The only useful measure of completion is when tests
17CS1K1044
have been 47
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Software Testing Types:

Black box testing – Internal system design is not considered in this type of testing. Tests are based on
requirements and functionality.

White box testing – This testing is based on knowledge of the internal logic of an application‘s code. Also
known as Glass box Testing. Internal software and code working should be known for this type of testing.
Tests are based on coverage of code statements, branches, paths, conditions.

Unit testing – Testing of individual software components or modules. Typically done by the programmer
and not by testers, as it requires detailed knowledge of the internal program design and code. may require
developing test driver modules or test harnesses.

Beta testing – Testing typically done by end-users or others. Final testing before releasing
application for commercial purpose

Alpha testing – In house virtual user environment can be created for this type of testing. Testing is done at
the end of development stillminor design changes may be made as result of testing.

Functional Testing: This type of testing ignores the internal parts and focus on the output is as per new
functionalityis added ;Applications functionality and modules should be independent enough to test separately
done by programmers or by testers.

Software Testing Life Cycle (STLC) is the testing process which is executed in systematic and planned
manner. In STLC process, different activities are carried out to improve the quality of the product.
Let‘s quickly see what all stages are involved in typical Software Testing Life Cycle (STLC).Following
steps are involved in Software Testing Life Cycle (STLC). Each step is have its own Entry Criteria
and deliverable.
Requirement Analysis
Test Planning

Test Case Development

Environment Setup

Test Execution

Test Cycle Closure

17CS1K1044 48
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Ideally, the next step is based on previous step or we can say next step cannot be started unless
and until previous step is completed. It is possible in the ideal situation, but practically it is not always
true.

Diagrammatic overview of test life cycle is given below

A detailed description of each phase is given below: Requirement Analysis:

Requirement Analysis is the very first step in Software Testing Life Cycle (STLC). In this step
Quality Assurance (QA) team understands the requirement in terms of what we will testing & figure out
the testable requirements. If any conflict, missing or not understood any requirement, then QA team
follow up with the various stakeholders like Business Analyst, System+ Architecture, Client, Technical
Manager/Lead etc to better understand the detail knowledge of requirement.

From very first step QA involved in the where STLC which helps to prevent the introducing
defects into Software under test. The requirements can be either Functional or Non-Functional like
Performance, Security testing. Also requirement and Automation feasibility of the project can be done
in this stage (if applicable)

17CS1K1044 49
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Test Planning:

Test Planning is most important phase of Software testing life cycle where all testing strategy is
defined. This phase also called as Test Strategy phase. In this phase typically Test Manager (or Test
Lead based on company to company) involved to determine the effort and cost estimates for entire project.
This phase will be kicked off once the requirement gathering phase is completed & based on the
requirement analysis, start preparing the Test Plan. The Result of Test Planning phase will be or Test
strategy & Testing documents. Once test planning phase is completed the QA team can start with test
cases development activity

Test Case Development:

The test case development activity is started once the test planning activity is finished. This is the
phase of STLC where testing team write down the detailed test cases. Along with test cases testing team
also prepare the test data if any required for testing. Once the test cases are ready then these test cases
are reviewed by peer members or QA lead.

Also the Requirement Traceability Matrix (RTM) is prepared. The Requirement Traceability
Matrix is an industry-accepted format for tracking requirements where each test case is mapped with
the requirement. Using this RTM we can track backward & forward traceability.

Test Environment Setup:

Setting up the test environment is vital part of the STLC. Basically test environment decides on
which conditions software is tested. This is independent activity and can be started parallel with Test
Case Development. In process of setting up testing environment test team is not involved in it. Based
on company to company may be developer or customer creates the testing environment. Mean while
testing team should prepare the smoke test cases to check the readiness of the test environment setup.

Test Execution:

Once the preparation of Test Case Development and Test Environment setup is completed then
test execution phase can be kicked off. In this phase testing team start executing test cases based on
prepared test planning & prepared test cases in the prior step.

17CS1K1044 50
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Once the test case is passed then same can be marked as Passed. If any test case is failed
then corresponding defect can be reported to developer team via bug tracking system & bug can be linked
for corresponding test case for further analysis. Ideally every failed test case should be associated with
at least single bug. Using this linking we can get the failed test case with bug associated with it. Once
the bug fixed by development team then same test case can be executed based on your test planning.If any
of the test cases are blocked due to any defect then such test cases can be marked as Blocked, so we can
get the report based on how many test cases passed, failed, blocked or not run etc. Once the defects are
fixed, same Failed or Blocked test cases can be executed again to retest the functionality.

Test Cycle Closure:

Call out the testing team member meeting & evaluate cycle completion criteria based on Test
coverage, Quality, Cost, Time, Critical Business Objectives, and Software. Discuss what all went good,
which area needs to be improve & taking the lessons from current STLC as input to upcoming test
cycles, which will help to improve bottleneck in the STLC process. Test case & bug report will
analyze to find out the defect distribution by type and severity. Once complete the test cycle then
test closure report & Test metrics will be prepared. Test result analysis to find out the defect distribution
by type and severity.

Validation Testing
In software project management, software testing, and software engineering, verification and
validation (V&V) is the process of checking that a software system meets specifications and that it
fulfills its intended purpose. It may also be referred to as software quality control. It is normally the
responsibility of software testers as part of the software development lifecycle. In simple terms, software
verification is"Assuming we should build X, does our software achieve its goals without any bugs or
gaps?" On the other hand, software validation is: "Was X what we should have built? Does X meet
the high level requirements?"

Validation checks that the product design satisfies or fits the intended use (high-level
checking), i.e., the software meets the user requirements. This is done through dynamic testing and other
forms of review.

17CS1K1044 51
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
Verification and validation are not the same thing, although they are often confused. Boehm
succinctly expressed the difference between verification and validation are not the same thing,
although they are often confused. Boehm succinctly expressed the difference between

Validation: Are we building the right


product?
Verification: Are we building the product
right?

According to the Capability Maturity Model (CMMI-SW v1.1),

Software Verification: The process of evaluating software to determine whether the products of
a given development phase satisfy the conditions imposed at the start of that phase. [IEEE-STD-6
Software Validation: The process of evaluating software during or at the end of the development
process to determine whether it satisfies specified requirements. [IEEE-STD-610]

In other words, software verification is ensuring that the product has been built according
to the requirements and design specifications, while software validation ensures that the product meets
the user's needs, and that the specifications were correct in the first place. Software verification ensures
that "you built it right". Software validation ensures that "you built the right thing". Software validation
confirms that the product, as provided, will fulfill its intended use.

From testing perspective:

Fault :Wrong or misssing function in the code.

Failure – the manifestation of a fault during execution.

TheMalfunction – according and


terms ‗Verification‗ to its‗Validation‗
specificationare
the system doesused
frequently not meet its specified
in the software functionality.
testing world
but the meaning of these terms are mostly vague and debatable. You will encounter (or have encountered)
all kinds of usage and interpretations of those terms, and it is our humble attempt here to distinguish
between them as clearly as possible.

17CS1K1044 52
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

It is entirely possible that a product passes when verified but fails when validated. This can
happen when, say, a product is built as per the specifications but the specifications themselves fail to
address the user‘s needs verification and Validation of the software Sports Management System.

17CS1K1044 53
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
7.CONCLUSION AND FUTURE ENHANCEMENT

Conclusion:

This application is designed in such a way that gives all the required information that is need for you in your
dialy life such as how your day will go and what changes you nedd to make in order to make your day a
beautiful one.As we all are affected by 12 signs of zodiac,as the sun and other planets revolved around the
cycle of horoscope using this application,we can give the suggesstions about how to make your day right if
your day is predicted to go wrong.We will provide support new languages.

9. FUTURE ENHANCEMENT

This application is designed in such a way that it gives all the required information that is needed for
you in your daily life such as how your day will go and what changes you need to make in order to make
your day a beautiful one. As we are all affected by 12 signs of zodiac, as the sun and other planets revolve
around the cycle of horoscope using this application, we can give the suggestions about how to make your
day right if your day is predicted to go wrong. We will provide support new languages.

17CS1K1044 54
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
8. BIBLIOGRAPHY

REFERENCES:

https://developer.toradex.com/knowledge-base/create-a-new-vb.net-project.
shttp://www.studentprojectcode.com/engineering-projects.
http://www.method123.com/project-initiation-ph

BOOK REFERENCES:-
VikasGupta Comdex .NET 4.5 programming course kit
Kogent Solutions Inc., ―.NET 45.Programming‖, Black Dream Tech.
Iam Sommerville (2002). Software Engineering (6thEd.) Pearson Education, Asia.
Elmasri&Navathe. (2003). Fundamentals of Database Systems Pearson Education.
Scott Ulman Oracle9i PL SQL progrmming Tata McGraw. Hill.

17CS1K1044 55
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
9.APPENDICES A-Table Structure

User Registration Table:

Attributes Data Type Constraint Description


Username Varchar(50) Primary Key Username
Password Varchar(50) Not null Password
Phno Varchar(50) Not null Phone Number Of
user
EmailId Varchar(50) Not null EmailID of the user
Name Varchar(50) Not null Name of the user

17CS1K1044 56
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
10.APPENDICS B-Screenshots

HOME PAGE

ADMIN LOGIN

17CS1K1044 57
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
USER LOGIN:

REGISTER PAGE

17CS1K1044 58
KRISTU JAYANTI COLLEGE ZODIAC SIGNS

USER PAGE

17CS1K1044 59
KRISTU JAYANTI COLLEGE ZODIAC SIGNS
11.APPENDICES C-Sample Report Of Test Cases
Sl.n Test Form Test Step to Test Data Expected Actual Statu
o id Descriptio execute Result Result s
n
1 T_0 Login Form Username Type admin Login Login Pass
1 checking Usernam successful successful
e
2 T_0 Login Form Username Type User Login Login Pass
2 checking Usernam Failed Failed
e
3 T_0 Login Form Password Type admin Login Login Pass
3 checking password successful successful
4 T_0 Login Form Password Type User Login Login Pass
4 Checking password Failed Failed
5 T_0 Registratio Empty Leave Cannot Cannot Pass
5 n Form Fields Text field insert in insert in
empty Database Database
6 T_0 Registratio Phone no Type 8976545908 Successfull Successfull Pass
6 n Form field phone y inserted y inserted
checking number
7 T_0 Registratio Phone no Type 9087675643 Cannot Cannot Pass
7 n Form field phone 2 insert in insert in
checking number Database Database

17CS1K1044 60

Вам также может понравиться