You are on page 1of 151

External Mark Management System Page 1

1.1 Introduction
The “UBUS (undergraduate Bangalore University Software)” is the department to
provide an automation to the management of the external marks provided to the
student by the teacher.
The purposed Application will not only automate the marks process but it will also
help to avoid the mistakes or error made by the human hands.
The proposed application will also help to manage the penalty changes by the
university. The application will make the external mark process much transparent and
much easier and reduce the paper work.
1.2 Existing system
In the existing system the marks are written manually, even the percentage of the
student’s attendance are stored manually on the paper.
Disadvantage:
• It increases the paperwork and complexity of the work.
• There is no transparency of the process.
• There are chances of error in the process.
• It is time consuming and slow process.

To avoid all these limitations and make the working fast and accurate the system need
to be automated.
1.3 Proposed System
The aim of the proposed system is to provide facilities that can overcome all the
limitation of the existing system.
The proposed system aims to reduce the manual work and provide a secure
environment.
Advantage of the Proposed System
The System is very simple and the design is also simple to be implemented.
The system required very low system resources and the system will work on almost
all configurations.
The feature of the system
• Greater efficiency
• Ensure data accuracy’s
• Minimize manual data entry
• Minimize time needed for various processes

Department of Computer Science & Applications


External Mark Management System Page 2

• User friendliness and interactive


• Minimize time required
1.4 Aims and Overview
This project is aimed to developing an Offline External Mark Management System.
The entire project has been developed keeping the view of Security and Automation,
in mind. It is created to store all the information about Student, Teacher, Subjects,
Departments and Mark of the Students. Through this application any department can
be well managed and the records of students and teacher can be printed easily with
one click. As a security proposed software, each and every Department has its
separate registration form and the records can only be accessed after complete
verification.
Admin is the main authority who can do addition, deletion and modification if
required.

Department of Computer Science & Applications


External Mark Management System Page 3

1.5 Module of the Application


1)Admin
• Login
• Sign up

2) Input Design
• Student details
• Assignment details
• Exam mark details
• Class attendance details
• Behavioral mark details

3) Object
• Data grids
• Edit menu
• Calculation

4) Output design
• WordPad output screen
• Hard copy output reference
• Automatic calculation method

Department of Computer Science & Applications


External Mark Management System Page 4

1.6 Description of the modules


1. Home page
Home page consists sub modules of company logo, login bar and sign up box
with same instruction and info about the company and helpline support.

2. Input Page
After the login, the control unit will be passed to the main page which will be
in the form of the mdi form with the company name on the top. There will be
option to perform or use different features of the project. It will show case
different option such as student details input, teacher info input, course info
input, subject info input.

3. Objective
Objective will be the main part of the system from where the customer can
review the program of every individual in the data base in the form of Data
Grid, Profile edit and in tabular form. It will also consist a calendar which will
track the data of assignment and exam.

4. Output design
Output design will be also designed using MDI form which provide functions
and features like. View the output button, print the output, review the output.
The output will be generated automatically thus it will prevent errors and will
be able to complete the task in the matter of seconds.

Department of Computer Science & Applications


External Mark Management System Page 5

2.1 Hardware Requirement

Processor 2.5 GHz

RAM 2 GB

Hard Disk 10 GB

2.2 Software Requirement

Operating System Windows, Linux, Mac Server

Runtime Environment Visual Basic 6.0

Front End Visual Basic 6.0

Back End SQL Server 2008

Department of Computer Science & Applications


External Mark Management System Page 6

2.3 All About Visual Basic 6.0


