8/23/2019 VB 6.0 Project FP2005 Ver1.0 http://slidepdf.com/reader/full/vb-60-project-fp2005-ver10 1/17 Education and Research Department Project Specification for Visual Basic 6.0 Mar 2005 Document No. Authorized By Ver. Revision Signature / Date ER/CORP/CRS/WN12/006 Dr Ravindra M. P. Ver. 2.0 COMPANY CONFIDENTIAL
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Infosys Project Specification for Visual Basic 6.0
ER/CORP/CRS/WN12/006 Version 2.0 1
Login
Customer Manager Staff
Transactions carried out byManager
1 Adding a Customer 2 Editing a Customer 3 Deleting a Customer 4 Adding an Account
5 Editing an Account6 Deleting an Account7 Deposit8 Withdraw9 Fund Transfer 10 Change Password11 Balance Enquiry12 Mini Statement13 Customized Statement
Transactions carried outby Staff
1 Add a Customer 2 Adding an Account3 Deposit4 Withdraw5 Fund Transfer 6 Change Password
7 Balance Enquiry8 Mini Statement9 Customized Statement10 Add a Locker 11 Record Locker Operations12 Report on Locker Operations
Transactions carriedout by Customer
1 Fund Transfer 2 Change Password3 Balance Enquiry4 Mini Statement5 Customized
Infosys Project Specification for Visual Basic 6.0
Background
This document contains the high level design of the project that has to be executed in order to
complete the course VB 6.0.
This project is the Login and Staff part of Automation of Infy Bank.
1 Business Requirements
The following are the business requirements for this project.
Sl Requirement
1 Login Screen
2 Add, Delete and Modify Customer Details
3 Add Account Details
4 Deposit5 Withdrawal
6 Fund Transfer
7 Balance Enquiry
8 Change Password
2 Best Practices• Use the prefixes and guidelines recommended. The prefix should be in lower case and
the name that follows it will start in upper case..A name may consist of different parts;e.g. txtCustName. Start each part of a name with an upper case character.
•
Programmer defined names should be functionally meaningful, and should indicate the purpose of the variable/control/function in question
• Initialize the maxlength property of TextBoxes which expect string input from the
user. While this may be set at design time, it is advisable to set it at runtime (during
form_load) by using the length of the variable which will eventually hold the input.
• Set the position of the form to be displayed. It can be done using the Form Layout
window of the Visual Basic editor
• Variables
o All variables MUST be declared before use.
o Place all variable declaration statements (the Dim and Static statements) at the
beginning of a function, subroutine or an event procedure even though Visual
Basic allows you to do otherwise..All variable declarations should beaccompanied by a short, useful description.
Dim intCounter as integer ‘*** Scratch Pad variable for use in the for loop.
o Initialize variable explicitly
o UnInitialize the object after use
o Use Static variable only if necessary
o Start all array subscripts in the project with the same value.
Infosys Project Specification for Visual Basic 6.0
o Floating Point Comparisons. Do not compare two floating point (single or
double) variables directly, using the equality operator. Define your own
floating point comparison function to do the job.
o
• Anticipate and handle runtime errors gracefully. A meaningful message must be
displayed to the user, and the application should be terminated after proper cleanupError handling must be taken care of in all event procedures also where errors are
expected.
• Avoid Use of End
Whenever an error condition warrants the termination of the program, call a suitable
global function which will perform clean up operations and end the application. Thus,
there is a single point of abnormal exit from the application
• Statement at the same nesting level must be at the same indentation level.
• A Select Case should always have a Case Else statement to handle unforeseen
conditions.
• Avoid Use of SetFocus/LostFocus for Field Level Validation.Avoid validating data in
a control on the LostFocus event of the control.
• Avoid “Jumping” of Forms and Controls
• A menu structure with more than three levels is not recommended.
• Comments must be added whenever it is not easy for another programmer to
understand the operation of a segment of code, or if unusual, tricky or unconventional
techniques have been used in the source.Comments must be succinct, concise, and grammatically correct. Comments should be
clear to the reader. They should be used to add semantic information beyond what is
expressible with the programming language.
3 Forms CreationCreate an ActiveX DLL with following functionalities
• Login Validation
• Deposit :- A staff member should be able to update an account with an amount that is
deposited to the account.
• Withdrawal :- A staff member should be able to update an account with an amount that is
withdrawn from an account.
• Balance Enquiry : A staff member should be allowed to see the balance of any amount that
is registered with the bank.
This module is used to create forms for entering data. To get more information about database andtables, refer to the Oracle Project.