Oo Lab
Oo Lab
Prepared By
Mr. K. Shanmugam,AP/CSE
Ms.A.Lalitha, AP(Sel.G)/CSE
LIST OF EXPERIMNENTS:
Draw standard UML diagrams using an UML modeling tool for a given case
study and map design to code and implement a 3 layered architecture. Test the
developed code and validate whether the SRS is satisfied.
1. Identify a software system that needs to be developed.
2. Document the Software Requirements Specification (SRS) for the identified system.
3. Identify use cases and develop the Use Case model.
4. Identify the conceptual classes and develop a Domain Model and
also derive a Class Diagram from that.
5. Using the identified scenarios, find the interaction between objects
and represent them using
UML Sequence and Collaboration Diagrams
6. Draw relevant State Chart and Activity Diagrams for the same system.
7. Implement the system as per the detailed design
8. Test the software system for all the scenarios identified as per the usecase diagram
9. Improve the reusability and maintainability of the software system by
applying appropriate design patterns.
10. Implement the modified system and test it for various scenarios.
AIM
To develop a Passport Automation System project using visual basic as front end and Microsoft
access as back end
PROBLEM STATEMENT
Passport Automation System is used in the effective dispatch of passport to all of the applicants.
This system adopts a comprehensive approach to minimize the manual work and schedule resources, time
in a cogent manner. The core of the system is to get the registration form filled by the applicant whose
testament is verified for its genuineness by the Passport Automation System with respect to the already
existing information in the database. The administrator will be provided with an option to display the
current status of application to the applicant, which they can view in their online interface. After all the
necessary criteria have been met, the original information is added to the database and the passport is sent
to the applicant.
1. INTRODUCTION
Passport Automation System is an interface between the Applicant and the Authority responsible
for the issue of passport. It aims at improving the efficiency in the issue of passport and reduces the
complexities involved in it to the maximum possible extent.
1.1. PURPOSE
The entire process of Issue of Passport is done in a manual manner then it would take
several months for the passport to reach the applicant. Considering the fact that the number of
applicants for passport is increasing every year, an automated system becomes essential to meet
the demand.
1.2. SCOPE
The system provides a communication platform between the applicant and the
administrator. This will help both the applicant and issuer by reducing the time and workload.
1.4.REFERENCES
www.passport.tn.nic.in
www.india.gov.in
4 SYSTEM FEATURES
Database
New User
Existing User
Passport
Administration
Verifier
<<include>>
Register Applicant
Login Verification
Validate Application
Passport Status
<<include>> <<include>>
Application Status
<<include>> NetBanking
Renewal Change of address
<<include>>
Updation Successful
Receipt
Issue
Activity Diagram :
PAS
Registration
Login
Invalid
Registration Enter
failed Details
Passport
Status Valid
Validation Application
Payment Status
Success Success
Payment
Successful
Registration
successful
Class Diagram:
Interaction Diagram:
Sequence Diagram :
Login:
Registration:
3: Proccessing
4: successful registration
Validation:
1: login 2: Validating
7: processing
8: show status info
Collaboration Diagram :
Login:
1: Enter Details 2: Verify USer Details
5: Choose Operation 6: Verify Details
Applican Admin Databas
t e
4: Login Successful 3: Processing
8: Update Sucessfull 7: Process request
Registration:
1: Enter User details 2: Verify details
5: Payment Mode 6: Make Payment
Applican Admin Databas
t e
4: successful registration 3: Proccessing
8: Payment Successful 7: Proccessing
Validation:
1: login 2: Validating
5: send data for verification admin 6: verify data
applican databas
t 4: login successful 3: processing e
8: verification successful 7: processing
Application Status:
invalid details
Registration:
Invalid details
payment
Failed
RegistratioN
net credit/debit
banking card
Validation:
LogiN valid details successful
validation
invalid details
failed Obtain
Unique id
Application Status:
applciation
status processing
invalid details
deployed
invalid user
Component Diagram:
Database
Passport Automation
Deployment Diagram: System
Database
CODING:
Welcome:
Registration1:
Registration2:
Registration3:
Private Sub accno_Change()
If Not (IsNumeric(accno.Text)) Then
status = "Invalid"
Else
status = ""
End If
End Sub
Exixting User:
Renewal:
Edit Profile:
ScreenShots:
Start:
Welcome:
Registration1:
Registration2:
Registration3:
Renewal:
Edit Profile:
Application status:
CONCLUSION:
The Automation of passport issuance procedure was successful with the help of object
oriented analysis and design patterns and various tools. It is now conclusive that the Passport
Automation System surely has eased the procedure with the sophisticated approach.
AIM:
To develop a Book bank system project using visual basic as front end and Microsoft
access as back end.
PROBLEM STATEMENT:
Book bank system is where the books can be collected every semester and must be
returned at the end of semester. The system must have option for new members to enroll for
membership by paying deposit. A provision for getting six or seven books per semester.
Membership can be renewed by using the register number. The deposit must be refunded on
termination of membership. A database must be maintained to guide the issuer to track the
details of students. Search option must be provided so that the member can search for the
availability of a particular book.
SOFTWARE REQUIREMENT SPECIFICATION:
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirement
1.INTRODUCTION
The book bank is a set up that lends books for all its members which they can return at
the end of each semester. It has a huge collection of books and has to keep track of all its
members’ details such as requests, dues and penalties and the books.
1.1 PURPOSE
The purpose of this document is to present a detailed description of the Book
Bank System. It will explain the purpose and features of the system, the interfaces of the
system, what the system will do, the constraints under which it must operate and how the
system will react to external stimuli.
1.2 SCOPE
The book bank holds an online interface with its members for maintaining all
kinds of transaction details. Each member is provided with a unique user id at the time of
registering as a member.
1.3 DOCUMENT CONVENTIONS
Director: The ultimate authority in the staff hierarchy of the book bank
Member: Any person who registers with the book bank
HTML-Hyper Text Markup Language used to create web page.
1.4 REFERENCES
www.reachbookbank.com
www.bookworldlibrary.com
2. OVERALL DESCRIPTION
2.1 PRODUCT PERSPECTIVE
This project is a self contained one for enabling a book bank organization to be
connected with its students, through this system, the students can check for availability of
books, makes requests, etc.
2.2 PRODUCT FUNCTIONS
This system functions with a database at the back end, for keeping track of its
member’s dues and payments, and also its available resources. Every student who is a
member needs only a web browser to connect to this system.
2.3 TOOLS TO BE USED
3.1 HARDWARE INTERFACES
The system should have good hardware support. The processor should have high
speed and must be of high efficiency.
3.2 SOFTWARE INTERFACE
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES
4.1 REQUESTING BOOKS
4.1.1 SYSTEM DESCRIPTION & PRIORITY
Allows a student, who becomes a member to login using a unique
id issued at the time of registering as a member, and after logging in, the
member can browse through available books and make requests
accordingly. The books will be issued provided there is no due, regarding
returning of previous books.
4.1.2 STIMULUS/RESPONSE SEQUENCE
Whenever the student wishes to get books, he/she checks for the
availability by logging in. When the request is made, the director of the
book bank decides on granting the request of book(s) after checking the
member details for due in returning previous books.
4.1.3 FUNCTIONAL REQUIREMENTS
The member should be authenticated by means of unique login id and
password. The availability of books requested must be prompted to the user
through e-mail or sms notifications.
5. OTHER NON-FUNCTIONAL REQUIREMENTS
5.1 PERFORMANCE REQUIREMENTS
The web interface should be able to support multiple users trying to log in
simultaneously.
5.2 SAFETY REQUIREMENTS
The student details should be made available in the database and must be updated
every time a book is issued or returned or some kind of payment takes place to prevent
errors.
5.3 SECURITY REQUIREMENTS
The member can only access certain details from the database. He/she should not
be able to modify the database nor has any of its information corrupted. Only the DBA
must be bestowed with the privileges of handling any kind of modifications
<<include>>
login authentication
database
BOOK
new login ext login
<<extend>>
deposit
search admin
student
by book by author
issue
<<include>>
checking availablity
return
Activity Diagram :
login
new login
enter details
for reg
authenticate
[ invalid entry ]
[ invalid login ]
search by search by
cancel registration author book
deposit by deposit by
cash credit
Interaction Diagram:
Sequence Diagram :
Registration:
student admin database
1: enter details for registeration 2: check for the validation
Issue 12: Confirms the issual 11: update the booklist based on selection and
student admin database
Return:
1: requests the issual of book
2: process the requests
Registration:
1: enter details for registeration 2: check for the validation
5: enter the new login details 6: process the details
student admin database
Login:
1: enter the login details 2: check for authentication
5: enter the name and dept 6: check for the valid details
student admin database
Login: Registration:
Enter the Invalid Login Re-enter Login Enter the Invalid details Re-enter the
login details details Registration Details details
Enter Login
Enter the
Details
user details
Confirm
View the Registration
details
Display the
payment details
Display the
Issue And Return: book list
Request
the book
Select the
rquired book
Update the issue the
book list book
Confirms the
issual
Return
the book
Component Diagram:
Registration Login Deposit and Issue and
Search Return
Database
Deployment Diagram:
Login Deposit
and Search
Issue and
Registration
Return
Book Bank
System
Database
MAIN:
Private Sub Command1_Click()
NewLogin.Show
Unload Me
End Sub
NEW LOGIN:
SEARCH:
Private Sub Command1_Click()
Issue.Show
Unload Me
End Sub
ISSUE:
Private Sub Command1_Click()
Adodc1.Refresh
Adodc2.Refresh
Adodc2.Recordset.Find "Name = '" & Text2.Text & "'"
If (Adodc2.Recordset.EOF = True) Then
MsgBox ("ENTER THE VALID USER NAME")
Else
If (Adodc2.Recordset(8) = 0) Then
MsgBox ("USER HAS NO CREDITS")
Else
Adodc1.Recordset.Find "Book-Id ='" & Text1.Text & "'"
If (Adodc1.Recordset.EOF = True) Then
MsgBox ("INVALID BOOK NO")
Else
If (Adodc1.Recordset(5) = "ISSUED") Then
MsgBox ("SORRY ITS NOT AVAILABLE")
Else
If (Adodc1.Recordset(6) = 1) Then
Adodc1.Recordset(5) = "ISSUED"
End If
MsgBox (Adodc2.Recordset(8))
Adodc2.Recordset(8) = Adodc2.Recordset(8) - 1
Adodc1.Recordset(6) = Adodc1.Recordset(6) - 1
MsgBox ("SUCCESSFULLY ISSUED")
Adodc2.Recordset.Update
Adodc2.Recordset.Save
Adodc1.Recordset.Update
Adodc1.Recordset.Save
End If
End If
End If
End If
End Sub
RETURN:
Private Sub Command1_Click()
Adodc1.Refresh
Adodc2.Refresh
Adodc2.Recordset.Find "Name = '" & Text3.Text & "'"
If (Adodc2.Recordset.EOF = True) Then
MsgBox ("ENTER THE VALID USER NAME")
Else
If (Adodc2.Recordset(8) >= 3) Then
MsgBox ("USER REACHED MAXIMUM VALUE")
Else
Adodc1.Recordset.Find "Book-Name ='" & Text1.Text & "'"
If (Adodc1.Recordset.EOF) Then
MsgBox ("PLS TYPE BOOK NAME CORRECTLY")
Else
If (Adodc1.Recordset(2) = Text2.Text) Then
If (Adodc1.Recordset(5) = "AVAILABLE") Then
Adodc1.Recordset(6) = Adodc1.Recordset(6) + 1
Adodc2.Recordset(8) = Adodc2.Recordset(8) + 1
Adodc2.Recordset.Update
Adodc2.Recordset.Save
Else
Adodc1.Recordset(5) = "AVAILABLE"
Adodc1.Recordset(6) = Adodc1.Recordset(6) + 1
Adodc2.Recordset(8) = Adodc2.Recordset(8) + 1
Adodc2.Recordset.Update
Adodc2.Recordset.Save
End If
Adodc1.Recordset.Update
Adodc1.Recordset.Save
MsgBox ("RETURNED SUCCESSFULLY")
Else
MsgBox ("PLS TYPE AUTHOR NAME CORRECTLY")
End If
End If
End If
End If
End Sub
SCREEN SHOTS:
NEW USER LOGIN:
VALID LOGIN:
SUCCESSFUL RETURN:
USER DATABASE:
User
Name College Dept Sem Address EmailID Amount Password Ucount Course
AK VEC CSE 6 CHENNAI AAA@ 3000 ABC 1 B.E
ANITHA VEC ECE 5 CHROMPET [email protected] 1500 ANI 2 M.E
SS SDF FDF 5 SDSF DFDF@ 1300 SS 3 B.E
DEEPS VEC CSE 6 CHENNAI sai@ 700 sai 0 B.E
SAM SSN CSE 6 WILLIAM SAM@ 800 QW 0 M.E
STREET
BOOK DATABASE:
Book
Book-Id Book-Name Author Edition Publication Status Count
101 ADT SILBERCHATZ 2004 PEARSON ISSUED 0
102 VP LARY 2010 BIBLE ISSUED 0
103 ACA PETER 2006 TECHNICAL AVAILABLE 2
104 OOAD CARL 2007 PEARSON ISSUED 0
105 AI WEISS 2004 BIBLE AVAILABLE 4
106 PCD AHO 2000 PEARSON AVAILABLE 4
CONCLUSION:
Thus a book bank application has been successfully created using Visual Basic as front end
and MS Access as a back end for the efficient maintenance of books and users in a book bank.
Ex.No: 3 EXAM REGISTRATION SYSTEM
DATE: 03/01/12
AIM
To develop a Exam registration system project using visual basic as front end and Microsoft
access as back end
PROBLEM STATEMENT:
Exam registration system is the process of enrolling for exams through online. Enrolling students
into the general associate course examination is a very difficult and important process. In case of degree
courses, the exam is held two times per annum and students are required to pass in the exam to get their
degrees. The main outcome is to computerize everything related to associate course/degree examination.
Student can enter their details in a form and information related to examination such as venue, date, time,
etc., are displayed in a web page. The registration number and other related information will be sent
through e-mail.
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
1. INTRODUCTION:
Exam registration system is an interface between the applicant/student and the authority
responsible for issuing the hall ticket.
1.1. PURPOSE
If the exam registration is done in conventional method, it would require more time and it
would contain lots of error in it. So this system uses online registration system which minimizes
error in conventional system.
1.2. PRODUCT SCOPE
The scope of this system involves the development and maintenance of the online
examination registration that integrates all support modules after suitable evaluation and acceptance and
appropriate ASP(Application Service Provider) hosting solutions.
2. OVERALL DESCRIPTION
2.1 PRODUCT PERSPECTIVE
The form acts as an interface between the student and administrator. It makes the
registration process simple as it involves the registration system.
2.2. PRODUCT FUNCTIONS
System separate registration forms for students. Management of exam from one central
location and providing for printing the hall ticket/professional certificate online.
3. EXTERNAL INTERFACES
3.1 HARDWARE INTERFACES
The system should have good hardware support. The processor should have high speed
and must be of high efficiency.
3.2 SOFTWARE INTERFACE
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES
4.1. FILING THE FORM
database
enter roll no and passwrd
login
<<extends>>
<<includes>> UG
download course materials
Select course admin
<<includes>>
<<includes>>
PG
select semester
register for exam
Sign_up Sign_in
invalid
Exam Previous Exam
Timetable Papers
valid
Payment
Sample
Questions
Online Cash
Activity Diagram :
Confirm_Display
Print
Ticket
Class Diagram:
Interaction Diagram:
Sequence Diagram :
Login:
Login sequence
5: acknowledge 4: updating
Registration:
Registration Routine
4: validating
5: reg success
7: checking
8: processing
9: display reg
Payment:
applicant admin database
1: enter reg no
2: checking
3: verify DB
4: processing
5: acknowledge
8: updating
9: payment success
Collaboration: Diagram :
3: verify DB
Login:
1: enter reg no 2: checking
Payment
6: card number,procedure
amount 7: processing
Registration: 3: processing
Registration:
Registration state
register
Continue Acknowledge
with Reg ment
Payment:
Pay state
E-Payment
Valid
Choose card
type & Amount
Acknowledge
Print
receipt
Component Diagram:
Component diagram
Database
Deployment Diagram:
Login Registration
Payment
Online Exam
Registration
Database
CODING:
HOME PAGE:
SIGN UP:
SIGN UP2:
EXAM REGISTRATION:
SIGN IN:
SCREEN SHOTS:
HOME PAGE:
SIGN UP1:
SIGN UP2:
EXAM REGISTRATION:
SIGN IN:
CONCLSUION:
Thus the project to develop exam registration system using rational rose and implement it in
visual basic using MS Access as back end is done successfully.
DATE: 10/01/12
AIM
To develop a Stock Maintenance system project using visual basic as front end and
Microsoft access as back end.
PROBLEM STATEMENT
In any organization the records about stock are maintained manually. Since these
activities are done manually and need regular updates to these records there is much
probability of error occurrence, moreover this work is a tedious work process. The various
activities involved in these types of systems are adding stock, deleting stock, updating stock,
and searching stock. The system access is given to the accountant, stock manager.
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
1. INTRODUCTION:
In order to overcome the major flaws of the manual record maintenance, the shift
towards computerization of the process is mandatory. The primary objective of this project is
to implement the software which is capable of maintenance of the records with simplicity and
in well structured manner. The main aim is to overcome the work load and time consumption
which makes the maintenance of in an organization as a tedious process.
1.1 PURPOSE:
The main purpose of this project is to maintain the stock list details, company’s
address and inform the stock manager when the action is required to be done. The
project avoids excess ordering of the stock and helps to order necessary stock when the
stock goes beneath the minimum level specified. When the particular product reaches
minimum level then it brings a notice to the stock manager.
1.2 Product scope:
The scope of the product is to maintain stock in a stationary stock company to
calculate the available quantity of a part icular product present in the stock. It’s easy to add
to the stock list, when there is an arrival of a new product to the super market. When a
particular product reaches a minimum level then automatically it types letter with the
required quantity of product to the product company.
1.4. REFERENCES
www.scribd.com/doc/23362865/srs-of-stock-maintenance
2. OVERALL DESCRIPTION
2.1 PRODUCT PERSPECTIVE
The system is updated for every change in the stock exchange. It contains the
exact rate, date and time of the stock being purchased and sold.
2.2 PRODUCT FUNCTIONS:
It secures the information of the stock exchanges and records the dat e and time
of the exchanges. It maintains the details of purchased stocks and sold stocks separately for
the purpose of better clarity and to avoid clashes between data.
4. SYSTEM FEATURES
4.1 SYSTEM DESCRIPTION AND PRIORITY
This system allows the employee to record all the details that occur during the
delivery of product.
4.2 STIMULUS/RESPONSE SEQUENCE
The cost of delivered products is calculated.
stock
database
stock transaction
<<include>>
maintenance
officer
payment mode
supplier
cash cheque
Activity Diagram :
TRANSACTION PAYMENT AND RECEIPT DETAILS
stock
maintenance
receive requests
add items mode of from customer
delete items update item payment
search item
enter details
item deleted YES NO
items
updated distributing
cash cheque items
Class Diagram
Sequence Diagram :
Add items:
Stock System Database
Manager
1: Request to add
2: Request accepted
6: Return status
7: Provide details
8: Add item
9: Add to database
12: Terminate
Delete Items
2: Request accepted
6: Return status
7: Provide details
8: Delete item
9: Delete from database
12: Terminate
Update Items
Stock System Database
Manager
1: Request to update
2: Request accepted
6: Return status
7: Provide details
8: Update item
9: Update database
2: Request accepted
6: Return status
7: Provide details
8: Terminate
Payment
2: Supply items
5: Cash paid
8: terminate
Collaboration Diagram :
Add Items
5: Checks database
1: Request to add
3: Enter details
8: Add item 4: Check for product id
12: Terminate 9: Add to database
Stock System Database
Manager
2: Request accepted 6: Return status
7: Provide details 10: Item added
11: Succesful transaction
Delete Items
5: Checks database
1: Request to delete
3: Enter details
8: Delete item 4: Check for product id
12: Terminate 9: Delete from database
Stock System Databas
Manager e
2: Request accepted 6: Return status
7: Provide details 10: Item deleted
11: Succesful deletion
Update Items
5: Checks database
1: Request to update
3: Enter details
8: Update item 4: Check for product id
12: Terminate 9: Update database
Stock System Databas
Manager e
2: Request accepted 6: Return status
7: Provide details 10: Item updated
11: Update Succesful
Search Items
5: Checks database
1: Request to search
3: Enter product id to be searched
8: Terminate 4: Search for product id
Stock System Databas
Manager e
2: Request accepted 6: Return status
7: Provide details
Payment
4: cash handed over 1: Place order
8: terminate 5: Cash paid
Stock Supplier
Cashier
Manager
3: Request for cash 2: Supply items
7: hand over receipt 6: Receipt received
ADD ITEMS
Get
product Id
get product
Display error
id
message
invalid id
get product
id1
invalid id
display
error
UPDATE ITEMS
get product
id2
invalid id
display
error_message
place
order
to the supplier
payment
get the
receipt
Component diagram
COMPONENT DIAGRAM
database stock
transaction
Deployment Diagram
Add product delete product update search payment
product product
Stock Manager
Database
CODING:
LOGIN :
Private Sub Command1_Click()
If LCase(Text1.Text) = "admin" And LCase(Text2.Text) = "admin" Then
Unload Me
choice.Show
Else
MsgBox "Please enter correct username and password"
End If
End Sub
CHOICE :
Private Sub Command1_Click()
add.Show
End Sub
ADD PRODUCT:
DELETE PRODUCT:
UPDATE PRODUCT :
PAYMENT :
LOGIN:
CHOICE :
ADD PRODUCT:
DELETE PRODUCT:
PRODUCT STATUS:
UPDATE PRODUCT:
PAYMENT :
CONCLUSION :
Thus an application has been created using visual basic and Rational Rose software for easy
maintenance and effective retrieval of Stock .
Ex.No: 5 ONLINE COURSE RESERVATION SYSTEM
DATE: 24/01/12
AIM
To develop a online course reservation system project using visual basic as front end and
Microsoft access as back end.
PROBLEM STATEMENT:
Gives the description about the course and the colleges. The system gives the overall
status of the course available in all the college and also it helps to check the availability of the
course in a particular college. If the user wants to register the course, an account is required.
Depending on the availability of the course, the user can reserve their required course. For
reservation, the user details like name,percentage,mail id,phone number,address are needed. And
also the system checks for the eligibility which depends on the percentage obtained by the
student. It follows some criteria. If the criteria is not satisfied, the reservation is not possible and
its displays them as a non-eligible candidate. After reserving the course register number is
displayed to confirm the details of the student.
Table of contents
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirement
1. INTRODUCTION:
Student admissions are a vital part of any university’s running because students are what
keep a University alive. The student admission is one of the most important activities within a
university as one cannot survive without students. A poor admissions system can mean fewer
students being admitted into a university because of mistakes or an overly slow response time.
The process begins with a potential student completing an application form through the
Universities and Colleges Admissions Service, the first step for students is to apply directly to
the university through a custom online form.
The next step is for the Admissions service center has to review the application and
ensure that all of the required information has been provided, from the form itself to the
supplementary documentation, such as language and degree certificates. If any of the required
information is missing, it is the secretary for the department to which the application concerns
that contacts the potential student and arranges for the delivery of the outstanding data
The application in its entirety is then forwarded, complete with a recommendation, to the
respective department’s Admissions Tutor, who has the final say as to whether each potential
student is accepted or rejected. Before making a decision, the Admissions Tutor reviews the
application and the additional documentation, comparing the academic credentials to a list of
university rankings and previous, similar applications.
1.1. PURPOSE:
The purpose of this SRS document is to specify software requirements of the Online
Admission for the university. It is intended to be a complete specification of what functionality
the admission provides. The main purpose of the system is to automate the task carried out by
different peoples in the organization to perform the student admission. Specific design and
implementation details will be specified in a future document.
1.2. SCOPE:
This project’s aim is to automate the system, pre-checking the inclusion of all required
material and automatically ranking each student’s application based on a number of criteria.
These criteria include the ranking of their university, their grade at said university and their
language grade certificate. The data used by the system is stored in a database that will be the
centre of all information held about students and the base for the remainder of the process after
the initial application has been made. This enables things to be simplified and considerably
quickened making the jobs of the people involved easier. It supports the current process but
centralizes it and makes it possible for decisions to be made earlier and easier way.
Database
<<new user>>
LOGIN
<<existing user>>
OCR
REGISTRATION <<include>>
VERIFICATION VALIDATION
CANDIDATE
ADMINISTRATOR
MODIFICATION
CANCELLATION
COURSE SELECTION
COUNSELLING
ALLOCATION
COLLEGE SELECTION
<<include>>
PAYMENT NETBANKING
<<include>>
CREDIT/DEBIT CARD
Activity Diagram :
Online Cousre
Reservation system
login Registration
Counselling
Enter the FAQ
signup signin
Details
Modification Authenticat
ion Payment
enter details enter username Enter the
for login and password name,Age,Percentage,E-mail
Course Selection
Modify the Cancellation
req details
Invalid Credit card Demand
Draft
Seat
Change the Allocated
name,age,email,percentage
Add the
Form
Class Diagram :
INTERACTION DIAGRAM:
SEQUENCE DIAGRAM :
COUNSELLING:
3.processing
4.succesful counselling
LOGIN:
3.processing
4.login
7.process request
8.verification succesful
MODIFICATION:
3.processing
4.succesful registration
PAYMENT:
3.retrieve details
4.pay amount
REGISTRATION:
applicant admin
database
1.enter the details
2.verifying the details
3.processing
4.succesful registration
COLLABORATION DIAGRAM :
COUNSELLING:
LOGIN:
4: 4.login 3: 3.processing
8: 8.verification succesful 7: 7.process request
MODIFICATION:
4: 4.pay amount
3: 3.retrieve details
REGISTRATION:
4: 4.pay amount
3: 3.retrieve details
COUNSELLING:
counsel
seat allocated
Reserved
LOGIN:
invalid details
MODIFICATION:
invalid change
Modification modification
failed successful
PAYMENT:
DD
cash
REGISTRATION:
Enter Login
Details Succesful
Database
DEPLOYMENT DIAGRAM:
Online Course
Reservat...
Database
CODING
LOGIN:
Private Sub Command3_Click()
Dim Username, pass, repass, email As String
Dim error As String
Label7.Visible = True
Username = Text3.Text
pass = Text4.Text
repass = Text5.Text
email = Text6.Text
If (Len(Username) > 6) Then
If ((pass = repass) And Len(pass)) Then
If (InStr(email, "@")) Then
Adodc1.Recordset.AddNew
Adodc1.Recordset.Fields("Username") = Username
Adodc1.Recordset.Fields("Password") = pass
Adodc1.Recordset.Fields("Email") = email
Adodc1.Recordset.Fields("BOOL") = 1
Adodc1.Recordset.Update
Adodc1.Recordset.Save
Call Clear
MsgBox ("sucess")
SSTab1.Tab = 0
Else
Label7.Caption = "enter a valid e-mail id"
End If
Else
Label7.Caption = "the password and retype password should be same "
End If
Else
Label7.Caption = "the username should be a minimum of 6 character length"
End If
End Sub
Private Sub SSTab1_DblClick()
Static user1 As String
user1 = "hello"
pass = (Text4.Text)
repass = (Text5.Text)
email = (Text6.Text)
End Sub
HOME :
APPLICATION:
AVAILABILITY:
PAYMENT:
Public l As String
Private Sub Command1_Click()
Adodc1.Refresh
Adodc1.Recordset.Find "NAME ='" & Text1.Text & "'"
If (Adodc1.Recordset.EOF) Then
MsgBox ("illegal")
Else
Label1.Visible = False
Text1.Visible = False
Command1.Visible = False
Label2.Visible = True
Frame1.Visible = True
Command2.Visible = True
End If
End Sub
Private Sub Command2_Click()
If (Home.Command1.Visible = False) Then
Home.Command1.Visible = False
End If
If (Home.Command2.Visible = False) Then
Home.Command1.Visible = False
End If
If (Home.Command4.Visible = False) Then
Home.Command1.Visible = False
End If
Adodc1.Refresh
Adodc1.Recordset.Find "NAME ='" & Text1.Text & "'"
If (Option1.Value = True) Then
Adodc1.Recordset.Fields("Payement") = "DUE"
Else
Adodc1.Recordset.Fields("Payement") = "PAID"
Adodc1.Recordset.Fields("DDNO") = Val(Text2.Text)
End If
Adodc1.Recordset.Update
Adodc1.Recordset.Save
Adodc2.Refresh
Dim B As String
B=l
Adodc2.Recordset.Find "Username ='" & B & "'"
Adodc2.Recordset(4) = Val(0)
MsgBox (Adodc2.Recordset(4))
Adodc2.Recordset.Update
Adodc2.Recordset.Save
Adodc2.Recordset.Close
Home.Command2.Enabled = False
Home.Show
Unload Me
End Sub
Private Sub Form_Load()
l = Home.Label2.Caption
Text1.Text = ""
Label2.Visible = False
Frame1.Visible = False
Command2.Visible = False
Label3.Visible = False
Text2.Visible = False
End Sub
Private Sub Option1_Click()
If (Option1.Value = True) Then
Label3.Visible = True
Text2.Visible = True
Label3.Caption = "ENTER THE CREDIT CARD NO"
End If
End Sub
Private Sub Option2_Click()
If (Option2.Value = True) Then
Label3.Caption = "ENTER THE DD NO"
Label3.Visible = True
Text2.Visible = True
End If
End Sub
SCREENSHOTS:
SIGN UP
LOGIN
HOME
APPLICATION
AVAILABILITY
COURSE
PAYMENT
PAYMENT
CONCLUSION:
Thus an application has been designed and implemented for a online course reservation
system.
Ex.No: 6 E-TICKETING(Airline/Railway)
DATE:
AIM
To develop a E-Ticketing system project using visual basic as front end and Microsoft
access as back end.
PROBLEM STATEMENT:
E-Ticketing enables the user in easy ticket reservation. The customer can create their own
account. Then customer can book the ticket by just clicking the seat which is shown on the
screen and insert some card data. The customer can check the ticket record according to the
transaction number. Staff can use the system to add data to the database. The system can
generate some static information according booking and ticket selling records.
Table of contents
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirement
1. INTRODUCTION:
E-ticket system is where customer can reserve ticket in online. It is an automatic system.
It is the interface between the customer and authority responsible for the issuing the tickets.
1.1. PURPOSE
It provides an anytime anywhere service for customer. This also minimize the
number of staff at the ticket box.
1.2. SCOPE
The system can generate the time table automatically or the time table is set by
the staff. The ticket is booked according to the customer requirement.
1.3. DOCUMENT CONVENTIONS:
Customer – The person who books the ticket.
1.4. REFERENCES
www.irctc.co.in
www.yatra.com
2. OVERALL DESCRIPTION:
2.1. PRODUCT PRESPECTIVE:
This project is a self contained project that allows the applicant to select or book
the ticket.
2.2 PRODUCT FUNCTIONS
This system functions with a database at the back end, for reserving tickets.
2.3 TOOLS TO BE USED
Visual basic and Microsoft Access
3. EXTERNAL INTERFACES
3.1 HARDWARE INTERFACES
The system should have good hardware support. The processor should have high
speed and must be of high efficiency.
3.2 SOFTWARE INTERFACE
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES
4.1. TICKET BOOKING:
4.1.1 DESCRIPTION AND PRIORITY:
Allow the customer to select or book the ticket.
4.1.2 STIMULUS / RESPONSE SEQUENCE:
The seat is booked as per the customer requirement.
4.1.3 FUNCTIONAL REQUIREMENT
REQ 1: customer can create its own account.
REQ 2: The system will update the details about the tickets.
5. OTHERNON-FUNCTIONAL REQUIREMENT:
5.1.PERFORMANCE REQUIREMET
To increase the performance, free up database resource for other tasks.
5.2.SAFETY REQUIREMENT:
The requirement where datbase main effectively and administartor must
5.3.SECURITY REQUIREMENT:
Passwords for registered accounts are stored as a hash in the database only the
staff can access the main database.
E-TICKETING
Use Case Diagram :
Login
database
check availability
<<include>> reservation
<<extend>>
booked history
Cancellation
Confirm ticket print ticket
payment
credit e-bank
debit
Activity Diagram :
Online railway
reservation system
Mode
Login. reservation
Check
payment
availability
Yes E-bank
Enter Personal Credit card Debit card
Enter train
Enter login. Details
details
available
Invalid No Cancellation
Reserve?
Card details Enter account
details
Not avail...
Enter pwd
Yes Ticket not available Waiting..Still
Continue or reserve?
not?
invalid Confirm valid
Ticket available Payment
Book Ticket
Invalid
Valid
No
View DB Print ticket Re-Enter
card details
Exit Booked
History
Class Diagram
Sequence Diagram :
Login
1: enter username,password
2: check
3: valid access
4: successful login
Check Availability
PASSENGER ADMIN DATABASE
1: enter train no
2: check the train no
Reservation
PASSENGE ADMIN DATABASE
R
1: enter train no 2: check the details
5: select the particular details for cancellation and confirm 6: search the given details
Collaboration Diagram :
Login
1: enter username,password 2: check
PASSENGER ADMIN DATABASE
Reservation
check valid display train check available not found Seats not
availability name seats available
found
invalid
Enter Display
valid t_no Available seats
Reservation
confirm
Cancellation
invalid
cancel
exit
Invalid no
cancellation
Component Diagram Payment
Database
Deployment Diagram
RAILWAY
RESERVATION SYSTEM
Database
CODING:
STARTUP:
LOGIN:
MENU:
SEARCH TRAIN:
RESERVATION:
rs1.AddNew
rs2.AddNew
rs3.AddNew
rs4.AddNew
rs5.AddNew
rs6.AddNew
Text1.Text = Temp1
Adodc1.Recordset.Find "Train_No =" & Text1.Text, 0, adSearchForward
Text2.Text = Text1.Text
Text3.Text = Text18.Text
Text4.Text = Text19.Text
Text17.Text = Text20.Text
Text24.Text = Text1.Text
Text25.Text = Text18.Text
Text26.Text = Text19.Text
Text27.Text = Text20.Text
Text31.Text = Text1.Text
Text32.Text = Text18.Text
Text33.Text = Text19.Text
Text34.Text = Text20.Text
Text38.Text = Text1.Text
Text39.Text = Text18.Text
Text40.Text = Text19.Text
Text41.Text = Text20.Text
Text45.Text = Text1.Text
Text46.Text = Text18.Text
Text47.Text = Text19.Text
Text48.Text = Text20.Text
Text52.Text = Text1.Text
Text53.Text = Text18.Text
Text54.Text = Text19.Text
Text55.Text = Text20.Text
Adodc2.Recordset.MoveLast
Text60.Text = Text59 + 1
Text61.Text = Text59 + 1
Text62.Text = Text59 + 1
Text63.Text = Text59 + 1
Text64.Text = Text59 + 1
Text65.Text = Text59 + 1
End Sub
FARE:
PRINT TICKET:
CANCELLATION :
CANCEL TICKET:
MODULES:
SCREEN SHOTS:
START UP :
NEW LOGIN :
EXISTING LOGIN :
MDI FORM :
SEARCH TRAIN DETAILS:
RESERVATION :
BOOK TICKET :
BOOKED TICKET’S FARE DETAILS :
PRINT TICKET :
ENQUIRY TRAIN DETAILS :
CANCELLED TICKET :
EXIT :
CONCLUSION:
Thus an application has been created using visual basic to book e-ticket in online and to know
their status of tickets .
EX:NO: 7 SOFTWARE PERSONAL MANAGEMENT SYSTEM
DATE: 07/02/12
AIM:
To develop a Software Personal Management System Project using visual basic as front end and
Microsoft access as back end.
PROBLEM STATEMENT
The software personal management system is system to keep track of the employee details of
particular concern. The recruitment status of the company can be maintained. Generally human resource
deals with the details of the employee where once the name of employee is typed; the entire history of
person is displayed. Multiple accesses to this system allow the authorized manager to update the audit
employee files. There are certain folder to maintain the training serious that were given to employee and
number of person attending the training. New certification page are provided to log individual employee
accreditation. Once there is a change in the employee details, it is updated.
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirement
1. INTRODUCTION
The software personal management is a system to maintain the records about each employee in a
firm. This helps in easy storage and retrieval of detail whenever it is necessary.
1.1. PURPOSE
The personal management system is a human resource management system. The system was
developed to track employee’s attendance and personal management. Employees can be tracks for
previous employment history, skill, training, education.
1.2. SCOPE
This system tracks the employee attention and personal history. It also helps human resource
department to develop and maintain an integrated organisation.
1.3. DOCUMENT CONVENTION
Managers – The person who maintains the employee detail record
Employee- The person who works in a firm and whose detail are to be kept track.
1.4. REFERENCES:
www.scribe.com/software personal maintenance system.
2. OVERALL DESCRIPTION
2.1. PRODUCT PERSPECTIVE:
This project is a self contained project designed for effective maintanence of an
organization.
2.2. PRODUCT FUNCTIONS:
There are two main contents,
i) Front end – Java net beans, This is the area that all the employee can see
ii) Back end – Database, This area is designed and maintained by the HR.
2.3. OPERATING ENVIRONMENT:
Visual Basic 6.0 and Microsoft Access 2003.
3. EXTERNAL INTERFACE
3.1. HARDWARE INTERFACE
The system requires extensive database to connect with the hardware computer.
3.2. SOFTWARE INTERFACE
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES
4.1. EMPLOYEE TRACKING
4.1.1. SYSTEM DESCRIPTION AND PRIORITY
The system allows to track the details and history of a employee.
4.1.2. STIMULUS/RESPONSE SEQUENCE
The tracking is done in order to inverse the performance of organization.
4.1.3. FUNCTIONAL REQUIREMENT:
Req1: The employee id and name must be entered.
Req2: The system must be updated.
5. OTHER NON FUNCTIONAL REQUIREMENT:
5.1. PERFORMANCE MANAGEMENT:
The detail of employee must be uploaded to increase the performance of the organization.
5.2. SECURITY REQUIREMENT:
The detail of the employee must be recorded recursively and only the human resource
manager must have the authority to access them.
5.3. SAFETY REQUIREMENT:
The database must be maintained efficiently without crushing or hacking.
Use case Diagram:
Database
Login
Employee Training
Employee performance
<<include>> <<include>>
Employee Employer
Employee Payroll
<<include>> <<include>>
Software personal
management system
Training
Login
Emp Details Emp Performance Payroll
Login Performa payroll
Training
Emp_Details nce
Enter
Password Enter Document
Initial Learning
Emp_ID for payment
Program
Personal
details
Validation View Salary
Progress Details
Professional Emp_Work Emp_RE
Details ing Hours marks
Access No
denied
Evaluating Mode of
Yes Project payment
details
Login
Successful Non-Eligible
Employee Due
Rejected Date
Eligible
Access to
Employee account
Employee
Designated
Interaction Diagram:
Sequential Diagram:
Emp_Details:
8: processing
9: display emp details
Emp login:
Employee Administrator Database
1: enter emp id,psword
2: checking 3: checking database
4: validating
5: login successful
6: access details
7: checking
8: checking database
9: updating
10: details accesed
Payroll:
4: processing
5: display salary
8: processing
9: display document of pay
Emp_Performance:
Employee Admin Database
1: enter emp id
2: checking 3: checking database
6: processing
7: display performance
Training:
6: skill updation
7: Alowing to update
8: processing
9: display details
Collabaration Diagram:
Login:
3: checking database
8: checking database
Details:
3: checking database
Training:
3: checking database
Performance:
3: checking database
5: updating
2: checking
1: enter emp id 4: entering remarks & working hours
Employe Admin Databas
e e
7: display performance 6: processing
Payroll:
3: checking database
StateChart Diagram:
Login:
login
invalid
Details:
invalid
Details login
invalid
invalid
Training:
training
invalid
invalids
Performance:
performa
nces
invalid
emp_id
Payroll:
Payroll
validation displayin
Enter
document of pay
emp_id
invalid
invalid id
Component diagram:
login employe training performe payroll
e details nce
data base
Deployment diagram:
Details Training Performan
Login ce Payroll
Software Personnel
Management System
Database
CODING:
Main Form:
Private Sub Exit_Click()
Unload Me
End Sub
Employee Form:
Option Explicit
Dim cn As adodb.Connection
Dim rs As adodb.Recordset
Public EmployeeID As Integer
End If
textUserName.Text = ""
textPassword.Text = ""
LoginForm.Hide
Else
MsgBox "Invalid Password!. Please Try again ", vbExclamation, "Warning"
End If
Else
MsgBox "Invalid User Name!. Please Try again ", vbExclamation, "Warning"
End If
End Sub
HR Login Form:
Option Explicit
Public LoginSucceeded As Boolean
Dim ID As Integer
Dim cn As adodb.Connection
Dim rs As adodb.Recordset
Dim rsnew As adodb.Recordset
End Sub
End Sub
End Sub
HR_UpdateDelete Form:
Option Explicit
Dim cn As adodb.Connection
Dim rs As adodb.Recordset
Dim rsnew As adodb.Recordset
Dim empid As Integer
Dim myDate As Date
End Sub
EmployeeLogin Form:
Employee Form:
ManagerLogin Form:
HR Form:
HR_Addnew Form:
HR_UpdateDelete Form:
CONCLUSION:
Thus an application has been designed and implemented for a software personal
management system.
EX:NO: 8 CREDIT CARD PROCESSING
DATE: 14/02/12
AIM:
To develop a credit card processing System Project using visual basic as front end and Microsoft
access as back end.
PROBLEM STATEMENT:
Credit card allows you to ‘buy goods now and pay later’-called ‘buying on credit’. Credit card is
issued by the credit card issuer, such as a bank or a firm. Instead of giving cash to the merchants for
purchasing items we can use the credit card. The card is swiped in the credit card scanner and the unique
pin number of the card is read. This number is verified by the system for every transaction. The amount is
entered and sent for further processing. After transaction is finished, the details of the purchase along with
the card number are obtained to get the purchaser’s sign for his/her verification. The copy of purchase
details is sent to the credit card issuer. After all transaction, a statement is sent to the card holder to pay
the amount used. The amount can be paid by the card holder within certain days without paying interest
for it. Card holder can pay his bill by means of credit card itself, by NEFT, by Smart pay, by cheque, or
even by cash.
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirement
1. INTRODUCTION:
Credit card processing is interaction of the customer to the credit card processor for buying a new
card of for the payment of bills. The processor allows getting a new card and also to get the details of the
card and makes the copy of the purchase made.
1.1. PURPOSE
The credit card makes shopping easier and the customer or purchaser need not carry cash
along with him/her. It allows the customer to buy his/her requirements without a need to keep
track of his/her cash in hand especially in case of emergencies.
1.2. SCOPE
The credit card processing is usually done with a help of the swiper which scans all the
details of the card. After each purchase, the details are recorded and document is made by the credit card
issuer.
1.4. REFERENCES
www.creditcardprocessing.net/
2. OVERALL DESCRIPTION
2.1. PRODUCT PERSPECTIVE
This project is a self contained project for easy transaction using credit card.
3. EXTERNAL INTERFACE
3.1. HARDWARE INTERFACE
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES
Req 2: The credit card holder must pay his debts genuinely.
5. OTHER NON-FUNCTIONAL REQUIREMENTS
5.1. PERFORMANCE REQUIREMENTS
The swiper should work effectively during the transaction for good maintenance of the
system.
view recommended
customer authentication
add to shopcart
make purchase
customer
database
view / update shopping cart
check out
Client Register
payment..
merchant payment-cash
payment-credit
payment-debit payment-cheque
ACTIVITY DIAGRAM
view items checkout payment
Bill generation
confirm selected
item
pay details
By cheque By Cash
continue with
checkout
Accept the
payment
Diaplay the
bank
CLASS DIAGRAM
INTERACTION DIAGRAM
SEQUENCE DIAGRAM
VIEW ITEMS
4: items found
5: items list
6: confirm
7: update items
8: bill receipt
9: generate bill
CHECKOUT
customer merchant bank
database
2: swipe
3: checking
4: request amount
5: enter amount
6: success
7: bill receipt
8: bill
PAYMENT BY CUSTOMER
customer bank admin bank
database
1: get document
2: get document
3: payment
4: update
5: accept
6: success
7: clear statement
PAYMENT TO MERCHANT
1: get document
2: get document
3: signed document
4: update
5: accept
6: payment
7: clear bill
COLLABORATION DIAGRAM
VIEW ITEMS
4: items found
8: bill receipt
databas
e
CHECK OUT
8: bill
4: request amount
6: success
3: checking
2: swipe
5: enter amount
bank
database
PAYMENT BY CUSTOMER
3: signed document
merchan bank
t admin
2: get document
6: payment
7: clear bill
1: get document
5: accept 4: update
bank
database
purchasi
hg
3: payment
custome itemavail
r able bank
admin
2: get document
7: clear statement
check the valid confirm
item 1: get document
6: success
invalid
5: accept 4: update
reconfirm
bank
database
Check out
check out
price
verification
not accept
reject to
pay
Payment
payment
check
authentication
not expire
amount
COMPONENT DIAGRAM
databas
e
DEPLOYMENT DIAGRAM
CREDI
...
DATA
BASE
CODING:
WelcomeScreen
Private Sub Form_Load()
Me.Show
End Sub
Private Sub Login_Click()
ShopLogin.Show
Unload Me
End Sub
Private Sub Register_Button_Click()
Register.Show
Unload Me
End Sub
Register
Dim statement As String
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
' Open a connection.
Set conn = New ADODB.Connection
conn.ConnectionString = _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source= D:\Projects\OOAD_CreditCardSystem\CreditCardSystem.mdb; " & _
"Persist Security Info=False"
conn.Open
Private Sub Command1_Click()
' Look up the user name/password.
statement = "SELECT COUNT (*) FROM ShopLogin WHERE " & _
"UserName='" & Replace(Text1.Text, "'", "''") & "'"
Set rs = conn.Execute(statement)
' See if we got anything.
If CLng(rs.Fields(0)) < 1 Then
statement = "INSERT INTO shopLogin values('" & Text1.Text & "','" & Text2.Text &
"','" & Text3.Text & "'," & Val(Text4.Text) & ",'" & Text5.Text & "')"
conn.Execute (statement)
WelcomeScreen.Show
Unload Me
rs.Close
conn.Close
Else
MsgBox ("UserId already Exists!! Please try again!!!")
Text2.SetFocus
End If
End Sub
ShopLogin
Option Explicit
Public LoginSucceeded As Boolean
Private Sub cmdCancel_Click()
'set the global var to false
'to denote a failed login
LoginSucceeded = False
Me.Hide
End Sub
Private Sub cmdOK_Click()
Dim db_file As String
Dim statement As String
statement = "SELECT COUNT (*) FROM ShopLogin WHERE " & _
"UserName='" & Replace(txtUserName.Text, "'", "''") & "' AND " & _
"Password='" & Replace(txtPassword.Text, "'", "''") & "'"
Set rs = conn.Execute(statement)
If CLng(rs.Fields(0)) < 1 Then
' There is no match.
' Do not allow the login.
MsgBox "Invalid Password, try again!", , "Login"
txtPassword.SetFocus
Else
' There is a match.
' Display the program's main form.
With ItemList
statement = "SELECT * from ShopLogin where UserName='" & Replace(txtUserName.Text, "'",
"''") & "'"
Set rs = conn.Execute(statement)
.CusNameAssign = rs.Fields(2)
.CusPhoneNoAssign = rs.Fields(3)
.userNameAssign = rs.Fields(0)
.Show
End With
Unload Me
End If
rs.Close
conn.Close
End Sub
ItemList
Dim statement As String
Dim CurrentItemID As Integer
Private Sub bFinish_Click()
Dim currentBillID As Integer
statement = "select MAX(BillID) FROM BillRecord"
Set rs = conn.Execute(statement)
currentBillID = Val(Right(rs.Fields(0), 4)) + 1
Dim currentTableName As String
currentTableName = "PK" + Right(Str(currentBillID), 4)
statement = "SELECT * INTO " & currentTableName & " FROM CurrentTempBill "
conn.Execute (statement)
Dim timeNow As String
timeNow = Str(DateValue(Now))
Dim totalAmountForBillRecord As String
totalAmountForBillRecord = txtAmountToPay.Text
MsgBox "Your Bill-Id is " & currentTableName & ".Please collect your Pro-Bill!"
Unload Me
CheckOut.Show
End Sub
Private Sub Form_Load()
' Open a connection.
Set conn = New ADODB.Connection
conn.ConnectionString = _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source= D:\Projects\OOAD_CreditCardSystem\CreditCardSystem.mdb; " & _
"Persist Security Info=False"
conn.CursorLocation = adUseClient
conn.Open
' Look up the user name/password.
statement = "SELECT ItemID,ItemName,BrandName,Qty_Kgs,Price FROM ItemList
Set rs = conn.Execute(statement)
' See if we got anything.
cmbItemPick.Clear
While rs.EOF = False
cmbItemPick.AddItem (rs.Fields(0) & ") " & rs.Fields(1) & " - " & rs.Fields(2) & " Rs." &
rs.Fields(3) & rs.Fields(4))
rs.MoveNext
Wend
rs.Close
rs.Open
statement = "DELETE * FROM CurrentTempBill"
Set rs = conn.Execute(statement)
End Sub
Private Sub Text1_Change()
End Sub
Private Sub framItemList_DragDrop(Source As Control, X As Single, Y As Single)
End Sub
AtCashierCounter
Dim billId As String
Private Sub Command1_Click()
CreditLogin.Show
Unload Me
End Sub
Private Sub Command3_Click()
billId = Text4.Text
statement = "SELECT * From " & billId
Set rs = conn.Execute(statement)
Set DataGrid2.DataSource = rs
DataGrid2.Refresh
Set rs = conn.Execute("SELECT COUNT(*) From " & billId)
totalNoOfItems.Text = rs.Fields(0)
billId = UCase(billId)
statement = "SELECT * FROM BillRecord WHERE BillRecord.BillID ='" & billId & "'"
Set rs = conn.Execute(statement)
If rs.EOF = True Then
MsgBox "No such Bill exist!!!"
Unload Me
End If
Text2.Text = rs.Fields(2)
txtamt.Text = rs.Fields(3)
Text5.Text = rs.Fields(1)
End Sub
CrditLogin
Dim totalBill As Integer
Public LoginSucceeded As Boolean
Private Sub cmdCancel_Click()
'set the global var to false
'to denote a failed login
LoginSucceeded = False
Me.Hide
End Sub
Private Sub cmdOK_Click()
statement = "SELECT COUNT (*) FROM CreditLogin WHERE " & _
"CreditCardNumber=" & Val(txtUserName.Text) & " AND " & _
"PinNumber='" & txtPassword.Text & "'"
Set rs = conn.Execute(statement)
' See if we got anything.
If CLng(rs.Fields(0)) < 1 Then
MsgBox "Invalid Password, try again!", , "Login"
txtPassword.SetFocus
Else
statement = "SELECT * from Accounts where CreditCardNumber=" & Val(txtUserName.Text)
Set rs = conn.Execute(statement)
If rs.Fields(6) - totalBill > 0 Then
With CreditPrint
statement = "SELECT * from CreditLogin where CreditCardNumber=" &
Val(txtUserName.Text)
Set rs = conn.Execute(statement)
.CreditCardIdAssign = rs.Fields(0)
.Show
End With
statement = "UPDATE ACCOUNTS SET balance = balance - " & totalBill & " WHERE
creditCardNumber =" & Val(txtUserName.Text)
conn.Execute (statement)
MsgBox "Bill successfully Paid!"
Unload Me
Else
MsgBox " Transaction Failed. Purchase amount exceeds the Limit!!!"
Unload Me
End If
End If
rs.Close
conn.Close
End Sub
CustomerCopyOfRecept
Dim creditNumber As String
Private Sub Form_Load()
Text7.Text = Now()
Text4.Text = Day(Now) & Month(Now) & Day(Now) & Hour(Now) & Minute(Now) &
Second(Now)
Text5.Text = Left(creditNumber, 4) & "*****"
Set rs = conn.Execute("SELECT CustomerName FROM Accounts WHERE
CreditCardNumber=" & Val(Text5.Text))
Text3.Text = "562015456"
End Sub
BankLogin
Private Sub Command1_Click()
conn.Open
statement = "SELECT Password FROM ACCOUNTS WHERE AccountNumber = " &
Val(Text1.Text)
Set rs = conn.Execute(statement)
If rs.EOF = False And rs.Fields(0) = Text2.Text Then
BankCreditEntry.Show
Me.Hide
Else
MsgBox "Invalid AccountId or Password.Please try again"
Text1.SetFocus
Text2.Text = ""
End If
With BankPay
.accountNumberAssign = Text1.Text
End With
End Sub
BankCreditEntry
Private Sub Command1_Click()
BankPay.Show
Me.Hide
End Sub
BankPay
Dim accountNumber As String
statement = "SELECT * FROM Accounts WHERE accountNumber=" & accountNumber
Set rs = conn.Execute(statement)
txtCustomerName.Text = rs.Fields(3)
txtAddress.Text = rs.Fields(5)
txtAccountNo.Text = rs.Fields(0)
txtCardId.Text = rs.Fields(2)
txtPhoneNum.Text = rs.Fields(4)
txtCurrentAccountBalance.Text = rs.Fields(6)
If Val(txtCurrentAccountBalance.Text) < 0 Then
lblTransaction.Caption = "Due"
Else
lblTransaction.Caption = "Balance"
End If
End Sub
SCREEN SHOTS:
WelcomeScreen
Register
ShopLogin
ProBill-Info
ItemList
AtCashierCounter
CrditLogin
CustomerCopyOfRecept
BankLogin
BankCreditEntry
BankPay
ThankYou-Message
Conclusion
Thus a credit card processing system inside a supermarket is stimulated, using Visual basic as
front end and MS Access as back end and the required functionalities are successfully tested and
verified.
EX.NO : 9 E-BOOK MANAGEMENT SYSTEM
DATE: 21/02/12
AIM:
To development e-book management system project using Visual Basic as frond end and
Microsoft Access as back end.
PROBLEM STATEMENT:
E-Book management system is an interface between student and library administrator. It
increases the performance of the library. The database about the available books are maintained
the librarian. The books can be searched through online by giving the particular details about the
books. The searched book details will be displayed and the availability of the book is maintained
through which one can get their books needed. The database is updated regularly whenever the
book is owned and renewed.
SOFTWARE REQUIREMENT SPECIFICATION:
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Register
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
1. INTRODUCTION:
This system helps in easy acquiring of books for studies rather than searching for it in
shops. These portable books are easy to carry everywhere and it will be easy for referencing.
1.1. PURPOSE:
The purpose of our software project is to design a book-trading web application used
for buying and selling college textbooks directly from other users.
<<extend>>
<<include>>
invalid pw member
login detail db
Admin
Register
user
get the book
book transaction
member management
payment
search
e-book
database
<<extend>>
book management
ACTIVITY DIAGRAM
ebook
maintenance
mode of
invalid payment
register
successful valid invalid
bookname enter
<10>dig...
display the
successful download link
login
downloaded
successfully
CLASS DIAGRAM
SEQUENCE DIAGRAM
LOGIN:
USER Admin user db
1: enter username & password 2: checking
PAYMENT:
SEARCH:
user admin ebook db
REGISTER:
SEARCH:
REGISTER:
LOGIN:
1: enter username & password 2: checking
5: enter username & password 6: checking
USER Admin user db
enter user
name
invalid
enter the
details
PAYMENT:
book
trancation
download
completed
REGISTER:
register1
enter valid
user details
SEARCH:
book search
book
availible
COMPONENT DIAGRAM:
database
DEPLOYMENT DIAGRAM:
EBook mangement
system
Database
CODING:(E-book)
LOGIN form
Private Sub Command1_Click()
form2.Show
Form1.Hide
End Sub
Private Sub Command2_Click()
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\project\ebook1.mdb;Persist
Security Info=False"
rs.Open "select * from Table2 where username='" + Text1.Text + "'", cn, adOpenKeyset,
adLockOptimistic
If ((Text1.Text = "") Or (Text2.Text = "")) Then
MsgBox ("enter your username and password")
Else
If (rs("password").Value = Text2.Text) Then
Form3.Show
Form1.Hide
Else
MsgBox ("enter valid user name pwd")
Text1.Text = ""
Text2.Text = ""
End If
End If
rs.Close
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
DataGrid1.Visible = False
Text1.Text = ""
Text2.Text = ""
End Sub
REGISTER
Private Sub Command1_Click()
TestString = Text5.Text
Symbol1 = InStr(TestString, "@")
Symbol2 = InStr(TestString, ".")
If (Symbol1 <> 0) And (Symbol2 <> 0) Then
rs.AddNew
rs("username") = Text1.Text
rs("password") = Text2.Text
rs("address") = Text3.Text
rs("phoneno") = Text4.Text
rs("Email") = Text5.Text
rs.Update
rs.Close
MsgBox ("thanks for your registration")
Form1.Show
form2.Hide
Else
MsgBox ("Please re-enter a valid e-mail address")
End If
End Sub
Private Sub Command2_Click()
form2.Hide
Form1.Show
End Sub
Private Sub Text1_Validate(Cancel As Boolean)
If Len(Text1.Text) < 4 Then
MsgBox ("username is not valid")
End If
End Sub
Private Sub Text2_Validate(Cancel As Boolean)
If (Len(Text2.Text) < 5) Then
MsgBox ("enter password of minimum 5 characters ")
End If
End Sub
Private Sub Text3_Change()
If Not (Text6.Text = Label7) Then
MsgBox ("ll")
End If
End Sub
Private Sub Text4_Validate(Cancel As Boolean)
If Not IsNumeric(Text4.Text) Then
MsgBox ("enter valid phone no")
ElseIf Len(Text4.Text) < 10 Then
MsgBox ("number is not valid")
End If
End Sub
Private Sub Text6_Change()
Label7 = Text2.Text
End Sub
Private Sub Text6_Validate(Cancel As Boolean)
If Not (Text2.Text = Text6.Text) Then
MsgBox ("password does not match")
Text6.Text = ""
End If
End Sub
SEARCH
Private Sub Command1_Click()
Form4.Show
Form3.Hide
End Sub
Private Sub Command2_Click()
Form5.Show
Form3.Hide
End Sub
Private Sub Command3_Click()
End
End Sub
SCREEN SHOTS
LOGIN FORM
REGISTER FORM
SEARCH
CONCLUSION:
Thus an application has been designed and implemented for a e-book management
system.
EX.NO : 10 RECRUITMENT SYSTEM
DATE: 28/02/12
AIM:
To develop recruitment system project using Visual Basic as frond end and Microsoft
Access as back end.
PROBLEM STATEMENT
The recruitment system allows the job seekers to enroll their names through the process
of registration. The employee also can get the list of available candidates and shortlist for their
company requirement. Once the applicant enrolls he receives an id, which helps him in further
correspondence. A fees amount is received from the job seekers for enrollment. This system
makes the task of the job seeker easier rather than waiting in queue for enrollment. This also
reduces the time consumption for both for the job seeker and employee.
1.1 PURPOSE:
Manual recruitment is a tedious processing to the increasing number of job
seekers. People around the world can apply for the online recruitment system and it is
very convenient too. This system is specially designed for those seek the most demanding
job and challenging positions in their own field.
1.2. SCOPE:
Recruitment system allows the job seekers to find their dream job in the chosen
field. This system helps the companies to recruit the right candidate for the job. This
system serves as a common meeting ground for job seekers and employees, both locally
and globally.
1.3. DOCUMENT CONVENTIONS:
Administrator - The person who has the full authority over the system. He can
view all registered users.
Job Seekers - the person who registers in the system in search of jobs.
Company - A company can register itself, select the required employees and
provide information about the result.
1.4. REFERENCES:
www.timesjob.com:
2 OVERALL DESCRIPTIONS:
2.1 PRODUCT PERSPECTIVE:
This project is a self-contained project for convenient recruitment process.
2.2 PRODUCT FUNCTIONS:
The front end of the project is where the visitors or job seeker’s do their
enrollment. The back end is managed by the administrator effectively
2.3 TOOLS TO BE USED:
Visual basic and Microsoft Access
3. EXTERNAL INTERFACES:
3.1 HARDWARE INTERFACES:
The system should have good hardware support. The processor should have high
speed and must be of high efficiency.
3.2 SOFTWARE INTERFACE:
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES:
4.1 APPLYING FOR JOB:
4.1.1 SYSTEM DESCRIPTION AND PRIORITY:
This feature allows the job seeker to apply for job.
4.1.2 STIMULUS AND RESPONSE SEQUENCE:
When the job seeker uploads his resume, the list of jobs matching the
resume will be posted.
4.1.3 FUNCTIONAL REQUIREMENTS:
REQ1: Only registered users can apply for the job.
REQ2: The Company has the right to recruit the candidates, not the
system.
5 OTHER NON-FUNCTIONAL REQUIREMENTS:
5.1 PERFORMANCE MANAGEMENT:
To increase the performance and free up database resources, the default features
are written to cache files on their initial load.
5.2 SAFETY REQUIREMENTS:
The database must be maintained effective from hacking.
5.3SECURITY REQUIREMENTS:
Password for registered accounts are stored securely in a hash, the uploads made
by the user must be checked and then accepted.
RECRUITMENT SYSTEM
USECASE DIAGRAM:
<<include>> <<include>>
account created
personal details
qualification
enrollment
<<include>>
employee <<include>>
authentication<<include>>
user name
validate password
password
<<extend>>
view salary job database
<<extend>>
administrator
view vaccancies
acknowledgement
ACTIVITY DIAGRAM:
RECRUITMENT
SYSTEM
RECRUITMEN
ACCOUNT T STATUS
CREATION
AUTHENTI
CATION
VIEW VIEW
JOB SALARY
INVALID
REGISTRATION REENTER
PASSWORD
VALID LOGIN
REGISTRATION SUCCESSFUL
REGISTRATION
SUCCESSFUL
ENROLL
MENT
CLASS DIAGRAM:
INTERACTION DIAGRAM:
SEQUENCE DIAGRAM:
ACCOUNT CREATION:
8: get acknoweldement
AUTHENTICATION:
RECRUITMENT STATUS:
AUTHENTICATION:
3: checking
RECRUITMENT STATUS:
3: checking
8: processing
ACCOUNT CREATION:
recruitme
nt status
invalid
reenter
paasword
AUTHENTICATION:
recruitme
nt status
invalid
reenter
paasword
RECRUITMENT STATUS:
recruitme
nt status
invalid
reenter
paasword
COMPONENT DIAGRAM:
ENROLL
MENT
RECRUITMENT
SYSTEM
DEPLOYMENT DIAGRAM:
recruitment
status
job database
CODING
Home Form:
Private Sub Command1_Click()
Status.Show
End Sub
Register Form :
Dim c As Integer
Private Sub Calendar1_Click()
Text3.Text = Calendar1.Value
End Sub
Form1
Private Sub Command1_Click()
If (Text1.Text = "" Or Not IsNumeric(Text1.Text)) Then
MsgBox " Please enter the credit card no"
Else
MsgBox "registration successfull"
Unload Me
End If
End Sub
HR Form :
Private Sub Command1_Click()
On Error Resume Next
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\record.mdb;Persist
Security Info=False"
rs.Open "update record set status='" + Text2.Text + "' where Id=" + Text1.Text + "", cn,
adOpenKeyset, adLockOptimistic
MsgBox "Response sent successfully..", vbInformation, "Recruitment System"
Me.Show
Unload Me
End Sub
HOME FORM:
REGISTER FORM:
PAYMENT FORM:
HR LOGIN FORM:
HR DATABASE:
LOGIN FORM:
EDIT:
VIEW STATUS:
RESPONSE:
CONCLUSION:
Thus an application has been designed and implemented for a recruitment system.
EX.NO : 11 FOREIGN TRADING SYSTEM
DATE: 13/03/12
AIM:
To develop foreign trading system project using Visual Basic as frond end and Microsoft
Access as back end.
PROBLEM STATEMENT:
Foreign Trading system allows customer to buy goods or forum from other countries. The
customer can see the list of available item and can buy according to their requirement. He can
register those items through the register number given. Finally, the payment is done through
online. This system makes the task of customer easier and reduces time consumption.
SOFTWARE REQUIREMENT SPECIFICATION:
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Requesting forums
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirements
5.3 Security Requirements
5.4 Availability Requirement
1. INTRODUCTION:
Foreign Trading system involves buying items from other countries. It is a huge system of
trading goods and keep track of all its customer.
1.1 PURPOSE:
The purpose of this system is to present a detailed description of foreign trading
system. It will explain the purpose and features of the system, the interfaces of the
system, what the system will do, the constraints which it must operate and how the
system will react to external stimuli.
1.2. SCOPE:
The foreign trading system holds an online interface with its customer for
maintaining all kinds of transaction details. Each customer is provided with a unique
user id at the time of registering as the member.
1.3. DOCUMENT CONVENTIONS:
Administrator : Who supervises the system and maintains the database. .
Customer Who buys the item.
1.4. REFERENCES:
www.fts.com
www.onlineforeigntradingsystem.com
2. OVERALL DESCRIPTIONS:
2.1 PRODUCT PERSPECTIVE:
The system is updated for every time when the customer buys the item. It
contains exact rate, date and time of items being purchased and sold. The customer can
also checks the availability of the goods.
2.2 PRODUCT FUNCTIONS:
The fro nt end of the project is where the customer orders for the item. The back
end is managed by the administrator effectively.
2.3 TOOLS TO BE USED
Visual basic and Microsoft Access
3. EXTERNAL INTERFACES
3.1 HARDWARE INTERFACES
The system should have good hardware support. The processor should have high
speed and must be of high efficiency.
3.2 SOFTWARE INTERFACE
The system uses ODBC drive to connect and control the database.
4. SYSTEM FEATURES
4.1 REQUESTING ITEMS
4.1.1 SYSTEM DESCRIPTION AND PRIORITY:
This system allows the customer to record all the details that occur during
purchasing and delivery of item.
4.1.2 STIMULUS AND RESPONSE SEQUENCE:
The cost of delivered item is calculated.
4.1.3 FUNCTIONAL REQUIREMENTS:
REQ1: The cost of each item must be calculated.
REQ2: Each item must be given an unique id.
5 OTHER NON-FUNCTIONAL REQUIREMENTS:
5.1 PERFORMANCE MANAGEMENT:
Once the details are furnished, the immediate notification of the data must be
provided.
5.2 SAFETY REQUIREMENTS:
The database must be maintained and monitored effectively to avoid crashing or
hacking.
5.3 SECURITY REQUIREMENTS:
The system is secured and it can only be accessed using Password.
5.4 AVAILABILITY REQUIREMENTS:
The information provided should be retrieved at any time. Therefore, the
availability of data is more important.
USECASE DIAGRAM:
database
register
login
<<include>> forum
<<extend>>
buyer
seller
comment
edit forum
payment
<<include>> <<extend>>
billing delivery
ACTIVITY DIAGRAM:
foreign trading
system
valid
no
Registration
Buyer Seller
1.Enter cus_name
2.Uploading
Login
Buyer Seller
4.Enter email_id
5.processing
6.Login Successful
Forum
10.Terminate
9.Confirmation
Payment
Registration
2: 2.Uploading
5: 5.Verifying
1: 1.Enter cus_name
4: 4.Enter all details
Buyer Seller
Login 2: 2.checking
5: 5.processing
Forum
Payment
1: 1.Enter reg_no and psw 2: 2.Checking
5: 5.Enter trans_id and amt 6: 6.Checking
9: 9.Enter address 10: 10.Processing
11: 11.Confiramation of delivery 12: 12.Terminate
buyer Seller Database
Registration
Registration
invalid
Reenter
details
Login
Login
invalid
Make
registration
Forum
Select needed
items
invalid
No stock
Payment
E_pay
invalid
Reenter reg_no
and pswd
COMPONENT DIAGRAM:
Forum Payment
Registration Login
Database
DEPLOYMENT DIAGRAM:
Foreign Trading
system
Database
CODING:
WelcomeScreen
Private Sub Form_Load()
Me.Show
End Sub
Private Sub Login_Click()
ShopLogin.Show
Unload Me
End Sub
Private Sub Register_Button_Click()
Form2.Show
Unload Me
End Sub
Register
ShopLogin
Option Explicit
Dim customerId As String
Dim customerName As String
Public LoginSucceeded As Boolean
Private Sub cmdCancel_Click()
'set the global var to false
'to denote a failed login
LoginSucceeded = False
Me.Hide
End Sub
Private Sub cmdOK_Click()
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset
cn.Open"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\Projects\OOAD_CreditCardSystem\TKR_PROJECT\ShopLogin.mdb;Persist
Security Info=False"
rs.Open "select * from ShopLogin WHERE UserID = " + txtUserName.Text, cn, adOpenKeyset,
adLockOptimistic
MsgBox (rs(0))
'rs.Fields(0) = "Balaji"
If rs(0).Value = txtUserName.Text Then
If rs(2).Value = txtPassword.Text Then
'Form1.Visible = True
ShopLogin.Visible = False
customerName = rs(3).Value
customerId = rs(0).Value
ItemList.Show
End If
End If
With Payment
.CusNameAssign = customerName
.CusIdAssign = customerId
End With
With ItemList
.CusNameAssign = customerName
.CusIdAssign = customerId
End With
rs.Close
End Sub
ItemList
Dim totalQuantity As Integer
Dim statement As String
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim rsForItemList As ADODB.Recordset
Dim rsForSingleItem As ADODB.Recordset
Dim CurrentItemID As Integer
Dim CurrentItem As String
Dim totalPriceForAnItem As Integer
Dim customerNameForBillRecord As String
Dim rsForItemList1 As New ADODB.Recordset
Dim i As Integer
Public Property Let CusNameAssign(ByVal CusName As String)
txtCustomerName.Text = CusName
End Property
Public Property Let CusIdAssign(ByVal userName As String)
txtCustomerId = userName
End Property
Private Sub bAdd_Click()
If i <> 0 Then
rsForItemList1.Close
End If
i=i+1
If Val(txtQty.Text) > 0 Then
CurrentItemID = Val(Left(cmbItemPick.Text, 2))
statement = "SELECT * From ItemList Where ItemID =" & Str(CurrentItemID)
Set rsForSingleItem = conn.Execute(statement)
totalQuantity = totalQuantity + Val(txtQty.Text)
totalPriceForAnItem = Val(txtQty.Text) * Val(rsForSingleItem.Fields(3))
If rsForSingleItem.EOF = False Then
statement = "INSERT INTO CurrentTempBill VALUES(" & rsForSingleItem.Fields(0) & ",'" &
rsForSingleItem.Fields(1) & "','" & rsForSingleItem.Fields(2) & "'," & rsForSingleItem.Fields(3)
& "," & Val(txtQty.Text) & "," & totalPriceForAnItem & ")"
conn.Execute (statement)
rsForItemList1.Open "SELECT * From CurrentTempBill", conn, adOpenKeyset,
adLockOptimistic
Set dgItemList.DataSource = rsForItemList1
dgItemList.Refresh
'DataGrid2.AddNewMode = Str(rs.Fields(0)) & rs.Fields(1) & rs.Fields(2) & Str(rs.Fields(3)) &
Str(rs.Fields(4)) & Str(rs.Fields(5))
'DataGrid2.SelStart = Str(rs.Fields(0)) & rs.Fields(1) & rs.Fields(2) & Str(rs.Fields(3)) &
Str(rs.Fields(4)) & Str(rs.Fields(5))
txtAmountToPay.Text = Str(Val(txtAmountToPay) + totalPriceForAnItem)
Else
MsgBox ("Sorry! No Such Item")
End If
Else
MsgBox ("Quantity must be 1 or more")
End If
End Sub
Private Sub bFinish_Click()
Dim currentBillID As Integer
statement = "select MAX(BillID) FROM BillRecord"
Set rs = conn.Execute(statement)
currentBillID = Val(Right(rs.Fields(0), 4)) + 1
Dim currentTableName As String
currentTableName = "PK" + Right(Str(currentBillID), 4)
statement = "SELECT * INTO " & currentTableName & " FROM CurrentTempBill "
conn.Execute (statement)
Dim timeNow As String
timeNow = Str(DateValue(Now))
Dim totalAmountForBillRecord As String
totalAmountForBillRecord = txtAmountToPay.Text
statement = "INSERT INTO BillRecord Values('" & currentTableName & "','" &
customerNameForBillRecord & "','" & timeNow & "','" & totalAmountForBillRecord & "')"
conn.Execute (statement)
conn.Close
With Payment
.totalPriceAssign = txtAmountToPay.Text
.totalNumberOfItemAssign = Str(totalQuantity)
End With
Unload Me
Payment.Show
End Sub
Private Sub Delete_Click()
txtAmountToPay.Text = Val(txtAmountToPay.Text) - rsForSingleItem1.Fields(5)
rsForItemList1.Delete adAffectCurrent
End Sub
Private Sub Form_Load()
' Open a connection.
totalQuantity = 0
i=0
Set conn = New ADODB.Connection
conn.ConnectionString = _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source= D:\Projects\OOAD_CreditCardSystem\TKR_PROJECT\products1.mdb; " &
_
"Persist Security Info=False"
conn.CursorLocation = adUseClient
conn.Open
' Look up the user name/password.
statement = "SELECT ItemID,ItemName,BrandName,Qty_Kgs,Price FROM ItemList"
Set rs = conn.Execute(statement)
' See if we got anything.
cmbItemPick.Clear
While rs.EOF = False
cmbItemPick.AddItem (rs.Fields(0) & ") " & rs.Fields(1) & " - " & rs.Fields(2) & " Rs."
& rs.Fields(3) & rs.Fields(4))
rs.MoveNext
Wend
rs.Close
rs.Open
statement = "DELETE * FROM CurrentTempBill"
Set rs = conn.Execute(statement)
End Sub
Payment
Dim billId As String
Public Property Let totalNumberOfItemAssign(ByVal no As String)
totalNoOfItems.Text = no
End Property
Public Property Let totalPriceAssign(ByVal amt As String)
txtamt.Text = amt
End Property
Public Property Let CusNameAssign(ByVal CusName As String)
Text1.Text = CusName
End Property
Public Property Let CusIdAssign(ByVal userName As String)
Text5.Text = userName
End Property
Private Sub Command3_Click()
Set conn = New ADODB.Connection
conn.ConnectionString = _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source= D:\Projects\OOAD_CreditCardSystem\CreditCardSystem.mdb; " & _
"Persist Security Info=False"
conn.CursorLocation = adUseClient
conn.Open
billId = Text4.Text
statement = "SELECT * From " & billI
Set rs = conn.Execute(statement)
Set DataGrid2.DataSource = rs
DataGrid2.Refresh
Set rs = conn.Execute("SELECT COUNT(*) From " & billId)
totalNoOfItems.Text = rs.Fields(0)
billId = UCase(billId)
statement = "SELECT * FROM BillRecord WHERE BillRecord.BillID ='" & billId & "'"
Set rs = conn.Execute(statement)
If rs.EOF = True Then
MsgBox "No such Bill exist!!!"
Unload Me
End If
Text2.Text = rs.Fields(2)
txtamt.Text = rs.Fields(3)
statement = "SELECT UserName,PhoneNumber FROM ShopLogin WHERE UserName
='" & rs.Fields(1) & "'"
Set rs = conn.Execute(statement)
Text1.Text = rs.Fields(0)
Text5.Text = rs.Fields(1)
End Sub
Private Sub Command1_Click()
MsgBox ("Thankyou, " & Text1.Text & " Goods will be delivered in 2 or 3 days")
End Sub
SCREENSHOTS:
WelcomeScreen
Register
ShopLogin
ItemList
Payment
ThankYou Message
CONCLUSION:
Thus an application has been designed and implemented for a foreign trading system.
Ex.No: 12 CONFERENCE MANAGEMENT SYSTEM
DATE: 20/03/12
AIM
To develop a Conference Management System project using visual basic as front end and
Microsoft access as back end
PROBLEM STATEMENT
Conference management system is used to register for a conference by filling all the details. It maintains
the active database about information by conference in an efficient way. in exercising the system there are
problems such as time consumption, lot of paper work and space consumption. so to overcome these
problems we move onto conference management .it can be viewed and analyzed in a quick and easy way.
It shares time and maintenance cost, it provides online submission of paper in a simple way for
participants
SOFTWARE REQUIREMENT SPECIFICATION
TABLE OF CONTENTS
1. Introduction
1.1 Purpose
1.2 Product scope
1.3 Document conventions
1.4 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 Tools to be used
3. External Interface
3.1 Hardware Interface
3.2 Software Interface
4. System Features
4.1 Applying for Passport
4.1.1 System Description and Priority
4.1.2 Stimulus/response Sequence
4.1.3 Functional Requirements
5. Other non-functional requirements
5.1 Performance Requirements
5.2 Safety Requirement
1. INTRODUCTION
A conference management system can be regarded as domain specific content management system.
1.1.PURPOSE
The purpose of this SRS is secure as the responsibility for all requirements that
conference management should process
1.2. SCOPE
The system provides a communication platform between the user and the reviewer. This will
help both the user and reviewer by reducing the time and workload. It is a web based system that
supports the entire information about conference in an efficient way.
1.4.REFERENCES
www.papers.in,www.india.in
4 SYSTEM FEATURES
4.1 APPLYING FOR CONFERENCE
4.1.1 DESCRIPTION AND PRIORITY
This system allows the student who wishes to participate at the conference has to
enroll their names and make their registration easy way .
REQ 2: The applicant must submit only the valid information, papers.
reviewer
login
login login
project
reviewer database
review
submitted
papers
<<extend>>
user login
login
user login invalid password
new
signuser
up
sign up
user
view
submitted
paper
ACTIVITY DIAGRAM
false reject
successful paper
sign up true
submit the
paper send notification
to presenter
CLASS DIAGRAM
SEQUENCE DIAGRAM
2: login
8: registration successful
9: give rating
10: login
11: review successful
COLLABORATION DIAGRAM
1: sign up
6: enter user name,password,address,ph_no,e-mail id
8: registration successful
10: login
14: enter user_name,password
15: successful login
16: submit paper
18: check if paper is selected
user user
database
3: ask for details
12: ask details
17: submission successful
2: login
5: enter user name,password
7: review submitted papers
9: give rating
13: update database
reviewer paper
database
4: ask details
11: review successful
STATECHART
DIAGRAM
invalid
invalid
submission
REVIEW PAPER
invalid paper
give rating
above 3
CONFIRM PAPER
true
update selected notify rating rating paper not
papers in db to user above 3 selected
false
paper
selected
COMPONENT DIAGRAM
sign submit review rate
log_in
up
paper db
user
database
DEPLOYMENT DIAGRAM
view selected
review rate paper
signup login
paper
user paper
db db
conference
management system
CODING:
Login.frm
Private Sub Command1_Click()
Dim a As String
Dim b As String
a = Text1.Text
b = Text2.Text
'Adodc1.Recordset.Update
'Adodc1.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Data
Source=db2"
Adodc1.Refresh
Adodc1.Recordset.StayInSync = True
Adodc1.Recordset.MoveFirst
Adodc1.Refresh
Adodc1.Recordset.Find ("username='" + a + "'")
If Adodc1.Recordset.EOF Then
MsgBox ("invalid username")
Else
If Adodc1.Recordset("password") = Text2.Text Then
MsgBox ("login successful")
login.Hide
upage.Show
Else
MsgBox ("invalid username and password")
End If
End If
End Sub
rpage.frm
Private Sub Command1_Click()
upage.Hide
submit.Show
End Sub
rsee.frm
Private Sub Command1_Click()
rsee.Hide
upage.Show
End Sub
select.frm
signup.frm
submit.frm
Login:
CONCLUSION:
Thus an application has been designed and implemented for a conference management
system.
EX.NO:13 BPO MANAGEMENT SYSTEM
DATE: 27/03/12
AIM:
To development bpo management system project using Visual Basic as frond end and
Microsoft Access as back end.
PROBLEM STATEMENT
Business Process Outsourcing (BPO) Management System is International Management
of our business. The customer needs to register them in the system. Each customer has his own
username and password. This helps the customer to login in the system, get product information
they need, register their complaints about product or management etc. The system works and
their process are similar to all call centers. Managing foreign (International) companies and
responding their needs and complaints are main process involved in BPO system.
BPOMS provide a broad portfolio of business and technology solution to help its
client world-wide improve their business performance.
1.2.SCOPE
1.4 REFERENCE
http://www.bporms.com
2. OVERALL DESCRIPTION
2.1. PRODUCT PERSPECTIVE
BPOMS highly experienced experts have skills to design, implements and support
the right solution for each customer need.
<<include>> <<extend>> DB
company name
company admin company detail
company address
product name
business function BPO Manager
<<include>>
product quality
total employee
<<include>>
allocate employee
<<include>>
duration
sign agreement
Class diagram
Activity diagram
BPO management
system
agree then
sign
create company details is failure
account stored in database detail
no not satisfied try for
another employee
product details and failure
yes
complaint is stored
sign
agreement
enter username
and password
no
yes
invalid
retry registration
successfull
INTERACTION DIAGRAM:
Sequence diagram
Registration
1:enter username
2:verify user name and password
3:processing
4:validation
5:sucessfull registration
Product details
product detail
enqiury
storing in db
processing
Agreement
agree to solve
payment details
verfying payment
agree to pay
request for agreement
Collaboration diagram
Registration
1:
bpo manager
company
admin
5:
4:
3:
2:
DATABAS
E
Product detail
4: processing
1: product detail
customer
BPO
Manager
2: enqiury
3: storing in db
database
Agreement
2: refering available employee
4: agree to solve
7: agree to pay
6: verfying payment
company
admin
State diagram
register
get company
detail
get product
detail
contact outsourcing
company
get employee
detail
get payment
detail
transport
schedule
make
agreement
Component diagram
process
the query
company BPO registration product employee
outsourcing
admin manager function agreement
company
BPO MANAGEMENT
SYSTEM
DataBase
Deployment diagram
CODING
Form1
Form3
Form4
Form5
Form6
Form7
Private Sub Command1_Click()
Form8.Show
End Sub
Private Sub Command2_Click()
Form9.Show
End Sub
Private Sub Command3_Click()
Form5.Show
End Sub
Form8
SCREEN SHOTS:
CONCLUSION:
Thus an application has been designed and implemented using visual basic for a BPO.
14.LIBRARY MANAGEMENT SYSTEM
FORM 1
FORM 2
FORM 3
FORM 4
FORM1
Private Sub Command1_Click()
If (Form1.Text1.Text = "" Or Form1.Text2.Text = "") Then
MsgBox ("ENTER USERID AND PASSWORD")
Else
Form3.Show
End If
End Sub
Private Sub Command2_Click()
Form2.Show
End Sub
FORM2
Private Sub Command1_Click()
If (Form2.Text1.Text = "" Or Form2.Text2.Text = "" Or Form2.Text3.Text = "" Or Form2.Text4.Text = "" Or
Form2.Text5.Text = "" Or Form2.Text6.Text = "") Then
MsgBox ("ENTER ALL THE DETAILS")
Else
Form3.Show
End If
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
FORM3
Private Sub Command1_Click()
If (Form3.Text1.Text = "" Or Form3.Text2.Text = "" Or Form3.Text3.Text = "" Or Form3.Text4.Text = "")
Then
MsgBox ("ENTER ALL THE DETAILS")
Else
MsgBox ("BOOK IS FOUND")
Form4.Show
End If
End Sub
Private Sub Command2_Click()
If (Form3.Text1.Text = "" Or Form3.Text2.Text = "" Or Form3.Text3.Text = "" Or Form3.Text4.Text = "")
Then
MsgBox ("ENTER ALL THE DETAILS")
Else
MsgBox ("BOOK RETURNED SUCCESSFULLY")
End If
End Sub
FORM4
Private Sub Command1_Click()
If (Form4.Text1.Text = "") Then
MsgBox ("ENTER ID NUMBER")
Else
MsgBox ("BOOKS WILL BE ISSUED WITHIN ONE WEEK")
Unload Me
End If
End Sub
15.STUDENT INFORMATION SYSTEM
FORM1
FORM2
FORM3
FORM4
FORM1
FORM2
Private Sub Command1_Click()
If (Form3.Text1.Text = "" Or Form3.Text2.Text = "" Or Form3.Text3.Text = "" Or Form3.Text4.Text = "" Or
Form3.Text5.Text = "") Then
MsgBox ("FILL ALL THE DETAILS")
Else
MsgBox ("DETAILS ENTERED SUCCESSFULLY")
End If
End Sub
Private Sub Command1_Click()
If (Form3.Text1.Text = "" Or Form3.Text2.Text = "" Or Form3.Text3.Text = "" Or Form3.Text4.Text = "" Or
Form3.Text5.Text = "") Then
MsgBox ("FILL ALL THE DETAILS")
Else
MsgBox ("DETAILS ENTERED SUCCESSFULLY")
End If
End Sub
Content beyond Syllabus
Ex No :
QUIZ SYSTEM
AIM:
To implement the Quiz System using Rational Software.
ALGORITHM:
Step 1:
Identify the Actors and Use cases.
In this system, the actors and use cases are:
Actors:
User ,System and Database
.
Use cases:
Login,Option,answering questions,calculating marks and Display score
card.
Step 2:
Build the relationship between actors and use cases.
2. ALGORITHM
FOR SEQUENCE DIAGRAM:
Step 1:
Identify the objects.
In this system, the objects are:
User, Systemand Database.
Step 2:
Identify the sequence of events
Step 3:
Login to the system to check the validity.
Step 4:
Select the option in the system.
Step 5:
Answer the questions for the selected options
Step 6:
Evaluate the answer and calculate the mark.
Step 7:
Save the score in the database
Step 8:
Display the score.
ALGORITHM
FOR CLASS DIAGRAM:
Step 1:
Create class diagram for each identified objects under sequence diagram.
Identified objects are: User, Systemand Database.
Step 2:
Class diagram for each object is divided into three parts.
Top portion represents the Class Name.
Middle portion represents the Attributes.
Bottom portion represents the Methods.
Procedure to write the software for the Quiz System using Rational Software tool
Selecting the Software:
16. Discuss the Strength and Weakness of the Use case Diagram.