VISUAL BASIC is a high level programming language evolved from the earlier DOS
version called BASIC. BASIC stands for Beginners' All-purpose Symbolic Instruction
Code. The program codes in Visual Basic resemble the English language. Different
software companies produce different versions of BASIC, such as Microsoft
QBASIC, QUICKBASIC, GWBASIC, and IBM BASICA and so on.
A Brief History of Basic
B (Beginner's)
A (All-Purpose)
S (Symbolic)
I (Instruction)
C (Code)
• Answer to complicated programming languages (FORTRAN, Algol, Cobol ...).
First timeshare language.
• In the mid-1970's, two college students write first Basic for a microcomputer
(Altair) - cost $350 on cassette tape. You may have heard of them: Bill Gates
and Paul Allen!
• Every Basic since then essentially based on that early version.
GW-Basic, QBasic, QuickBasic.
• Visual Basic was introduced in 1991.

VISUAL BASIC is a VISUAL and events driven Programming Language. These


are the main divergences from the old BASIC. In BASIC, programming is done in a
text-based environment and the program is executed sequentially. In VISUAL
BASIC, programming is done in a graphical environment.
Visual Basic is event-driven because users may click on a certain object randomly, so
each object has to be programmed independently to be able to response to those
actions (events). Examples of events are clicking a command button, entering text into
a text box, selecting an item in a list box etc. Therefore, a VISUAL BASIC Program
is made up of many subprograms; each with its own program code which can be
executed independently and at the same time can be linked together in one way or
another.

Department of Computer Science & Applications


External Mark Management System Page 7

Some Features of Visual Basic


 Full set of objects - you 'draw' the application
 Lots of icons and pictures for your use
 Response to mouse and keyboard actions
 Clipboard and printer access
 Full array of mathematical, string handling, and graphics functions
 Can handle fixed and dynamic variable and control arrays
 Sequential and random access file support
 Useful debugger and error-handling facilities
 Powerful database access tools
 ActiveX support
 Package & Deployment Wizard makes distributing your applications simple

Data Grid
Data Grid is another Visual Basic control that can be used to display data. Data Grid
control can be used to display the entire table of a record set of a database. Besides
that, it allows users to view and edit data.

Data Environment
The Data Environment (DE) in Microsoft Visual InterDev 6.0 collects your data
connection and data manipulation code in one place. The Data Environment provides
a standard interface for creating data-related objects and for placing them on Web
pages. It also provides a layer of abstraction, allowing you to create and modify
objects that represent your data independently of the database.
The Data Environment is a new object-based wrapper around ActiveX Data Objects
(ADO) and is used in both Visual InterDev 6.0 and Microsoft Visual Basic 6.0. The
consistency of using the Data Environment in both Visual InterDev and Visual Basic
makes developing applications in either environment easy. Moving from Visual
InterDev to Visual Basic, and vice versa, also becomes easier. This integration is
likely to increase as we see new versions of Microsoft development tools in Visual
Studio.
The Visual InterDev 6.0 Data Environment is created automatically when a data
connection is added to a project. The Data Environment folder is displayed beneath
the global.asa file in Project Explorer. Any data connections you add are displayed in
the Data Environment folder.
Using the Data Environment is the easiest way to create data-driven web pages. You
can create data command objects that live at the DE level in your project and can be
used by any ASP file in the project. You don't have to continually re-create a Record
set control on different ASP Web pages for the same set of records as we did in

Department of Computer Science & Applications


External Mark Management System Page 8

Visual InterDev 1.0. Now you can create a data command object once and use it to
quickly create Record set controls by dropping them into an ASP file in the editor.
Data-bound design-time controls (DTCs) are the basic building blocks for connecting
to databases and displaying data on your Web pages. The Data Environment allows
you to create and manage all your DTCs in one location. You don't need to create new
controls for each Web page, and you need to create controls for the same set of
records only once. Because your database code can be used repeatedly, building,
debugging, and maintaining applications is much easier.
A useful feature of the DE is the variety of drag-and-drop options
 Drag objects from the Data Environment and drop them into an ASP file to
automatically create data-bound DTCs
 Drag the fields from a data command object's record set and drop them onto
an ASP Web page to automatically create data-bound DTCs
 Drag a table from Data View and drop it into an ASP file under a Record set
DTC created from dragging and dropping a data command object onto the
page.

Introduction to data report

Helps you design a report that displays fields and records from the underlying table or
query.
A report is an effective way to present data in a printed format. You can display the
information the way you want to see it
You create the report using graphical object called Data report designer controls. Data
report designer controls. Include: a data-bound Textbox control, a function control
which displays calculated figures, and Image control for inserting graphics, labels that
display captions, and a line and a shape control that graphically organizes the data.
Although the data report designer controls are similar to Visual Basic intrinsic
controls, data repot designer controls have a limited subset of features. When the Data
report designer is added to a project, the designer’s controls are placed in the Visual
Basic toolbox on a new tab named data report and can be used only in the Microsoft
data report.
Creating repots is a main function of any good business application. A system might
have useful, data, but without a coherent way to present it, the numbers are
meaningless. So, Microsoft provides a Data Report designer. Which is used to
generate eye catching reports. It is used in conjunction with a data source such as the
data environment designer.
The Data Report generates reports using records from database. To use it.
Configure a data source, such as the Microsoft data environment, to access a database.

Department of Computer Science & Applications


External Mark Management System Page 9

 set the Data member property of the data report object to a data member.
 set the data member property of the Data Report.
 Right click the designer and click retrieve structure,
 Add appropriate controls to the appropriate sections.
 Set the data member and Data field properties for each control.
 At run time, use the show method to display the data report.
Use the data report object to programmatically change the appearance and behavior of
the data report by changing the layout of each section object.
The data report designer also features the ability to export reports using the export
report method. This method allows you specify an export format object, from the
export formats collection, to use as a template for the report.

Department of Computer Science & Applications


External Mark Management System Page 10

2.4 All About SQL Server 2008 R2

SQL Server is a relational database management system developed by Microsoft.


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

Microsoft markets at least a dozen different editions of Microsoft SQL Server,


aimed at different audiences and for workloads ranging from small single-machine
applications to large Internet-facing applications with many concurrent users.

History

The history of Microsoft SQL Server begins with the first Microsoft SQL Server
product—SQL Server 1.0, a 16-bit server for the OS/2 operating system in 1989—
and extends to the current day.

Milestones

• MS SQL Server for OS/2 began as a project to port Sybase SQL Server onto
OS/2 in 1989, by Sybase, Ashton-Tate, and Microsoft.
• SQL Server 4.2 for NT is released in 1993, marking the entry onto Windows
NT.
• SQL Server 6.0 is released in 1995, marking the end of collaboration with
Sybase; Sybase would continue developing their own variant of SQL Server,
Sybase Adaptive Server Enterprise, independently of Microsoft.
• SQL Server 7.0 is released in 1998, marking the conversion of the source code
from C to C++.
• SQL Server 2005, released in 2005, finishes the complete revision of the old
Sybase code into Microsoft code.
• SQL Server 2017, released in 2017, adds Linux support for these Linux
platforms: Red Hat Enterprise Linux, SUSE Linux Enterprise Server, Ubuntu
& Docker Engine.

Currently

As of July 2019, the following versions are supported by Microsoft:

Department of Computer Science & Applications


External Mark Management System Page 11

• SQL Server 2012


• SQL Server 2014
• SQL Server 2016
• SQL Server 2017
From SQL Server 2016 onward, the product is supported on x64 processors only.
The current version is Microsoft SQL Server 2017, released October 2, 2017. The
RTM version is 14.1709.3807.1.
SQL Server 2019 has been released as a community technology preview and is
slated for release to manufacturing in the second half of 2019.

Architecture

The protocol layer implements the external interface to SQL Server. All operations
that can be invoked on SQL Server are communicated to it via a Microsoft-defined
format, called Tabular Data Stream (TDS). TDS is an application layer protocol,
used to transfer data between a database server and a client. Initially designed and
developed by Sybase Inc. for their Sybase SQL Server relational database engine
in 1984, and later by Microsoft in Microsoft SQL Server, TDS packets can be
encased in other physical transport dependent protocols, including TCP/IP, named
pipes, and shared memory. Consequently, access to SQL Server is available over
these protocols. In addition, the SQL Server API is also exposed over web
services.

Data storage

Data storage is a database, which is a collection of tables with typed columns. SQL
Server supports different data types, including primitive types such as Integer,
Float, Decimal, Char (including character strings), Varchar (variable length
character strings), binary (for unstructured blobs of data), Text (for textual data)
among others. The rounding of floats to integers uses either Symmetric Arithmetic
Rounding or Symmetric Round Down (fix) depending on arguments: SELECT
Round (2.5, 0) gives 3.

Microsoft SQL Server also allows user-defined composite types (UDTs) to be


defined and used. It also makes server statistics available as virtual tables and
views (called Dynamic Management Views or DMVs). In addition to tables, a
database can also contain other objects including views, stored procedures, indexes
and constraints, along with a transaction log. A SQL Server database can contain a
maximum of 231 objects, and can span multiple OS-level files with a maximum
file size of 260 bytes (1 Exabyte). The data in the database are stored in primary
data files with an extension .mdf. Secondary data files, identified with a .ndf
extension, are used to allow the data of a single database to be spread across more
than one file, and optionally across more than one file system. Log files are
identified with the .ldf extension.

Department of Computer Science & Applications


External Mark Management System Page 12

Storage space allocated to a database is divided into sequentially numbered pages,


each 8 KB in size. A page is the basic unit of I/O for SQL Server operations. A
page is marked with a 96-byte header which stores metadata about the page
including the page number, page type, free space on the page and the ID of the
object that owns it. Page type defines the data contained in the page: data stored in
the database, index, allocation map which holds information about how pages are
allocated to tables and indexes, change map which holds information about the
changes made to other pages since last backup or logging, or contain large data
types such as image or text. While page is the basic unit of an I/O operation, space
is actually managed in terms of an extent which consists of 8 pages. A database
object can either span all 8 pages in an extent ("uniform extent") or share an extent
with up to 7 more objects ("mixed extent"). A row in a database table cannot span
more than one page, so is limited to 8 KB in size. However, if the data exceeds 8
KB and the row contains varchar or varbinary data, the data in those columns are
moved to a new page (or possibly a sequence of pages, called an allocation unit)
and replaced with a pointer to the data.

Full Text Search Service

SQL Server Full Text Search service is a specialized indexing and querying
service for unstructured text stored in SQL Server databases. The full text search
index can be created on any column with character based text data. It allows for
words to be searched for in the text columns. While it can be performed with the
SQL LIKE operator, using SQL Server Full Text Search service can be more
efficient. Full allows for inexact matching of the source string, indicated by a Rank
value which can range from 0 to 1000—a higher rank means a more accurate
match. It also allows linguistic matching ("inflectional search"), i.e., linguistic
variants of a word (such as a verb in a different tense) will also be a match for a
given word (but with a lower rank than an exact match). Proximity searches are
also supported, i.e., if the words searched for do not occur in the sequence they are
specified in the query but are near each other, they are also considered a match. T-
SQL exposes special operators that can be used to access the FTS capabilities.

SQLCMD

SQLCMD is a command line application that comes with Microsoft SQL Server,
and exposes the management features of SQL Server. It allows SQL queries to be
written and executed from the command prompt. It can also act as a scripting
language to create and run a set of SQL statements as a script. Such scripts are
stored as a .sql file, and are used either for management of databases or to create
the database schema during the deployment of a database.
SQLCMD was introduced with SQL Server 2005 and has continued through SQL
Server versions 2008, 2008 R2, 2012, 2014, 2016 and 2019. Its predecessor for
earlier versions was OSQL and ISQL, which were functionally equivalent as it
pertains to TSQL execution, and many of the command line parameters are
identical, although SQLCMD adds extra versatility.

Department of Computer Science & Applications


External Mark Management System Page 13

Visual Studio

Microsoft Visual Studio includes native support for data programming with
Microsoft SQL Server. It can be used to write and debug code to be executed by
SQL CLR. It also includes a data designer that can be used to graphically create,
view or edit database schemas. Queries can be created either visually or using
code. SSMS 2008 onwards, provides intelligence for SQL queries as well.

SQL Server Management Studio

SQL Server Management Studio is a GUI tool included with SQL Server 2005 and
later for configuring, managing, and administering all components within
Microsoft SQL Server. The tool includes both script editors and graphical tools
that work with objects and features of the server. SQL Server Management Studio
replaces Enterprise Manager as the primary management interface for Microsoft
SQL Server since SQL Server 2005. A version of SQL Server Management Studio
is also available for SQL Server Express Edition, for which it is known as SQL
Server Management Studio Express (SSMSE).

A central feature of SQL Server Management Studio is the Object Explorer, which
allows the user to browse, select, and act upon any of the objects within the server.
It can be used to visually observe and analyze query plans and optimize the
database performance, among others. SQL Server Management Studio can also be
used to create a new database, alter any existing database schema by adding or
modifying tables and indexes, or analyze performance. It includes the query
windows which provide a GUI based interface to write and execute queries.

SQL Server Operations Studio

SQL Server Operations Studio (Preview) is a cross platform query editor available
as an optional download. The tool allows users to write queries; export query
results; commit SQL scripts to GIT repositories and perform basic server
diagnostics. SQL Server Operations Studio supports Windows, Mac and Linux
systems.

It was released to General Availability in September 2018, at which point it was


also renamed to Azure Data Studio. The functionality remains the same as before.
Features and Tools Overview (SQL Server 2008)
SQL Server contains a variety of features and tools that you can use to develop and
manage your databases and solutions.

SQL Server Studios Overview

Department of Computer Science & Applications


External Mark Management System Page 14

SQL Server contains "studios" to help you with development and management
tasks: SQL Server Management Studio and Business Intelligence Development
Studio. In Management Studio, you develop and manage SQL Server Database
Engine and notification solutions, manage deployed Analysis Services solutions,
manage and run Integration Services packages, and manage report servers and
Reporting Services reports and report models. In BI Development Studio, you
develop business intelligence solutions using Analysis Services projects to develop
cubes, dimensions, and mining structures; Reporting Services projects to create
reports; the Report Model project to define models for reports; and Integration
Services projects to create packages.

SQL Server Profiler Reference

SQL Server Profiler is a tool that captures SQL Server events from a server. The
events are saved in a trace file that can later be analyzed or used to replay a
specific series of steps when trying to diagnose a problem.
SQL Server Configuration Manager
SQL Server Configuration Manager is a tool to manage the services associated
with SQL Server, to configure the network protocols used by SQL Server, and to
manage the network connectivity configuration from SQL Server client computers.

Database Engine Tuning Advisor Overview

SQL Server Database Engine Tuning Advisor helps you select and create an
optimal set of indexes, indexed views, and partitions without requiring an expert
understanding of the structure of the database or the internals of SQL Server.

Command Prompt Utilities

SQL Server provides additional tools that can be run from the command prompt.
Initial Installation (SQL Server 2008)
The SQL Server Installation Wizard provides a single feature tree to install all
SQL Server components:
• The Database Engine
• Analysis Services
• Reporting Services
• Integration Services
• Management tools
• Documentation

SQL Server is available in 32-bit and 64-bit editions.

Regardless of whether you use the SQL Server Installation Wizard or the
command prompt to install SQL Server, Setup involves the following steps:

Department of Computer Science & Applications


External Mark Management System Page 15

• Planning a SQL Server Installation

Describes how to prepare your computer for SQL Server:


 Hardware and software requirements.
 System Configuration Checker requirements and blocking issues.
 Security considerations.
 Installing SQL Server 2008

Describes installation options for SQL Server.

• Configuring SQL Server 2008

Describes tools used to configure SQL Server after installation.

Considerations for Installing SQL Server Samples and Sample Databases


Considerations for Installing SQL Server Samples and Sample Databases
The code samples and sample databases for SQL Server are no longer included
with the product. Instead, you can locate and download the samples and sample
databases from the Microsoft SQL Server Samples and Community Projects Web
site at http://www.codeplex.com/sqlserversamples. In the tables organized by
technology, there are hyperlinks to samples for the SQL Server components and to
the official SQL Server sample databases. These tables also provide links to
samples and projects that are available in the SQL Server community.

Updating the Location for the .NET Framework CLR Samples

Before you compile Microsoft .NET Framework common language runtime (CLR)
samples for SQL Server, verify that the path of the version of the .NET Framework
compiler is the first Framework directory in the PATH environment variable. The
location of the compiler that is shipped with this release of SQL Server is C:\
<Windows root directory>\Microsoft.NET\Framework\v2.0.x. Drive C is the
installation drive, <Windows root directory> is either Windows or WINNT, and x
is five digits.

Getting Started with SQL Server Books Online

Getting Started with SQL Server Books Online

SQL Data Developer

Use Microsoft's SQL data platform to create data-centric solutions across mobile
devices and desktops for web servers, enterprise servers, and the cloud.

SQL Data storage

Department of Computer Science & Applications


External Mark Management System Page 16

• SQL Server Database Engine: Use the SQL Server Database Engine to
create relational databases for online transaction processing or online
analytical processing data.
• SQL Azure: Use SQL Azure to move your database to the cloud
• SQL Compact: SQL Server Compact to build standalone and occasionally
connected applications for mobile devices, desktops, and Web clients.
• Local DB: Use Local DB during development to write and test Transact-
SQL code without having to manage a full server instance of SQL Server.

SQL Data tools

• SQL Server Data Tools: Use SSDT to build relational databases, Azure
SQL databases, Integration Services packages, Analysis Services data models,
and Reporting Services reports.
• SQL Server Management Tools: Use SSMS configure, monitor, and
administer instances of SQL Server.

SQL Data access

• SQL Client Drivers: Use SQL drivers to connect, query, update, insert, or
delete data from a SQL database.
• Entity Framework: Use the Entity Framework to easily access databases
using LINQ, with direct access to SQL Server and the option to control the
mapping between an Entity Data Model (EDM) and raw relational structures.
• Windows Communication Foundation (WCF): Use Data Services for a
near-turnkey solution to easily create and consume OData services on both the
web and intranet
• Sync Framework: Use the Sync Framework to enable offline access to any
data type, any data store, any transfer protocol, and any network topology.
• Reactive Extensions: Use the Reactive Extensions (Rx) to perform event
stream programming and simplify asynchronous programming using
observable sequences and LINQ-style query operators. Use the Reactive
Extensions for JavaScript (RxJS) to simplify asynchronous callback-based and
event-driven programming on the web using observable sequences.
• CLR Integration: Use CLR Integration to write stored procedures, triggers,
user-defined types, user-defined functions, user-defined aggregates, and
streaming table-valued functions, using any .NET Framework language,
including Microsoft Visual Basic .NET and Microsoft Visual C#.
• SQLXML 4.0: Use SQLXML 4.0 to export relational data to XML.

Data collection, processing, and visualization

Department of Computer Science & Applications


External Mark Management System Page 17

• Analysis Services
• Integration Services
• Master Data Services
• Replication Services
• Reporting Services
• Service Broker

Language used for SQL Queries

The SQL queries are divided in several parts; each parts consists of group of
commands which is used for different functions in SQL. They are:

• DML (Data Modification Language)


• DDL (Data Definition Language)
• DCL (Data Control Language)
• TCL (Transaction Control Language)

DML (Data Modification Language)

DML is abbreviation of Data Manipulation Language. It is used to retrieve, store,


modify, delete, insert and update data in database.

SELECT – Retrieves data from a table


INSERT - Inserts data into a table
UPDATE – Updates existing data into a table
DELETE – Deletes all records from a table

DDL (Data Definition Language)

DDL is abbreviation of Data Definition Language. It is used to create and modify


the structure of database objects in database.

CREATE – Creates objects in the database


ALTER – Alters objects of the database
DROP – Deletes objects of the database
TRUNCATE – Deletes all records from a table and resets table identity to initial
value.

DCL (Data Control Language)

Department of Computer Science & Applications


External Mark Management System Page 18

DCL is abbreviation of Data Control Language. It is used to create roles,


permissions, and referential integrity as well it is used to control access to database
by securing it.

GRANT – Gives user's access privileges to database


REVOKE – Withdraws user's access privileges to database given with the
GRANT command

TCL (Transaction Control Language)

TCL is abbreviation of Transactional Control Language. It is used to manage


different transactions occurring within a database.

COMMIT – Saves work done in transactions


ROLLBACK – Restores database to original state since the last COMMIT
command in transactions
SAVE TRANSACTION – Sets a save point within a transaction
SQL Queries
The most commonly used SQL keyword is SELECT, it is used together with the
keyword FROM to select information from one or more tables from a database.

The syntax is:


SELECT fieldname1, fieldname2,.....,fieldnameN FROM TableName
fieldname1, fieldname2,......fieldnameN are headings of the columns from a
table of a database. You can select any number of fieldname in the query. If
you wish to select all the information, you can use the following syntax:
SELECT * FROM TableName

SQL: create command

create is a DDL SQL command used to create a table or a database in relational


database management system.

Creating a Database

To create a database in RDBMS, create command is used. Following is the syntax,


CREATE DATABASE <DB_NAME>;

SQL: ALTER command

Department of Computer Science & Applications


External Mark Management System Page 19

alter command is used for altering the table structure, such as,
• to add a column to existing table
• to rename any existing column
• to change datatype of any column or to modify its size.
• to drop a column from the table.

ALTER Command: Add a new Column

Using ALTER command, we can add a column to any existing table. Following is
the syntax,

ALTER TABLE table_name ADD (column_name datatype);

DROP command

DROP command completely removes a table from the database. This command
will also destroy the table structure and the data stored in it. Following is its
syntax,

DROP TABLE table_name

INSERT SQL command

Data Manipulation Language (DML) statements are used for managing data in
database. DML commands are not auto-committed. It means changes made by
DML command are not permanent to database, it can be rolled back.
Talking about the Insert command, whenever we post a Tweet on Twitter, the text
is stored in some table, and as we post a new tweet, a new record gets inserted in
that table.

INSERT command

Insert command is used to insert data into a table. Following is its general syntax,

INSERT INTO table_name VALUES (data1, data2, ...)

UPDATE SQL command

Department of Computer Science & Applications


External Mark Management System Page 20

Let's take an example of a real-world problem. These days, Facebook provides an


option for Editing your status update, how do you think it works? Yes, using the
Update SQL command.

Let's learn about the syntax and usage of the UPDATE command.

UPDATE command

UPDATE command is used to update any record of data in a table. Following is its
general syntax,

UPDATE table_name SET column_name = new_value WHERE some_condition;

DELETE SQL command

When you ask any question in Study Tonight’s Forum it gets saved into a table.
And using the Delete option, you can even delete a question asked by you. How do
you think that works? Yes, using the Delete DML command.

The syntax and the usage of the Delete command.


DELETE command
DELETE command is used to delete data from a table.

Following is its general syntax,

DELETE FROM table_name;

WHERE SQL clause

WHERE clause is used to specify/apply any condition while retrieving, updating


or deleting data from a table. This clause is used mostly with SELECT, UPDATE
and DELETE query.

When we specify a condition using the WHERE clause then the query executes
only for those records for which the condition specified by the WHERE clause is
true.

Syntax for WHERE clause

Here is how you can use the WHERE clause with a DELETE statement, or any
other statement,

DELETE FROM table_name WHERE [condition];

LIKE clause

Department of Computer Science & Applications


External Mark Management System Page 21

LIKE clause is used in the condition in SQL query with the WHERE clause. LIKE
clause compares data with an expression using wildcard operators to match pattern
given in the condition.

Wildcard operators

There are two wildcard operators that are used in LIKE clause.
• Percent sign %: represents zero, one or more than one character.
• Underscore sign _: represents only a single character.

Example of LIKE clause

Consider the following Student table.

s_id s_Name age


101 Adam 15
102 Alex 18
103 Abhi 17

SELECT * FROM Student WHERE s_name LIKE 'A%';

Department of Computer Science & Applications


External Mark Management System Page 22

3.1 Software Requirement Specification(SRS)

The software, External Mark Management System is designed for management of


Student’s External Marks and to store the information about Department and
information related to it.

INTRODUCTION

Purpose: The main purpose for preparing this document is to give general insight into
the analysis and requirements of the existing system or situation and for determining
the operating characteristics of the system.

Scope: this document plays a vital role in development life cycle (SDLC) and it
describes the complete requirement of the system. It is meant for use by the
developers and will be the basic during testing phase. Any changes made to the
requirement in the future will have to go through formal change approval process.

DEVELOPER RESPONSIBILITIES OVERVIEW:

The developer is responsible for:

 Developing the system, which meets the SRS and solving all the requirements
of the system?
 Demonstrating the system and installing the system at client's location after
the acceptance testing is successful.
 Submitting the required user manual describing the system interfaces to work
on it and also the documents of the system.
 Conducting any user training that might be needed for using the system.
 Maintaining the system for a period of one year after installation.

3.2 System Components and Characteristics:

Department of Computer Science & Applications


External Mark Management System Page 23

To understand System Analysis, one has to first understand what exactly systems are.
In this session, we explore the meaning of system in accordance with analysts and
designers. This session gives the reader basic concepts and terminology associated
with the Systems. It also gives the overview of various types of systems. In the
broadest sense, a system is simply a set of components that interact to accomplish
some purpose. They are all around us. For example, human body is a biological
system.
We experience physical sensations by means of a complex nervous system, a set of
parts, including brain, spinal cord, nerves, and special sensitive cells under our skin,
that work together to make us feel hot, cold, itchy, and so on.
A big system may be seen as a set of interacting smaller systems known as
subsystems or functional units each of which have its defined tasks. All these work in
coordination to achieve the overall objective of the system. As discussed above, a
system is a set of components working together to achieve some goal.
The basic elements of the system may be listed as:
 Resources
 Procedures
 Data/Information
 Processes
Resources: Every system requires certain resources for the system to exist. Resources
can be hardware, software or live ware, Hardware resources may include the
computer, its peripherals, stationery etc. Software resources would include the
programs running on these computers and the live ware would include the human
beings required to operate the system and make it functional. Thus these resources
make an important component of any system. For instance, a library management
system cannot function without the required books in the database. Such systems also
need computers to maintain their data and trained staff to operate these computers and
cater to the customer requirements.
Procedures: Every system functions under a set of rules that govern the system to
accomplish the defined goal of the system. This set of rules defines the procedures for
the system to Chapter 1-Introduction to Systems operate. For instance, the library
management systems have their predefined rules for providing fine at different rates
for different types of users.
Data/Information: Every system has some predefined goal. For achieving the goal,
the system requires certain inputs, which are converted into the required output. The
main objective of the System is to produce some useful output. Output is the outcome
of processing. Output can be of any nature e.g. goods, services or information.
However, the Output must conform to the customer expectations. Inputs are the
elements that enter the system and produce Output. Input can be of various kind, like
material and information
Processes: The systems have some processes that make use of the resources to
achieve the set goal under the defined procedures. These processes are the operational

Department of Computer Science & Applications


External Mark Management System Page 24

element of the system. For instance, in a Banking System there are several processes
that are carried out. Consider for example the processing of a cheque as a process. A
cheque passes through several stages before it actually gets processed and converted.
These are some of the processes of the Banking system. All these components
together make a complete functional system.

3.3 Existing System:

• It increases the paperwork and complexity of the work.


• There is no transparency of the process.
• There are chances of error in the process.
• It is time consuming and slow process.

3.4 Proposed System:


The aim of the proposed system is to provide facilities that can overcome all the
limitation of the existing system.
The proposed system aims to reduce the manual work and provide a secure
environment.

Advantage of the Proposed System


The System is very simple and the design is also simple to be implemented.
The system required very low system resources and the system will work on almost
all configurations.

The feature of the system


• Greater efficiency
• Ensure data accuracy’s
• Minimize manual data entry

Department of Computer Science & Applications


External Mark Management System Page 25

• Minimize time needed for various processes


• User friendliness and interactive
• Minimize time required

3.5 Feasibility Study:


Preliminary investigation examines project feasibility; the likelihood the system will
be useful to the organization. The main objective of the feasibility study is to test the
Technical, Operational and Economical feasibility for adding new modules and
debugging old running system.
All system is feasible if they are unlimited resources and infinite time. There are
aspects in the feasibility study portion of the preliminary investigation:
 Technical Feasibility
 Operation Feasibility
 Economic Feasibility
 Technical Feasibility
The technical issue usually raised during the feasibility stage of the investigation
includes the following:
 Does the necessary technology exist to do what is suggested?
 Do the proposed equipment’s have the technical capacity to hold the data
required to use the new system?
 Will the proposed system provide adequate response to inquiries, regardless of
the number or location of users?
 Can the system be upgraded if developed?
 Are there technical guarantees of accuracy, reliability, ease of access and data
security?
Earlier no system existed to cater to the needs of Secure Infrastructure
Implementation System'. The current system developed is technically feasible. Thus it
provides an easy access to the users.
The database's purpose is to create, establish and maintain a workflow among various
entities in order to facilitate all concerned users in their various capacities or roles.
Permission to the users would be granted based on the roles specified. Therefore, it
provides the technical guarantee of accuracy, reliability and security.

Department of Computer Science & Applications


External Mark Management System Page 26

The software and hard requirements for the development of this project are not many
and are already available in-house at NIC or are available as free as open source. The
work for the project is done with the current equipment and existing software
technology. Necessary bandwidth exists for providing a fast feedback to the users
irrespective of the number of users using the system.
Operational Feasibility:
Proposed projects are beneficial only if they can be turned out into information
system. That will meet the organization's operating requirements. Operational
feasibility aspects of the project are to be taken as an important part of the project
implementation.

Some of the important issues raised are to test the operational feasibility of a project
includes the following:
 Is there sufficient support for the management from the users?
 Will the system be used and work properly if it is being developed and
implemented?
 Will there be any resistance from the user that will undermine the possible
application benefits?
This system is targeted to be in accordance with the above- mentioned issues.
Beforehand, the management issues and user requirements have been taken into
consideration. So there is no question of resistance from the users that can undermine
the possible application benefits.
The well-planned design would ensure the optimal utilization of the computer
resources and would help in the improvement of performance status.
Economic Feasibility
A system can be developed technically and that will be used if installed must still be a
good investment for the organization. In the economic feasibility, the development
cost in creating the system is evaluated against the ultimate benefit derived from the
new systems. Financial benefits must equal or exceed the costs.
The system is economically feasible. It does not require any addition hardware or
software. Since the interface for this system is developed using existing resources and
technologies available in Visual Basic 6.0. There is nominal expenditure and
economic feasibility for certain.

Department of Computer Science & Applications


External Mark Management System Page 27

4.1 SYSTEM DESIGN


INTRODUCTION
Design is the first step into the development phase for any engineered product or
system. Design is a creative process. A good design is the key to effective system.
The term “Design” is defined as “the process of applying various techniques and
principles for the purpose of defining a process or system in sufficient detail to permit
its physical realization”. It may be defined as a process of applying various techniques
and principles for the purpose of defining device, a process or a system in sufficient
detail to permit its physical realization. Software design sits at the technical kernel of
the software engineering process and is applied regardless of the development
paradigm that is used. The system design develops the architectural detail required to
build a system or product.
As in the case of any systematic approach, this software too has undergone the best
possible design phase fine tuning all efficiency, performance and accuracy levels. The
design phase is a transition from a user oriented document to a document to the
programmers or database personnel. System design goes through two phases of
development: Logical and physical Design.

4.2 LOGICAL DESIGN


The logical flow of a system and define the boundaries of a system. It includes the
following steps:
 Reviews the current physical system – its data flows, file content, volumes,
frequencies etc.
 Prepares output specifications – that is, determines the format, content and
frequency of reports.
 Prepares input specifications- format, content and most of the input functions.
 Prepares edit, security and control specifications.

Department of Computer Science & Applications


External Mark Management System Page 28

 Specifies the implementation plan.


 Prepares a logical design walk through of the information flow, output, input,
controls and implementation plan.
 Reviews benefits, cost, target, dates and system constraints.

4.3 PHYSICAL DESIGNS


Physical system produces the working systems by define the design specifications that
tell the programmers exactly what the candidate system must do.
It includes the following steps.
 Design the physical system.
 Specify input and output media.
 Design the database and specify backup procedures.
 Design physical information flow through the system and a physical design
walk through.
 Plan system implementation.
 Prepare a conversion schedule and target date.
 Determine training procedures, course and timetable.
 Devise a test and implementation plan and specify any new
hardware/software.
 Update benefits, cost, conversion data and system constraints.
Design/specification activities:
 Concept formulation.
 Problem understanding.
 High level requirements proposals.
 Feasibility study.
 Requirements engineering.
 Architectural design.

4.4 MODULE DESIGN


ADMIN
The Administrator logs in using the admin login. In this module two operations are
done. During login the Login and Password is verified with that in the database.
INPUT DESIGN
The design of input focuses on controlling the amount of input required, controlling
the errors, avoiding delay, avoiding extra steps and keeping the process simple. The
input is designed in such a way so that it provides security and ease of use with
retaining the privacy. Input Design considered the following things:

Department of Computer Science & Applications


External Mark Management System Page 29

 What data should be given as input?


 How the data should be arranged or coded?
 The dialog to guide the operating personnel in providing input.
 Methods for preparing input validations and steps to follow when error occur.

OBJECTIVES
Input Design is the process of converting a user-oriented description of the input into
a computer-based system. This design is important to avoid errors in the data input
process and show the correct direction to the management for getting correction
information from the computerized system.
It is achieved by creating user-friendly screens for the data entry to handle large
volume of data. The goal entry screen is designed in such a way that all the data
manipulates can be performed. It also provides record viewing facilities.
When the data is entered it will check for its validity. Data can be entered with the
help of screens. Appropriate messages are provided as when needed as that the user
will not be in a maize of instant. Thus the objective of input design is to create an
input layout that is easy to follow.
OUTPUT DESIGN
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output. It is the most important
and direct source information to the user. Efficient and intelligent output design
improves the system`s relationship to help user decision-making.
Designing computer output should proceed in an organized, well thought out manner;
the right output must be developed while ensuring that each output element is
designed so that people will find the system can use easily and effectively. When
analysis designs computer output, they should:

 Identity the specific output that is needed to meet the requirements.


 Select methods for presenting information.

Department of Computer Science & Applications


External Mark Management System Page 30

 Create document, report, or other formats that contain information produced


by the system.

4.5 DATABASE DESIGN


A database is an organized mechanism that has the capability of storing information
through which a user can retrieve stored information in an effective and efficient
manner. The data is the purpose of any database and must be protected.
The database design is a two level process. In the first step, user requirements are
gathered together and a database is designed which will meet these requirements as
clearly as possible. This step is called Information Level Design and it is taken
independent of any individual DBMS.

In the second step, this information level design is transferred into a design for the
specific DBMS that will be used to implement the system in question. This step is
called Physical Level Design, concerned with the characteristics of the specific
DBMS that will be used. A database design runs parallel with the system design. The
organization of the data in the database is aimed to achieve the following two major
objectives.
 Data Integrity
 Data independence
Normalization is the process of decomposing the attributes in a n application, which
results in a set of tables with very simple structure. The purpose of normalization is to
make tables as possible. Normalization is carried out in this system for the following
reasons.

Department of Computer Science & Applications


External Mark Management System Page 31

 To structure the data so that there is no repetition of data, this helps in saving.
 To permit simple retrieval of data in response to query and report request.
 To simplify the maintenance of the data through updates, insertions, deletions.
 To reduce the need to restructure or reorganize data which new application
requirements arise.

RELATIONAL DATABASE MANAGEMENT SYSTEM (RDBMS):


A relational model represents the database as a collection of relations. Each relation
resembles a table of values or file of records. In formal relational model terminology,
a row is called a tuple, column header is called an attribute and the table is called a
relation. A relational database consists of a collection of tables, each of which is
assigned a unique name. a row in a tale represents a set of related values.

RELATIONS, DOMAINS & ATTRIBUTES:


A table is a relation. The rows in a table are called Tuples. A tuple is an ordered set of
elements. Columns are referred to as attributes. Relationships have been set between
every table in the database. This ensures both Referential and Entity Relationship
Integrity. A domain D is a set of atomic values. A common method of specifying a
domain is to specify a data type from which the data values forming the domain are
drawn. It is also useful to specify a name for the domain to help in interpreting its
values. Every value in a relation is atomic, that is not decomposable.

RELATIONSHIPS:
Table relationships are established using Key. The two main keys of prime
importance are Primary Key & Foreign Key. Entity Integrity and Referential Integrity
Relationships can be established with these keys. Entity Integrity enforces that no
Primary Key can have null values. Referential Integrity enforces that no Primary Key
can have null values. Referential Integrity for each distinct Foreign Key value, there
must exist a matching Primary Key value in the same domain. Other key are Super
Key and Candidate Keys. Relationships have been set between every table in the
database. This ensures both Referential and Entity Relationship Integrity.
NORMALIZATION:
As the name implies, it denoted putting things in the normal form. The application
developer via normalization tries to achieve a sensible organization of data into proper
tables and columns and where names can be easily correlated to the data by the user.
Normalization eliminates repeating groups at data and thereby avoids data redundancy
which proves to be a great burden on the computer resources. This includes:

Department of Computer Science & Applications


External Mark Management System Page 32

 Normalize the data.


 Choose proper names for the tables and columns.
 Choose the proper name for the data.

First Normal Form:


The First Normal Form states that the domain of an attribute must include only atomic
values and that the value of any attribute in a tuple must be a single value from the
domain of that attribute. In other words, INF disallows “relations” or “relations” as
attribute values permitted by INF are single atomic or indivisible values.
The first step is to put the data into First Normal Form. This can be donor by moving
data into separate tables where the data is of similar type in each table. Each table is
given a Primary Key or Foreign Key as per requirement of the project. In this we form
new relations for each non atomic attribute or nested relation. This eliminated
repeating groups of data.
A relation is said to be in first normal form if only if it satisfies the constraints that
contain the primary key only.

Second Normal Form:


According to Second Normal Form, for relations where primary key contains multiple
attributes, non-key attribute should be functionally dependent on apart of the primary
key.
In this we decompose and setup a new relation for each partial key with its depend
attributes. Make sure to keep a relation with the original primary key and any
attributes that are fully functionally dependent on it, this step helps in taking out data
that is only dependent on a part of the key.
A relation is said to be in second normal form if and only if it satisfies all the first
normal form conditions for the primary key and every non-primary key attributes of
the relation is fully dependent on its primary key alone.

Third Normal Form:


According to Third Normal Form, Relation should not have a non-key attribute
functionally determined by another non-key attribute or by a set of non-key attributes.
That is, there should be no transitive dependency on the primary key.
In this we decompose and up relation that includes the non-key attributes that
functionally determines other non-key attributes. This step is taken to get rid of
anything that does not depend entirely on the Primary Key.

Department of Computer Science & Applications


External Mark Management System Page 33

A relation is said to be in third normal form if only if it is in second normal form and
more over the non key attributes of the relation should not be depend on other non-
key attribute.

5.1 Entity Relationship Diagrams (ER-Diagrams)


An entity-relationship (ER) diagram is a specialized graphic that illustrates the
interrelationships between entities in a database. ER diagrams often use symbols to
represent three different types of information. Boxes are commonly used to represent
relationships and ovals are used to represent attributes.
An entity-relationship model (ERM) in software engineering is an abstract and
conceptual representation of data. Entity-relationship modeling is a relational schema
database modeling method, used to produce a type of conceptual schema or semantic
data model of a system, often a relational database, and its requirements in a top-down
fashion.

5.2 Symbols used in this E-R Diagram:

Entity: Entity is a "things" in the real world with an independent existence. An entity
may be an object with a physical existence such as person, car or employee.
Entity symbol is

Department of Computer Science & Applications


External Mark Management System Page 34

Attribute: Attribute is a particular property that describes the entity.


Attribute symbol is:

Relationships: Relationship will be several implicit relationships among various


entity types whenever an attribute of one entity refers to another entity type some
relationship exits
Relationship symbol is:

Key Attributes:

Table -Primary Key

Department of Computer Science & Applications


External Mark Management System Page 35

Link M: N -Cardinality relation

Fields -Relationship

5.2 ER-DIAGRAM:

Department of Computer Science & Applications


External Mark Management System Page 36

5.3 Data Flow Diagram:


A data low diagram is graphical tool used to describe and analyze movement of date
through a system. These are the central tool and the basis from which the other
components are developed. The transformation of data from input to output, through
processed, may be described logically and independently of physical components
associated with the system. These are known as the logical data flow diagrams.
The physical data flow diagrams show the actual implements and movement of data
between people, departments and workstations. A full description of a system actually
consists of a set of data flow diagrams.
Using two familiar notations Yourdon, Gane and Sarson notation develops the data
flow diagrams, each component in a DFD is labeled with a descriptive name. Process
is further identified with a number that will be used for identification purpose.
The development of DFD'S is done in several levels. Each process in lower level
diagrams can be broken down into a more detailed DFD in the next level. The lop-
level diagram is often called context diagram. It consists a single process bit, which
plays vital role in studying the current system. The process in the context level
diagram is exploded into other process at the first level DFD.
The idea behind the explosion of a process into more process is that understanding at
one level of detail is exploded into greater detail at the next level. This is done until
further explosion is necessary and an adequate amount of detail is described for
analyst to understand the process.
Larry Constantine first developed the DFD as a way of expressing system
requirements in a graphical from, this lead to the modular design.
A DFD is also known as a "bubble Chart" has the purpose of clarifying system
requirements and identifying major transformations that will become programs in
system design. So it is the starting point of the design to the lowest level of detail. A
DFD consists of a series of bubbles joined by data flows in the system.

DFD SYMBOLS:
In the DFD, there are four symbols
1. A square defines a source(originator) or destination of system data
2. An arrow identifies data flow. It is the pipeline through which the information
flows
3. A circle or a bubble represents a process that transforms incoming data flow
into outgoing data flows.
4. An open rectangle is a data store, data at rest or a temporary repository of data

Department of Computer Science & Applications


External Mark Management System Page 37

Process that transforms data flow.

Source or Destination of data

Data Flow

Data Store

Department of Computer Science & Applications


External Mark Management System Page 38

SALIENT FEATURES OF DFD'S

1. The DFD shows flow of data, not of control loops and decision are controlled
considerations do not appear on a DPD.
2. The DFD does not indicate the time factor involved in any process whether the
dataflow take place daily, weekly, monthly or yearly.
3. The sequence of events is not brought out on the DFD

TYPES OF DATA FLOW DIAGRAMS


1. Current Physical
2. Current Logical
3. New Logical
4. New Physical

CURRENT PHYSICAL:

In Current Physical DFD process label include the name of people or their positions
or the names of computer systems that might provide some of the overall system-
processing label includes an identification of the technology used to process the data.
Similarly, data flows and data stores are often labels with the names of the actual
physical media on which data are stored such as file folders, computer files, business
forms or computer tapes.

CURRENT LOGICAL:

The physical aspects at the system are removed as much as possible so that the current
system is reduced to its essence to the data and the processors that transform them
regardless of actual physical form.

NEW LOGICAL

This is exactly like a current logical model if the user were completely happy with he
user were completely happy with the functionality of the current system but had
problems with how it was implemented typically through the new logical model will
differ from current logical model while having additional functions, absolute function
removal and inefficient flows recognized.

Department of Computer Science & Applications


External Mark Management System Page 39

NEW PHYSICAL:
The new physical represents only the physical implementation of the new system.

Department of Computer Science & Applications


External Mark Management System Page 40

5.4 DFD DIAGRAM

Level 0:

Fig:1: Login Data Flow Diagram

Fig:2: Sign Up Data Flow Diagram

Department of Computer Science & Applications


External Mark Management System Page 41

Level 1:

Fig:1: User Details Data Flow Diagram

Fig:2: Subject Marks Data Flow Diagram

Department of Computer Science & Applications


External Mark Management System Page 42

Level 2:

Fig:1: Student Details Data Flow Diagram

Fig:2: Form 1 Data Flow Diagram

Department of Computer Science & Applications


External Mark Management System Page 43

Fig:3: Output Result Data Flow Diagram

Department of Computer Science & Applications


External Mark Management System Page 44

6.1 TESTING
Testing is the process of running a system with the intention of finding errors. Testing
enhances the integrity of a system by detecting deviations in design and errors in the
system. Testing aims at detecting error-prone areas. This helps in the prevention of
errors in a system.
Testing also adds value to the product by confronting to the user requirements. The
main purpose of testing is to detect errors and error-prone areas in the system. Testing
must be thorough and well-planned. A partially tested system is as bad as an untested
system. And the price of an untested and under-tested system is high.
The implementation is the final and important phase. It involves user-training, system
testing in order to ensure successful running of the proposed system. The user tests
the system and changes are made according to their need. The testing involves the
testing of the developed system using various kinds of data. While testing, errors are
noted and correctness is the mode.

6.2 OBJECTIVES OF TESTING

The objectives of testing are:


Testing is a process of executing a program with the intent of finding errors.
A successful test case is one that uncovers an as-yet-undiscovered error.
System testing is a stage of implementation, which is aimed at ensuring that the
system works accurately and efficiently as per the user need, before the live operation
commences. As stated before, testing is vital to the success of a system. System
testing makes a logical.

Department of Computer Science & Applications


External Mark Management System Page 45

7 Snap Shots
Sign Up Failed:

Sign Up Successful:

Department of Computer Science & Applications


External Mark Management System Page 46

Sign in Failed:

Sign in Successful:

Department of Computer Science & Applications


External Mark Management System Page 47

Sign Up with Full Details:

Progress Bar Loading:

Department of Computer Science & Applications


External Mark Management System Page 48

Home Page:

Forgot Password Verification:

Department of Computer Science & Applications


External Mark Management System Page 49

Password Mismatch:

Password Changed Successfully:

Department of Computer Science & Applications


External Mark Management System Page 50

About UBUS:

User Profile Verification Failed:

Department of Computer Science & Applications


External Mark Management System Page 51

User Verification Successful:

User Profile Manage:

Department of Computer Science & Applications


External Mark Management System Page 52

Add Student:

Add Student Failed:

Department of Computer Science & Applications


External Mark Management System Page 53

Student Search Failed:

Student Search Successful:

Department of Computer Science & Applications


External Mark Management System Page 54

Student Manage Failed:

Student Details Search:

Department of Computer Science & Applications


External Mark Management System Page 55

Student Details Updated:

Subject Update Failed:

Department of Computer Science & Applications


External Mark Management System Page 56

Subject Add Successful:

Subject Add Failed:

Subject Search Failed:

Department of Computer Science & Applications


External Mark Management System Page 57

Subject Search Successful:

Subject Search Successful:

Department of Computer Science & Applications


External Mark Management System Page 58

Subject Update Successful:

Teacher Add Successful:

Department of Computer Science & Applications


External Mark Management System Page 59

Teacher Add Failed:

Teacher Search Successful:

Department of Computer Science & Applications


External Mark Management System Page 60

Teacher Search Failed:

Teacher Manage Failed:

Department of Computer Science & Applications


External Mark Management System Page 61

Teacher Manage Successful:

Teacher Data Updated:

Department of Computer Science & Applications


External Mark Management System Page 62

Teacher Verification Failed:

Exam Verification Failed:

Department of Computer Science & Applications


External Mark Management System Page 63

Exam Verification Successful:

Exam Manage:

Department of Computer Science & Applications


External Mark Management System Page 64

Mark Calculation:

Internal Mark Report:

Department of Computer Science & Applications


External Mark Management System Page 65

Student Individual Report:

Student Data Report:

Department of Computer Science & Applications


External Mark Management System Page 66

Subject Data Report:

Teacher Data Report:

Department of Computer Science & Applications


External Mark Management System Page 67

8 Coding:
Form 1:

Department of Computer Science & Applications


External Mark Management System Page 68

'login page final code....

Private Sub cmdlogin_Click()


If txtusername.Text = "" Or txtpassword.Text = "" Then
MsgBox "please enter all details", vbInformation
txtpassword.Text = ""
txtusername.SetFocus
Exit Sub
End If

adologin.RecordSource = "select * from ubregister where username='" +


txtusername.Text + "'and password='" + txtpassword.Text + "'"
adologin.Refresh
If adologin.Recordset.EOF Then
lblforgot.Visible = True
MsgBox " login failed", vbCritical
Else
lblforgot.Visible = False
MsgBox "successful", vbInformation
Unload Me
Form2.Show
Exit Sub
End If
txtusername.Text = ""
txtpassword.Text = ""
txtusername.SetFocus

End Sub

'registration final code....

Department of Computer Science & Applications


External Mark Management System Page 69

Private Sub cmdsignup_Click()


If txtrusername.Text = "" Or txtmobileno.Text = "" Or txtrpassword.Text = "" Or
txtemail.Text = "" Or cmbgender = "" Or secqn = "" Or txtans = "" Then
MsgBox "signup failed", vbCritical

MsgBox "please enter all details", vbInformation


Exit Sub
End If

adoregister.Recordset.Fields("username") = txtrusername
adoregister.Recordset.Fields("mobileno") = txtmobileno
adoregister.Recordset.Fields("password") = txtrpassword
adoregister.Recordset.Fields("emailid") = txtemail
adoregister.Recordset.Fields("gender") = cmbgender
adoregister.Recordset.Fields("securityquestion") = secqn
adoregister.Recordset.Fields("securityanswer") = txtans

adoregister.Recordset.Update
MsgBox "Registration successful", vbInformation
Unload Me
Form1.Show
End Sub

Private Sub Command1_Click()


Unload Me
Form4.Show
End Sub

'register new record in database final code....

Private Sub Form_Load()

Department of Computer Science & Applications


External Mark Management System Page 70

adoregister.Recordset.AddNew
End Sub

'logo image final code.......

Private Sub Image1_Click()


Unload Me
Form1.Show
End Sub

Private Sub Image3_Click()


MsgBox "You are about to exit the ubus page...please click ok to exit", vbInformation
Unload Me
End Sub

'lblforgot password final code.....

Private Sub lblforgot_Click()


Unload Me
Form4.Show
End Sub

Private Sub txtans_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Department of Computer Science & Applications


External Mark Management System Page 71

Private Sub txtemail_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 46 Or KeyAscii = 8 Or KeyAscii = 64 Or KeyAscii = 95 Or (KeyAscii
>= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Digits,Alphabets and Some Symbol Allowed like @,.,_ ",
vbInformation
End If
End Sub

Private Sub txtmobileno_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub
Private Sub txtrusername_KeyPress(KeyAscii As Integer)
If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Forgot Password:

Department of Computer Science & Applications


External Mark Management System Page 72

'change password final code....

Private Sub cmdchange_Click()


If txtpassword.Text = txtconfirm.Text Then
adoforgot.Recordset.Fields("password") = txtpassword.Text
adoforgot.Recordset.Update
MsgBox "password changed successfully", vbInformation
Else
MsgBox "'confirm password' is not same as the 'new password'", vbCritical
txtpassword.Text = ""
txtconfirm.Text = ""
txtpassword.SetFocus
End If
End Sub

'First verification final code....

Private Sub cmdverify1_Click()


If txtmobileno.Text = "" Then
MsgBox "please enter all details", vbInformation
txtmobileno.Text = ""
txtmobileno.SetFocus
Exit Sub
End If

adoforgot.RecordSource = "select * from ubregister where mobileno ='" +


txtmobileno.Text + "'"
adoforgot.Refresh
If adoforgot.Recordset.EOF Then

Department of Computer Science & Applications


External Mark Management System Page 73

MsgBox "first verification failed .....please enter correct mobile number to reset
password ", vbCritical
txtmobileno.Text = ""
txtmobileno.SetFocus
Else
MsgBox "first verification completed...Please press ok for second verification",
vbInformation
lblmobile.Visible = False
txtmobileno.Visible = False
cmdverify1.Visible = False
frmverify2.Visible = True
End If
End Sub

'Second verification final code...

Private Sub cmdverify2_Click()


If txtans.Text = "" Then
MsgBox "please enter all details", vbInformation
txtans.Text = ""
txtans.SetFocus
Exit Sub

End If
adoforgot.RecordSource = "select * from ubregister where mobileno='" +
txtmobileno.Text + "'and securityquestion='" + secqn.Text + "'and securityanswer='"
+ txtans.Text + "'"
adoforgot.Refresh
If adoforgot.Recordset.EOF Then
MsgBox "Second verification failed .....please enter correct security question and
answer to reset password ", vbCritical
secqn.Text = ""

Department of Computer Science & Applications


External Mark Management System Page 74

txtans.Text = ""
txtans.SetFocus
Else
MsgBox "second verification completed...Please press ok...To set new password",
vbInformation
frmpassword.Visible = True
frmverify2.Visible = False
End If
End Sub

Private Sub Image1_Click()


Unload Me
Form1.Show
End Sub

Private Sub txtans_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <=
vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtmobileno_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation

Department of Computer Science & Applications


External Mark Management System Page 75

End If
End Sub

Department of Computer Science & Applications


External Mark Management System Page 76

Progress Bar:

Private Sub Form_Load()


Timer1.Enabled = True
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
End Sub

Private Sub Timer1_Timer()


ProgressBar1.Value = ProgressBar1.Value + 5
Label2.Caption = ProgressBar1.Value & "%"
If ProgressBar1.Value = ProgressBar1.Max Then
Timer1.Enabled = False
Unload Me
MDIForm1.Show
End If
End Sub

Private Sub Timer2_Timer()


If lbl1.Visible = True Then
lbl1.Visible = False
lbl2.Visible = True
lbl3.Visible = False
lbl4.Visible = False
ElseIf lbl2.Visible = True Then
lbl1.Visible = False
lbl2.Visible = False
lbl3.Visible = True
lbl4.Visible = False
ElseIf lbl3.Visible = True Then

Department of Computer Science & Applications


External Mark Management System Page 77

lbl1.Visible = False
lbl2.Visible = False
lbl3.Visible = False
lbl4.Visible = True
ElseIf lbl4.Visible = True Then
lbl1.Visible = True
lbl2.Visible = False
lbl3.Visible = False
lbl4.Visible = False
End If
End Sub

Department of Computer Science & Applications


External Mark Management System Page 78

Home Page:

Private Sub abtdeveloper_Click()


Form5.Show
End Sub

Private Sub abtubus_Click()


Form3.Show
End Sub

Private Sub addstudent_Click()


Form6.Show
End Sub

Private Sub addsubject_Click()


Form7.Show
End Sub

Private Sub addteacher_Click()


Form8.Show
End Sub

Private Sub exit_Click()


Dim sure As Integer
sure = MsgBox(" Are you sure you want to logout ?", vbYesNo + vbExclamation)
If sure = vbYes Then
MsgBox " Thank You For Visiting UBUS ", vbInformation
Unload Me
Form1.Show
Else

Department of Computer Science & Applications


External Mark Management System Page 79

MsgBox "Logout cancelled", vbInformation


End If
End Sub

Private Sub internal_Click()


Form9.Show
End Sub

Private Sub manageint_Click()


Form17.Show
End Sub

Private Sub managestudent_Click()


Form15.Show
End Sub

Private Sub managesubject_Click()


Form14.Show
End Sub

Private Sub manageteacher_Click()


Form13.Show
End Sub

Private Sub studentprofile_Click()


Form10.Show
End Sub

Department of Computer Science & Applications


External Mark Management System Page 80

Private Sub subjectdetails_Click()


Form11.Show
End Sub

Private Sub teacherprofile_Click()


Form12.Show
End Sub

Private Sub userprofile_Click()


Form16.Show
End Sub

Department of Computer Science & Applications


External Mark Management System Page 81

Add Student:

Private Sub cmdbbareset_Click()


txtbbaregistration = ""
txtbbaname = ""
txtbbaemailid = ""
txtbbamobileno = ""
lstbbagender = ""
txtbbaaddress = ""
txtbbacity = ""
txtbbacountry = ""
lstbba = ""
lstbbasem = ""
End Sub

Private Sub cmdbbasubmit_Click()


adobba1.Recordset.Fields("registrationno") = txtbbaregistration
adobba1.Recordset.Fields("name") = txtbbaname
adobba1.Recordset.Fields("email") = txtbbaemailid
adobba1.Recordset.Fields("mobile") = txtbbamobileno
adobba1.Recordset.Fields("dob") = dtbbadob.Value
adobba1.Recordset.Fields("gender") = lstbbagender
adobba1.Recordset.Fields("address") = txtbbaaddress
adobba1.Recordset.Fields("city") = txtbbacity
adobba1.Recordset.Fields("country") = txtbbacountry
adobba1.Recordset.Fields("course") = lstbba
adobba1.Recordset.Fields("semester") = lstbbasem
adobba1.Recordset.Update
MsgBox "sucessful", vbInformation
End Sub

Department of Computer Science & Applications


External Mark Management System Page 82

Private Sub cmdbcareset_Click()


txtbcaregistration = ""
txtbcaname = ""
txtbcaemailid = ""
txtbcamobileno = ""
lstbcagender = ""
txtbcaaddress = ""
txtbcacity = ""
txtbcacountry = ""
lstbca = ""
lstbcasem = ""
End Sub

Private Sub cmdbcasubmit_Click()


adobca.Recordset.Fields("registrationno") = txtbcaregistration
adobca.Recordset.Fields("name") = txtbcaname
adobca.Recordset.Fields("email") = txtbcaemailid
adobca.Recordset.Fields("mobile") = txtbcamobileno
adobca.Recordset.Fields("dob") = dtbcadob.Value
adobca.Recordset.Fields("gender") = lstbcagender
adobca.Recordset.Fields("address") = txtbcaaddress
adobca.Recordset.Fields("city") = txtbcacity
adobca.Recordset.Fields("country") = txtbcacountry
adobca.Recordset.Fields("course") = lstbca
adobca.Recordset.Fields("semester") = lstbcasem
adobca.Recordset.Update
MsgBox "sucessful", vbInformation
End Sub

Department of Computer Science & Applications


External Mark Management System Page 83

Private Sub cmdbcomreset_Click()


txtbcomregistration = ""
txtbcomname = ""
txtbcomemailid = ""
txtbcommobileno = ""
lstbcomgender = ""
txtbcomaddress = ""
txtbcomcity = ""
txtbcomcountry = ""
lstbcom = ""
lstbcomsem = ""
End Sub

Private Sub cmdbcomsubmit_Click()


adobcom.Recordset.Fields("registrationno") = txtbcomregistration
adobcom.Recordset.Fields("name") = txtbcomname
adobcom.Recordset.Fields("email") = txtbcomemailid
adobcom.Recordset.Fields("mobile") = txtbcommobileno
adobcom.Recordset.Fields("dob") = dtbcomdob.Value
adobcom.Recordset.Fields("gender") = lstbcomgender
adobcom.Recordset.Fields("address") = txtbcomaddress
adobcom.Recordset.Fields("city") = txtbcomcity
adobcom.Recordset.Fields("country") = txtbcomcountry
adobcom.Recordset.Fields("course") = lstbcom
adobcom.Recordset.Fields("semester") = lstbcomsem
adobcom.Recordset.Update
MsgBox "sucessful", vbInformation
End Sub

Private Sub cmdmbareset_Click()

Department of Computer Science & Applications


External Mark Management System Page 84

txtmbaregistration = ""
txtmbaname = ""
txtmbaemailid = ""
txtmbamobileno = ""

lstmbagender = ""
txtmbaaddress = ""
txtmbacity = ""
txtmbacountry = ""
lstmba = ""
lstmbasem = ""
End Sub

Private Sub cmdmbasubmit_Click()


adomba.Recordset.Fields("registrationno") = txtmbaregistration
adomba.Recordset.Fields("name") = txtmbaname
adomba.Recordset.Fields("email") = txtmbaemailid
adomba.Recordset.Fields("mobile") = txtmbamobileno
adomba.Recordset.Fields("dob") = dtmbadob.Value

adomba.Recordset.Fields("gender") = lstmbagender
adomba.Recordset.Fields("address") = txtmbaaddress
adomba.Recordset.Fields("city") = txtmbacity
adomba.Recordset.Fields("country") = txtmbacountry
adomba.Recordset.Fields("course") = lstmba
adomba.Recordset.Fields("semester") = lstmbasem
adomba.Recordset.Update
MsgBox "sucessful", vbInformation
End Sub

Department of Computer Science & Applications


External Mark Management System Page 85

Public Sub Form_Load()


adobcom.Recordset.AddNew
adomba.Recordset.AddNew
adobba1.Recordset.AddNew
adobca.Recordset.AddNew
End Sub

Private Sub Image1_Click()


Unload Me
MDIForm1.Hide
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
MDIForm1.Show
End Sub

Private Sub optbca_Click()


frmbca.Visible = True
frmbcom.Visible = False
frmbba.Visible = False
frmmba.Visible = False
End Sub

Private Sub optbcom_Click()


frmbca.Visible = False
frmbcom.Visible = True
frmbba.Visible = False
frmmba.Visible = False

Department of Computer Science & Applications


External Mark Management System Page 86

End Sub

Private Sub optbba_Click()


frmbca.Visible = False
frmbcom.Visible = False
frmbba.Visible = True
frmmba.Visible = False
End Sub

Private Sub optmba_Click()


frmbca.Visible = False
frmbcom.Visible = False
frmbba.Visible = False
frmmba.Visible = True
End Sub

Department of Computer Science & Applications


External Mark Management System Page 87

Search Student:

Private Sub cmdbcasearch_Click()


bcaregistration.Visible = True
bcaname.Visible = True
bcaemail.Visible = True
bcamobile.Visible = True
bcagender.Visible = True
bcadob.Visible = True
bcaaddress.Visible = True
bcacity.Visible = True
bcacountry.Visible = True
bcacourse.Visible = True
bcasemester.Visible = True
adobca.RecordSource = "select * from studall where registrationno ='" +
txtbcasearch.Text + "'and course='BCA '"
adobca.Refresh
If adobca.Recordset.EOF Then
MsgBox "Student of this registration no could not be found in BCA Department",
vbCritical
Else
adobca.Caption = adobca.RecordSource
End If
End Sub

Private Sub cmdbbasearch_Click()


bbaregistration.Visible = True
bbaname.Visible = True
bbaemail.Visible = True
bbamobile.Visible = True
bbagender.Visible = True

Department of Computer Science & Applications


External Mark Management System Page 88

bbadob.Visible = True
bbaaddress.Visible = True
bbacity.Visible = True
bbacountry.Visible = True
bbacourse.Visible = True
bbasemester.Visible = True
adobba1.RecordSource = "select * from studall where registrationno ='" +
txtbbasearch.Text + "'and course='BBA '"
adobba1.Refresh
If adobba1.Recordset.EOF Then
MsgBox "Student of this registration no could not be found in BBA Department",
vbCritical
Else
adobba1.Caption = adobba1.RecordSource
End If
End Sub

Private Sub cmdbcomsearch_Click()


bcomregistration.Visible = True
bcomname.Visible = True
bcomemail.Visible = True
bcommobile.Visible = True
bcomgender.Visible = True
bcomdob.Visible = True
bcomaddress.Visible = True
bcomcity.Visible = True
bcomcountry.Visible = True
bcomcourse.Visible = True
bcomsemester.Visible = True
adobcom.RecordSource = "select * from studall where registrationno ='" +
txtbcomsearch.Text + "'and course='B.com'"

Department of Computer Science & Applications


External Mark Management System Page 89

adobcom.Refresh
If adobcom.Recordset.EOF Then
MsgBox "Student of this registration no could not be found in B.com Department",
vbCritical
Else
adobcom.Caption = adobcom.RecordSource
End If
End Sub

Private Sub cmdmbasearch_Click()


mbaregistration.Visible = True
mbaname.Visible = True
mbaemail.Visible = True
mbamobile.Visible = True
mbagender.Visible = True
mbadob.Visible = True
mbaaddress.Visible = True
mbacity.Visible = True
mbacountry.Visible = True
mbacourse.Visible = True
mbasemester.Visible = True
adomba.RecordSource = "select * from studall where registrationno ='" +
txtmbasearch.Text + "'and course='MBA'"
adomba.Refresh
If adomba.Recordset.EOF Then
MsgBox "Student of this registration no could not be found in MBA Department",
vbCritical
Else
adomba.Caption = adomba.RecordSource
End If
End Sub

Department of Computer Science & Applications


External Mark Management System Page 90

Private Sub Image1_Click()


Unload Me
Unload MDIForm1
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
End Sub

Private Sub optbba_Click()


frmbba.Visible = True
frmbca.Visible = False
frmmba.Visible = False
frmbcom.Visible = False
'bca refresh
bcaregistration = ""
bcaname = ""
bcaemail = ""
bcamobile = ""
bcagender = ""
bcadob = ""
bcaaddress = ""
bcacity = ""
bcacountry = ""
bcacourse = ""
bcasemester = ""
txtbcasearch = ""
'bcom refresh

Department of Computer Science & Applications


External Mark Management System Page 91

bcomregistration = ""
bcomname = ""
bcomemail = ""
bcommobile = ""
bcomgender = ""
bcomdob = ""
bcomaddress = ""
bcomcity = ""
bcomcountry = ""
bcomcourse = ""
bcomsemester = ""
txtbcomsearch = ""
'bba refresh
bbaregistration = ""
bbaname = ""
bbaemail = ""
bbamobile = ""
bbagender = ""
bbadob = ""
bbaaddress = ""
bbacity = ""
bbacountry = ""
bbacourse = ""
bbasemester = ""
txtbbasearch = ""
'mba refresh
mbaregistration = ""
mbaname = ""
mbaemail = ""
mbamobile = ""

Department of Computer Science & Applications


External Mark Management System Page 92

mbagender = ""
mbadob = ""
mbaaddress = ""
mbacity = ""
mbacountry = ""
mbacourse = ""
mbasemester = ""
txtmbasearch = ""
End Sub

Private Sub optbca_Click()


frmbca.Visible = True
frmbba.Visible = False
frmmba.Visible = False
frmbcom.Visible = False
'bba refresh
bbaregistration = ""
bbaname = ""
bbaemail = ""
bbamobile = ""
bbagender = ""
bbadob = ""
bbaaddress = ""
bbacity = ""
bbacountry = ""
bbacourse = ""
bbasemester = ""
txtbbasearch = ""
'mba refresh
mbaregistration = ""

Department of Computer Science & Applications


External Mark Management System Page 93

mbaname = ""
mbaemail = ""
mbamobile = ""
mbagender = ""
mbadob = ""
mbaaddress = ""
mbacity = ""
mbacountry = ""
mbacourse = ""
mbasemester = ""
txtmbasearch = ""
'bca refresh
bcaregistration = ""
bcaname = ""
bcaemail = ""
bcamobile = ""
bcagender = ""
bcadob = ""
bcaaddress = ""
bcacity = ""
bcacountry = ""
bcacourse = ""
bcasemester = ""
txtbcasearch = ""
'bcom refresh
bcomregistration = ""
bcomname = ""
bcomemail = ""
bcommobile = ""
bcomgender = ""

Department of Computer Science & Applications


External Mark Management System Page 94

bcomdob = ""
bcomaddress = ""
bcomcity = ""
bcomcountry = ""
bcomcourse = ""
bcomsemester = ""
txtbcomsearch = ""
End Sub

Private Sub optbcom_Click()


frmbcom.Visible = True
frmbca.Visible = False
frmmba.Visible = False
frmbba.Visible = False
'bca refresh
bcaregistration = ""
bcaname = ""
bcaemail = ""
bcamobile = ""
bcagender = ""
bcadob = ""
bcaaddress = ""
bcacity = ""
bcacountry = ""
bcacourse = ""
bcasemester = ""
txtbcasearch = ""
'bcom refresh
bcomregistration = ""
bcomname = ""

Department of Computer Science & Applications


External Mark Management System Page 95

bcomemail = ""
bcommobile = ""
bcomgender = ""
bcomdob = ""
bcomaddress = ""
bcomcity = ""
bcomcountry = ""
bcomcourse = ""
bcomsemester = ""
txtbcomsearch = ""
'bba refresh
bbaregistration = ""
bbaname = ""
bbaemail = ""
bbamobile = ""
bbagender = ""
bbadob = ""
bbaaddress = ""
bbacity = ""
bbacountry = ""
bbacourse = ""
bbasemester = ""
txtbbasearch = ""
'mba refresh
mbaregistration = ""
mbaname = ""
mbaemail = ""
mbamobile = ""
mbagender = ""
mbadob = ""

Department of Computer Science & Applications


External Mark Management System Page 96

mbaaddress = ""
mbacity = ""
mbacountry = ""
mbacourse = ""
mbasemester = ""
txtmbasearch = ""
End Sub

Private Sub optmba_Click()


frmbca.Visible = False
frmmba.Visible = True
frmbcom.Visible = False
frmbba.Visible = False
'bba refresh
bbaregistration = ""
bbaname = ""
bbaemail = ""
bbamobile = ""
bbagender = ""
bbadob = ""
bbaaddress = ""
bbacity = ""
bbacountry = ""
bbacourse = ""
bbasemester = ""
txtbbasearch = ""
'mba refresh
mbaregistration = ""
mbaname = ""
mbaemail = ""

Department of Computer Science & Applications


External Mark Management System Page 97

mbamobile = ""
mbagender = ""
mbadob = ""
mbaaddress = ""
mbacity = ""
mbacountry = ""
mbacourse = ""
mbasemester = ""
txtmbasearch = ""
'bca refresh
bcaregistration = ""
bcaname = ""
bcaemail = ""
bcamobile = ""
bcagender = ""
bcadob = ""
bcaaddress = ""
bcacity = ""
bcacountry = ""
bcacourse = ""
bcasemester = ""
txtbcasearch = ""
'bcom refresh
bcomregistration = ""
bcomname = ""
bcomemail = ""
bcommobile = ""
bcomgender = ""
bcomdob = ""
bcomaddress = ""

Department of Computer Science & Applications


External Mark Management System Page 98

bcomcity = ""
bcomcountry = ""
bcomcourse = ""
bcomsemester = ""
txtbcomsearch = ""
End Sub

Department of Computer Science & Applications


External Mark Management System Page 99

Student Manage:

Private Sub cmdbcasave_Click()


adobca.Recordset.Update
adobca.Recordset.Fields("registrationno") = txtbcaregistration
adobca.Recordset.Fields("name") = txtbcaname
adobca.Recordset.Fields("email") = txtbcaemailid
adobca.Recordset.Fields("mobile") = txtbcamobileno
adobca.Recordset.Fields("dob") = dtbcadob.Value

adobca.Recordset.Fields("gender") = lstbcagender
adobca.Recordset.Fields("address") = txtbcaaddress
adobca.Recordset.Fields("city") = txtbcacity
adobca.Recordset.Fields("country") = txtbcacountry
adobca.Recordset.Fields("course") = lstbca
If optmba.Value = True Then
adobca.Recordset.Fields("semester") = lstsemmba
Else
adobca.Recordset.Fields("semester") = lstbcasem
End If

MsgBox "Particular Student profile is sucessfully Updated.", vbInformation


txtbcaregistration.Enabled = False
txtbcaname.Enabled = False
txtbcaemailid.Enabled = False
txtbcamobileno.Enabled = False
dtbcadob.Enabled = False
lstbcagender.Enabled = False
txtbcaaddress.Enabled = False
txtbcacity.Enabled = False

Department of Computer Science & Applications


External Mark Management System Page 100

txtbcacountry.Enabled = False
lstbca.Enabled = False
lstbcasem.Enabled = False
lstsemmba.Enabled = False
End Sub

Private Sub cmdbcasearch_Click()


If optbca.Value = True Then
adobca.RecordSource = "select * from studall where registrationno ='" +
txtbcasearch.Text + "'and course='BCA '"
adobca.Refresh
If adobca.Recordset.EOF Then
MsgBox "Student is not found in the Database", vbCritical
Else
adobca.Caption = adobca.RecordSource
frmbcagrid.Visible = True
End If
ElseIf optbba.Value = True Then
adobca.RecordSource = "select * from studall where registrationno ='" +
txtbcasearch.Text + "'and course='BBA '"
adobca.Refresh
If adobca.Recordset.EOF Then
MsgBox "Student is not found in the Database", vbCritical
Else
adobca.Caption = adobca.RecordSource
frmbcagrid.Visible = True
End If
ElseIf optbcom.Value = True Then
adobca.RecordSource = "select * from studall where registrationno ='" +
txtbcasearch.Text + "'and course='B.com '"
adobca.Refresh

Department of Computer Science & Applications


External Mark Management System Page 101

If adobca.Recordset.EOF Then
MsgBox "Student is not found in the Database", vbCritical
Else
adobca.Caption = adobca.RecordSource
frmbcagrid.Visible = True
End If
ElseIf optmba.Value = True Then
adobca.RecordSource = "select * from studall where registrationno ='" +
txtbcasearch.Text + "'and course='MBA '"
adobca.Refresh
If adobca.Recordset.EOF Then
MsgBox "Student is not found in the Database", vbCritical
Else
adobca.Caption = adobca.RecordSource
frmbcagrid.Visible = True
cmdbcanext.Enabled = False
cmdbcaprevious.Enabled = False
End If
End If
End Sub

Private Sub cmdbcaedit_Click()


txtbcaregistration.Enabled = True
txtbcaname.Enabled = True
txtbcaemailid.Enabled = True
txtbcamobileno.Enabled = True
dtbcadob.Enabled = True
lstbcagender.Enabled = True
txtbcaaddress.Enabled = True
txtbcacity.Enabled = True
txtbcacountry.Enabled = True

Department of Computer Science & Applications


External Mark Management System Page 102

lstbca.Enabled = True
lstbcasem.Enabled = True
lstsemmba.Enabled = True
End Sub

Private Sub cmdbcadelete_Click()


Dim sure As Integer
sure = MsgBox(" Are you sure about deleting the record ?", vbYesNo +
vbExclamation, "Once the data is deleted, It will cannot be recovered.")
If sure = vbYes Then
adobca.Recordset.Delete
MsgBox "Student detail is sucessfully removed.", vbInformation
Else
MsgBox "Particular student detail was not removed ", vbInformation
End If
End Sub

Private Sub cmdbcaprevious_Click()


adobca.Recordset.MovePrevious
adobca.Caption = adobca.RecordSource
End Sub

Private Sub cmdbcanext_Click()


adobca.Recordset.MoveNext
adobca.Caption = adobca.RecordSource
End Sub

Private Sub cmdbcaclear_Click()


txtbcaregistration = ""
txtbcaname = ""
txtbcaemailid = ""

Department of Computer Science & Applications


External Mark Management System Page 103

txtbcamobileno = ""
lstbcagender = ""
txtbcaaddress = ""
txtbcacity = ""
txtbcacountry = ""
lstbca = ""
lstbcasem = ""
lstsemmba = ""
End Sub

Private Sub cmdbcaview_Click()


If optbca.Value = True Then
adobca.RecordSource = "select * from studall where course like '%BCA%'"
adobca.Refresh
adobca.Caption = adobca.RecordSource
End If
If optbcom.Value = True Then
adobca.RecordSource = "select * from studall where course like '%B.com%'"
adobca.Refresh
adobca.Caption = adobca.RecordSource
End If
If optbba.Value = True Then
adobca.RecordSource = "select * from studall where course like '%BBA%'"
adobca.Refresh
adobca.Caption = adobca.RecordSource
End If
If optmba.Value = True Then
adobca.RecordSource = "select * from studall where course like '%MBA%'"
adobca.Refresh
adobca.Caption = adobca.RecordSource

Department of Computer Science & Applications


External Mark Management System Page 104

End If
cmdbcanext.Enabled = True
cmdbcaprevious.Enabled = True
End Sub

Private Sub cmdprints_Click()


DataEnvironment1.student txt1
DataReport3.Show
DataReport3.Refresh
DataEnvironment1.rsstudent.Close
End Sub

Private Sub Form_Load()


adobca.Recordset.Update
End Sub

Private Sub optbba_Click()


frmbca.Visible = True
lstbcasem.Visible = True
lstsemmba.Visible = False
End Sub

Private Sub optbca_Click()


frmbca.Visible = True
lstbcasem.Visible = True
lstsemmba.Visible = False
End Sub

Private Sub optbcom_Click()

Department of Computer Science & Applications


External Mark Management System Page 105

frmbca.Visible = True
lstbcasem.Visible = True
lstsemmba.Visible = False
End Sub

Private Sub optmba_Click()


frmbca.Visible = True
lstbcasem.Visible = False
lstsemmba.Visible = True
End Sub
Private Sub lbl2_Click()
frmprint.Visible = True
End Sub

Private Sub Timer1_Timer()


If lbl2.ForeColor = &H0& Then
lbl2.ForeColor = &HFFFFFF
ElseIf lbl2.ForeColor = &HFFFFFF Then
lbl2.ForeColor = &H0&
End If
End Sub

Private Sub txtbcaaddress_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Digits and Alphabets Allowed ", vbInformation
End If
End Sub

Department of Computer Science & Applications


External Mark Management System Page 106

Private Sub txtbcacity_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtbcacountry_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtbcaemailid_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 46 Or KeyAscii = 8 Or KeyAscii = 64 Or KeyAscii = 95 Or (KeyAscii
>= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Digits,Alphabets and Some Symbol Allowed like @,.,_ ",
vbInformation
End If
End Sub

Private Sub txtbcamobileno_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Or
KeyAscii = 46 Then

Department of Computer Science & Applications


External Mark Management System Page 107

Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtbcaname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtbcaregistration_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Digits and Alphabets Allowed ", vbInformation
End If
End Sub

Subject Add:

Department of Computer Science & Applications


External Mark Management System Page 108

Private Sub cmdreset_Click()


txtsubname = ""
txtautname = ""
txtpubname = ""
cmbdep = ""
cmbsem = ""
txtteaname = ""

End Sub

Private Sub cmdsubmit_Click()


If txtsubname = "" Or txtautname = "" Or txtpubname = "" Or cmbdep = "" Or
cmbsem = "" Or txtteaname = "" Then
MsgBox "Please enter all the Details", vbCritical
Else
adosubject.Recordset.Fields("subject") = txtsubname
adosubject.Recordset.Fields("author") = txtautname
adosubject.Recordset.Fields("publication") = txtpubname
adosubject.Recordset.Fields("teacher") = txtteaname
adosubject.Recordset.Fields("department") = cmbdep
adosubject.Recordset.Fields("semester") = cmbsem
adosubject.Recordset.Update

MsgBox "subject added sucessfully", vbInformation


subgrid.Visible = True
txtsubname = ""
txtautname = ""
txtpubname = ""
cmbdep = ""

Department of Computer Science & Applications


External Mark Management System Page 109

cmbsem = ""
txtteaname = ""
End If
End Sub

Private Sub Form_Load()


adosubject.Recordset.AddNew
End Sub

Private Sub Image1_Click()


Unload Me
Unload MDIForm1
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
End Sub

Private Sub txtautname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtpubname_KeyPress(KeyAscii As Integer)

Department of Computer Science & Applications


External Mark Management System Page 110

If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtsubname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtteaname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Subject Search:

Department of Computer Science & Applications


External Mark Management System Page 111

Private Sub cmdsearch_Click()


subject.Visible = True
author.Visible = True
publication.Visible = True
department.Visible = True
semester.Visible = True
teacher.Visible = True

adosubject.RecordSource = "select * from subject where subject ='" + txtsearch.Text


+ "'"
adosubject.Refresh
If adosubject.Recordset.EOF Then
MsgBox "Subject is not found in the Database", vbCritical
Else
adosubject.Caption = adosubject.RecordSource
subgrid.Visible = True
End If
End Sub

Private Sub Image1_Click()


Unload Me
Unload MDIForm1
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
End Sub

Private Sub txtsearch_KeyPress(KeyAscii As Integer)

Department of Computer Science & Applications


External Mark Management System Page 112

If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <=
vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Subject Manage:

Department of Computer Science & Applications


External Mark Management System Page 113

Private Sub cmdclear_Click()


txtsubname = ""
txtautname = ""
txtpubname = ""
cmbdep = ""
cmbsem = ""
txtteaname = ""
txtsearch = ""
End Sub

Private Sub cmddelete_Click()


Dim sure As Integer
MsgBox "Once the data is deleted, It will cannot be recovered.", vbCritical
sure = MsgBox(" Are you sure about deleting the record ?", vbYesNo +
vbExclamation)
If sure = vbYes Then
adosubject.Recordset.Delete
MsgBox "Particular Subject detail is sucessfully removed.", vbInformation
Else
MsgBox "Particular Subject detail was not removed ", vbInformation
End If
End Sub

Private Sub cmdedit_Click()


txtsubname.Enabled = True
txtautname.Enabled = True
txtpubname.Enabled = True
cmbdep.Enabled = True
cmbsem.Enabled = True
txtteaname.Enabled = True

Department of Computer Science & Applications


External Mark Management System Page 114

txtsubname.SetFocus
End Sub

Private Sub cmdnext_Click()


adosubject.Recordset.MoveNext
adosubject.Caption = adosubject.RecordSource
End Sub

Private Sub cmdprevious_Click()


adosubject.Recordset.MovePrevious
adosubject.Caption = adosubject.RecordSource
End Sub

Private Sub cmdprints_Click()


DataEnvironment1.subject txt1
DataReport4.Show
DataReport4.Refresh
DataEnvironment1.rssubject.Close
End Sub

Private Sub cmdsave_Click()


adosubject.Recordset.Fields("subject") = txtsubname
adosubject.Recordset.Fields("author") = txtautname
adosubject.Recordset.Fields("publication") = txtpubname
adosubject.Recordset.Fields("teacher") = txtteaname
adosubject.Recordset.Fields("department") = cmbdep
adosubject.Recordset.Fields("semester") = cmbsem
adosubject.Recordset.Update
MsgBox "Particular Subject's Record is Updated Sucessfully", vbInformation
txtsubname = ""

Department of Computer Science & Applications


External Mark Management System Page 115

txtautname = ""
txtpubname = ""
cmbdep = ""
cmbsem = ""
txtteaname = ""
txtsearch = ""
txtsubname.Enabled = False
txtautname.Enabled = False
txtpubname.Enabled = False
cmbdep.Enabled = False
cmbsem.Enabled = False
txtteaname.Enabled = False
txtsearch.SetFocus
End Sub

Private Sub cmdsearch_Click()


adosubject.RecordSource = "select * from subject where subject ='" + txtsearch.Text
+ "'"
adosubject.Refresh
subgrid.Visible = True
frmsubjectgrid.Visible = True
cmdnext.Enabled = False
cmdprevious.Enabled = False
End Sub

Private Sub cmdview_Click()


adosubject.RecordSource = "select * from subject"
adosubject.Refresh
adosubject.Caption = adosubject.RecordSource
cmdnext.Enabled = True
cmdprevious.Enabled = True

Department of Computer Science & Applications


External Mark Management System Page 116

End Sub

Private Sub Form_Load()


adosubject.Recordset.Update
End Sub

Private Sub Image1_Click()


Unload Me
Unload MDIForm1
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
End Sub

Private Sub lbl2_Click()


frmprint.Visible = True
End Sub

Private Sub Timer1_Timer()


If lbl2.ForeColor = &H0& Then
lbl2.ForeColor = &HFFFFFF
ElseIf lbl2.ForeColor = &HFFFFFF Then
lbl2.ForeColor = &H0&
End If
End Sub

Private Sub txtautname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then

Department of Computer Science & Applications


External Mark Management System Page 117

Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtpubname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtsearch_KeyPress(KeyAscii As Integer)If KeyAscii >= 65 And


KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122 Or KeyAscii = 32 Or
KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtsubname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Department of Computer Science & Applications


External Mark Management System Page 118

Private Sub txtteaname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Teacher Add:

Department of Computer Science & Applications


External Mark Management System Page 119

Private Sub cmdreset_Click()


txtteachercode = ""
txtname = ""
txtemailid = ""
txtmobileno = ""
lstgender = ""
lstmarital = ""
txtaddress = ""
txtcity = ""
txtcountry = ""
lstdepartment = ""
lststatus = "Full-Time"
lstqualification = ""
End Sub

Private Sub cmdsubmit_Click()


If txtteachercode = "" Or txtname = "" Or txtemailid = "" Or txtmobileno = "" Or
lstgender = "" Or lstmarital = "" Or txtaddress = "" Or txtcity = "" Or txtcountry = ""
Or lstdepartment = "" Or lststatus = "" Or lstqualification = "" Then
MsgBox "please fill All The Details", vbCritical
Else
adoteacher.Refresh
adoteacher.Recordset.AddNew
adoteacher.Recordset.Fields("code") = txtteachercode
adoteacher.Recordset.Fields("name") = txtname
adoteacher.Recordset.Fields("email") = txtemailid
adoteacher.Recordset.Fields("mobile") = txtmobileno
adoteacher.Recordset.Fields("dob") = dtdob.Value
adoteacher.Recordset.Fields("gender") = lstgender
adoteacher.Recordset.Fields("marital") = lstmarital
adoteacher.Recordset.Fields("address") = txtaddress

Department of Computer Science & Applications


External Mark Management System Page 120

adoteacher.Recordset.Fields("city") = txtcity
adoteacher.Recordset.Fields("country") = txtcountry
adoteacher.Recordset.Fields("department") = lstdepartment
adoteacher.Recordset.Fields("status") = lststatus
adoteacher.Recordset.Fields("qualification") = lstqualification
adoteacher.Recordset.Update
MsgBox "sucessful", vbInformation
End If
End Sub

Private Sub Form_Load()


adoteacher.Recordset.AddNew
End Sub

Private Sub Image1_Click()


Unload Me
Unload MDIForm1
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
MDIForm1.Show
End Sub

Private Sub optfull_click()


txtteachercode = ""
txtname = ""
txtemailid = ""
txtmobileno = ""

Department of Computer Science & Applications


External Mark Management System Page 121

lstgender = "male"
lstmarital = "Married"
txtaddress = ""
txtcity = ""
txtcountry = ""
lstdepartment = "BBA"
lststatus = "Full-Time"
lstqualification = "University Degree"
frmteacher.Visible = True
If optfull.Value = True Then
lststatus = "Full-Time"
End If
End Sub

Private Sub optpart_Click()


txtteachercode = ""
txtname = ""
txtemailid = ""
txtmobileno = ""
lstgender = "male"
lstmarital = "Married"
txtaddress = ""
txtcity = ""
txtcountry = ""
lstdepartment = "BBA"
lststatus = "Full-Time"
lstqualification = "University Degree"
If optpart.Value = True Then
lststatus = "Part-Time"
End If

Department of Computer Science & Applications


External Mark Management System Page 122

frmteacher.Visible = False
frmteacher.Visible = True
End Sub
Private Sub txtaddress_KeyPress(KeyAscii As Integer)
If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <=
vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtcity_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtcountry_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtemailid_KeyPress(KeyAscii As Integer)

Department of Computer Science & Applications


External Mark Management System Page 123

If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 46 Or KeyAscii = 8 Or KeyAscii = 64 Or KeyAscii = 95 Or (KeyAscii
>= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Digits,Alphabets and Some Symbol Allowed like @,.,_ ",
vbInformation
End If
End Sub

Private Sub txtmobileno_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtteachercode_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0

Department of Computer Science & Applications


External Mark Management System Page 124

MsgBox "Only Digits and Alphabets Allowed ", vbInformation


End If
End Sub

Teacher Search:

Department of Computer Science & Applications


External Mark Management System Page 125

Private Sub cmdsearcht_Click()


code.Visible = True
name1.Visible = True
email.Visible = True
mobile.Visible = True
dob.Visible = True
gender.Visible = True
marital.Visible = True
address.Visible = True
city.Visible = True
country.Visible = True
department.Visible = True
job.Visible = True
qualification.Visible = True
adoteacher.RecordSource = "select * from teacheradd where code ='" +
txtsearcht.Text + "'"
adoteacher.Refresh
If adoteacher.Recordset.EOF Then
MsgBox "Teacher not found in the DataBase", vbCritical
Else
adoteacher.Caption = adoteacher.RecordSource
If job.Caption = "Full-Time" Then
optfull.Value = True
Else
optpart.Value = True
End If
End If
End Sub

Private Sub Image1_Click()


Unload Me

Department of Computer Science & Applications


External Mark Management System Page 126

Unload MDIForm1
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
End Sub

Teacher Manage:

Department of Computer Science & Applications


External Mark Management System Page 127

Private Sub cmdclear_Click()


txtteachercode = ""
txtname = ""
txtemailid = ""
txtmobileno = ""
lstgender = ""
lstmarital = ""
txtaddress = ""
txtcity = ""
txtcountry = ""
lstdepartment = ""
lststatus = "Full-Time"
lstqualification = ""
txtsearcht = ""
End Sub

Private Sub cmddelete_Click()


Dim sure As Integer
MsgBox "Once the data is deleted, It will cannot be recovered.", vbCritical
sure = MsgBox(" Are you sure about deleting the record ?", vbYesNo +
vbExclamation)
If sure = vbYes Then
adoteacher.Recordset.Delete
MsgBox "Particular Teacher detail is sucessfully removed.", vbInformation
Else
MsgBox "Particular Teacher detail was not removed ", vbInformation
End If
End Sub

Private Sub cmdedit_Click()


txtteachercode.Enabled = True

Department of Computer Science & Applications


External Mark Management System Page 128

txtname.Enabled = True
txtemailid.Enabled = True
txtmobileno.Enabled = True
dtdob.Enabled = True
lstgender.Enabled = True
lstmarital.Enabled = True
txtaddress.Enabled = True
txtcity.Enabled = True
txtcountry.Enabled = True
lstdepartment.Enabled = True
lststatus.Enabled = True
lstqualification.Enabled = True
txtteachercode.SetFocus
End Sub

Private Sub cmdnext_Click()


adoteacher.Recordset.MoveNext
adoteacher.Caption = adoteacher.RecordSource
End Sub

Private Sub cmdprevious_Click()


adoteacher.Recordset.MovePrevious
adoteacher.Caption = adoteacher.RecordSource
End Sub

Private Sub cmdprints_Click()


DataEnvironment1.teacher txt1
DataReport5.Show
DataReport5.Refresh
DataEnvironment1.rsteacher.Close

Department of Computer Science & Applications


External Mark Management System Page 129

End Sub

Private Sub cmdsave_Click()


adoteacher.Recordset.Update
adoteacher.Recordset.Fields("code") = txtteachercode
adoteacher.Recordset.Fields("name") = txtname
adoteacher.Recordset.Fields("email") = txtemailid
adoteacher.Recordset.Fields("mobile") = txtmobileno
adoteacher.Recordset.Fields("dob") = dtdob.Value
adoteacher.Recordset.Fields("gender") = lstgender
adoteacher.Recordset.Fields("marital") = lstmarital
adoteacher.Recordset.Fields("address") = txtaddress
adoteacher.Recordset.Fields("city") = txtcity
adoteacher.Recordset.Fields("country") = txtcountry
adoteacher.Recordset.Fields("department") = lstdepartment
adoteacher.Recordset.Fields("status") = lststatus
adoteacher.Recordset.Fields("qualification") = lstqualification

MsgBox "Particular Teacher's Record is Updated Sucessfully", vbInformation


txtteachercode.Enabled = True
txtname.Enabled = True
txtemailid.Enabled = True
txtmobileno.Enabled = True
dtdob.Enabled = True
lstgender.Enabled = True
lstmarital.Enabled = True
txtaddress.Enabled = True
txtcity.Enabled = True
txtcountry.Enabled = True
lstdepartment.Enabled = True

Department of Computer Science & Applications


External Mark Management System Page 130

lststatus.Enabled = True
lstqualification.Enabled = True
txtsearcht.SetFocus
End Sub

Private Sub cmdsearcht_Click()


adoteacher.RecordSource = "select * from teacheradd where code ='" +
txtsearcht.Text + "'"
adoteacher.Refresh
If adoteacher.Recordset.EOF Then
MsgBox "Teacher not found in the DataBase", vbCritical
Else
adoteacher.Caption = adoteacher.RecordSource
If lststatus = "Full-Time" Then
optfull.Value = True
Else
optpart.Value = True
End If
frmteachergrid.Visible = True
cmdnext.Enabled = False
cmdprevious.Enabled = False
End If
End Sub

Private Sub cmdview_Click()


adoteacher.RecordSource = "select * from teacheradd"
adoteacher.Refresh
adoteacher.Caption = adoteacher.RecordSource
cmdnext.Enabled = True
cmdprevious.Enabled = True
End Sub

Department of Computer Science & Applications


External Mark Management System Page 131

Private Sub Form_Load()


adoteacher.Recordset.Update
End Sub

Private Sub Image1_Click()


Unload Me
Unload MDIForm1
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
End Sub

Private Sub lbl2_Click()


frmprint.Visible = True
End Sub

Private Sub Timer1_Timer()


If lbl2.ForeColor = &H0& Then
lbl2.ForeColor = &HFFFFFF
ElseIf lbl2.ForeColor = &HFFFFFF Then
lbl2.ForeColor = &H0&
End If
End Sub

Private Sub txtaddress_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <=
vbKey9) Then

Department of Computer Science & Applications


External Mark Management System Page 132

Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtcity_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtcountry_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtemailid_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 46 Or KeyAscii = 8 Or KeyAscii = 64 Or KeyAscii = 95 Or (KeyAscii
>= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Digits,Alphabets and Some Symbol Allowed like @,.,_ ",
vbInformation

Department of Computer Science & Applications


External Mark Management System Page 133

End If
End Sub

Private Sub txtmobileno_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtname_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 32 Or KeyAscii = 8 Then
Else
KeyAscii = 0
MsgBox "Only Alphabets Allowed", vbInformation
End If
End Sub

Private Sub txtsearcht_KeyPress(KeyAscii As Integer)


If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Digits and Alphabets Allowed ", vbInformation
End If
End Sub

Private Sub txtteachercode_KeyPress(KeyAscii As Integer)

Department of Computer Science & Applications


External Mark Management System Page 134

If KeyAscii >= 65 And KeyAscii <= 90 Or KeyAscii >= 97 And KeyAsccii <= 122
Or KeyAscii = 8 Or (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Then
Else
KeyAscii = 0
MsgBox "Only Digits and Alphabets Allowed ", vbInformation
End If
End Sub

Add Marks:

Department of Computer Science & Applications


External Mark Management System Page 135

Private Sub cmdassignment_Click()


txtfull.Text = Val(txtftotal.Text) + Val(txtstotal.Text) + Val(txtttotal.Text)
txtgiven.Text = Val(txtfgiven.Text) + Val(txtsgiven.Text) + Val(txttgiven.Text)
txtapercent.Text = (txtgiven.Text / txtfull.Text) * 100
txtaem.Text = (txtsam.Text / 100) * txtapercent.Text
End Sub

Private Sub cmdattendance_Click()


txttp.Text = (txtattclass.Text / txttotalclass.Text) * 100
txtam.Text = (txttam.Text / 100) * txttp.Text
End Sub

Private Sub cmdclear_Click()


txttotalclass = ""
txtattclass = ""
txttp = ""
txtam = ""
txtfgiven = ""
txtsgiven = ""
txttgiven = ""
txtaem = ""
txtbmg = ""
txtfem = ""
txtsem = ""
txttem = ""
txtfmg = ""
txtsmg = ""
txttmg = ""
txtem = ""
txtattendance = ""

Department of Computer Science & Applications


External Mark Management System Page 136

txtassignment = ""
txtbehavioural = ""
txtexamination = ""
txtinternal = ""
txttotalclass.SetFocus
End Sub

Private Sub cmdexam_Click()


txtrem.Text = Val(txtfem.Text) + Val(txtsem.Text) + Val(txttem.Text)
txtrmg.Text = Val(txtfmg.Text) + Val(txtsmg.Text) + Val(txttmg.Text)
txtempercent = (txtrmg.Text / txtrem.Text) * 100
txtem.Text = (txtzem.Text / 100) * txtempercent.Text
End Sub

Private Sub cmdinternal_Click()


txtinternal.Text = Val(txtattendance.Text) + Val(txtassignment.Text) +
Val(txtbehavioural.Text) + Val(txtexamination.Text)
cmdsave.Visible = True
cmdclear.Visible = True
End Sub

Private Sub cmdprevious_Click()


frmadd2.Visible = False
End Sub

Private Sub cmdsave_Click()


mark.Recordset.Fields("registrationno") = lblregister
mark.Recordset.Fields("name") = lblname
mark.Recordset.Fields("subject") = lblsubject
mark.Recordset.Fields("course") = lblcourse
mark.Recordset.Fields("semester") = lblsemester

Department of Computer Science & Applications


External Mark Management System Page 137

mark.Recordset.Fields("teacher") = lblteacher
mark.Recordset.Fields("internal") = txtinternal
mark.Recordset.Update
MsgBox "Mark added sucessfully", vbInformation
End Sub

Private Sub cmdverify1_Click()


If txtregistrationno.Text = "" Then
MsgBox "please enter the registration no", vbInformation
txtregistrationno.Text = ""
txtregistrationno.SetFocus
Exit Sub
End If

student.RecordSource = "select * from studall where registrationno ='" +


txtregistrationno.Text + "'"
student.Refresh
If student.Recordset.EOF Then
MsgBox "first verification failed .....please enter correct registration number ",
vbCritical
txtregistrationno.Text = ""
txtregistrationno.SetFocus
Else
MsgBox "first verification completed...Please press ok for second verification",
vbInformation
frmstudent.Visible = False
frmsubject.Visible = True
End If
End Sub

Private Sub cmdverify2_Click()

Department of Computer Science & Applications


External Mark Management System Page 138

If txtsubject.Text = "" Then


MsgBox "please enter the Subject Name", vbInformation
txtsubject.Text = ""
txtsubject.SetFocus
Exit Sub
End If

subject.RecordSource = "select * from subject where subject ='" + txtsubject.Text +


"' and department ='" + txtcourse.Text + "'and semester ='" + txtsemester.Text + "' "
subject.Refresh
If subject.Recordset.EOF Then
MsgBox "Second verification failed .....please enter correct Subject Name ",
vbCritical
txtsubject.Text = ""
txtsubject.SetFocus

Else
MsgBox "Second verification completed...Please press ok to add student mark",
vbInformation
frmstudent.Visible = False
frmsubject.Visible = False
frmadd.Visible = True
lblregister.Caption = txtregistrationno.Text
lblname.Caption = txtname.Text
lblsubject.Caption = txtsubject.Text
lblcourse.Caption = txtcourse.Text
lblsemester.Caption = txtsemester.Text
lblteacher.Caption = txtteacher.Text

End If
End Sub

Department of Computer Science & Applications


External Mark Management System Page 139

Private Sub cmdnext1_Click()


frmadd2.Visible = True
End Sub

Private Sub Form_Load()


mark.Recordset.AddNew
End Sub

Private Sub Image1_Click()


Unload MDIForm1
Unload Me
Form1.Show
End Sub

Private Sub Image2_Click()


Unload Me
MDIForm1.Show
End Sub

Private Sub opt30_Click()


txttam.Text = ""
txtsam.Text = ""
txtzem.Text = ""
txttam.Text = "5"
txtsam.Text = "10"
txtzem.Text = "10"
End Sub

Private Sub opt50_Click()

Department of Computer Science & Applications


External Mark Management System Page 140

txttam.Text = ""
txtsam.Text = ""
txtzem.Text = ""
txttam.Text = "10"
txtsam.Text = "15"
txtzem.Text = "20"
End Sub

Private Sub txtaem_Change()


txtassignment.Text = txtaem.Text
End Sub

Private Sub txtam_Change()


txtattendance.Text = txtam.Text
End Sub

Private Sub txtattclass_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtbmg_Change()


txtbehavioural.Text = txtbmg.Text
End Sub

Private Sub txtbmg_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Or
KeyAscii = 46 Then

Department of Computer Science & Applications


External Mark Management System Page 141

Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If

End Sub

Private Sub txtem_Change()


txtexamination.Text = txtem.Text
End Sub

Private Sub txtfem_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtfgiven_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Or
KeyAscii = 46 Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtfmg_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Or
KeyAscii = 46 Then

Department of Computer Science & Applications


External Mark Management System Page 142

Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtsem_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtsgiven_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Or
KeyAscii = 46 Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txtsmg_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Or
KeyAscii = 46 Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Department of Computer Science & Applications


External Mark Management System Page 143

Private Sub txttem_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txttgiven_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Or
KeyAscii = 46 Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txttmg_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Or
KeyAscii = 46 Then
Else
KeyAscii = 0
MsgBox "Only Digits Allowed like 0-9", vbInformation
End If
End Sub

Private Sub txttotalclass_KeyPress(KeyAscii As Integer)


If (KeyAscii >= vbKey0 And KeyAscii <= vbKey9) Or KeyAscii = vbKeyBack Then
Else
KeyAscii = 0

Department of Computer Science & Applications


External Mark Management System Page 144

MsgBox "Only Digits Allowed like 0-9", vbInformation


End If
End Sub

Marks Manage:

Private Sub cmdclear_Click()

Department of Computer Science & Applications


External Mark Management System Page 145

txtregistration = ""
txtname = ""
txtsubject = ""
txtcourse = ""
txtteacher = ""
txtsemester = ""
txtinternal = ""
txtverify1 = ""
txtverify2 = ""
End Sub

Private Sub cmdclear1_Click()


txtverify1 = ""
txtverify2 = ""
End Sub

Private Sub cmddelete_Click()


Dim sure As Integer
MsgBox "Once the data is deleted, It will cannot be recovered.", vbCritical
sure = MsgBox(" Are you sure about deleting the record ?", vbYesNo +
vbExclamation)
If sure = vbYes Then
internal.Recordset.Delete
MsgBox "Particular record detail is sucessfully removed.", vbInformation
Else
MsgBox "Particular record detail was not removed ", vbInformation
End If
End Sub

Private Sub cmdedit_Click()


txtregistration.Enabled = True

Department of Computer Science & Applications


External Mark Management System Page 146

txtname.Enabled = True
txtsubject.Enabled = True
txtcourse.Enabled = True
txtteacher.Enabled = True
txtsemester.Enabled = True
txtinternal.Enabled = True
End Sub

Private Sub cmdnext_Click()


internal.Recordset.MoveNext
internal.Caption = internal.RecordSource
End Sub

Private Sub cmdprevious_Click()


internal.Recordset.MovePrevious
internal.Caption = internal.RecordSource
End Sub

Private Sub cmdprint_Click()


DataEnvironment1.Command1 txtverify1
DataReport1.Show
DataReport1.Refresh
DataEnvironment1.rsCommand1.Close

End Sub

Private Sub cmdprints_Click()


DataEnvironment1.subjectmark txt1
DataReport2.Show

Department of Computer Science & Applications


External Mark Management System Page 147

DataReport2.Refresh
DataEnvironment1.rssubjectmark.Close
End Sub

Private Sub cmdsave_Click()


internal.Recordset.Fields("registrationno") = txtregistration
internal.Recordset.Fields("name") = txtname
internal.Recordset.Fields("subject") = txtsubject
internal.Recordset.Fields("teacher") = txtteacher
internal.Recordset.Fields("course") = txtcourse
internal.Recordset.Fields("semester") = txtsemester
internal.Recordset.Fields("internal") = txtinternal
internal.Recordset.Update
MsgBox "Record is successfully Updated", vbInformation

txtregistration = ""
txtname = ""
txtsubject = ""
txtcourse = ""
txtteacher = ""
txtsemester = ""
txtinternal = ""
txtverify1 = ""
txtverify2 = ""
txtregistration.Enabled = False
txtname.Enabled = False
txtsubject.Enabled = False
txtcourse.Enabled = False
txtteacher.Enabled = False
txtsemester.Enabled = False

Department of Computer Science & Applications


External Mark Management System Page 148

txtinternal.Enabled = False
txtverify1.SetFocus
End Sub

Private Sub cmdsearch_Click()


internal.RecordSource = "select * from mark where registrationno ='" +
txtverify1.Text + "' and subject ='" + txtverify2.Text + "'"
internal.Refresh
If internal.Recordset.EOF Then
MsgBox "Teacher not found in the DataBase", vbCritical
Else
internal.Caption = internal.RecordSource

frmmarkgrid.Visible = True
cmdnext.Enabled = False
cmdprevious.Enabled = False
End If
End Sub

Private Sub cmdview_Click()


internal.RecordSource = "select * from mark"
internal.Refresh
internal.Caption = internal.RecordSource
cmdnext.Enabled = True
cmdprevious.Enabled = True
End Sub

Private Sub lbl1_Click()


frmsearch.Visible = True
lbl3.Visible = False
txt1.Visible = False

Department of Computer Science & Applications


External Mark Management System Page 149

cmdprints.Visible = False
End Sub

Private Sub lbl2_Click()


lbl3.Visible = True
txt1.Visible = True
cmdprints.Visible = True
End Sub

Private Sub Timer1_Timer()


If lbl1.ForeColor = &HFFFFFF Then
lbl1.ForeColor = &H0&
lbl2.ForeColor = &HFFFFFF
ElseIf lbl1.ForeColor = &H0& Then
lbl1.ForeColor = &HFFFFFF
lbl2.ForeColor = &H0&
End If
End Sub

9 Conclusion:

BENEFITS:

Department of Computer Science & Applications


External Mark Management System Page 150

LIMITATIONS:
 The size of the database increases day-by-day, increasing the load on the
database back up and data maintenance activity.
 Training for simple computer operations is necessary for the users working on
the system.

10 BIBILOGRAPHY

 FOR FRONT END DEVELOPMENT


www.microsoft.com

Department of Computer Science & Applications


External Mark Management System Page 151

 FOR BACK END DEVELOPMENT


www.mysql.com

www.microsoft.com

 FOR REFERENCES

www.google.com

www.youtube.com

www.wikipedia.org

Department of Computer Science & Applications

You might also like