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

INTRODUCTION

Online Course Registration _____________________________________________________ 1

SYSTEM ANALYSIS

EXISTING SYSTEM

The existing system is purely a manual one. Every process done at this is through persons. It takes more time, paper and pen work. In this the Administrator should done the works earlier, they should prepare the question paper before the exams may start. At the time of exam they may have many works for the office staff and the teaching staff. The office staffs should give the question paper and answer sheet at the right time, if it been delayed then the exam should also be delayed.

PROBLEMS IN THE EXISTING SYSTEM Time consuming process Uses more paper and pencil work Tedious clerical work uses more of manpower undergone while entering details Storing data and protecting data is tedious Allocation of work for employees and searching employee details are tedious

SYSTEM REQUIREMENTS

Hardware Requirements Processor Processor Monitor RAM HD Printer Modem Keyboard Mouse Intel Pentium IV Speed600 MHz 15 SVGA 256MB 20GB Laser Printer 56 KBPS Samsung Logitech

Online Course Registration _____________________________________________________ 2

Software Requirements Operating System Front End tool Back End tool Windows XP Visual Basic 6.0 Microsoft Access

PROPOSED SYSTEM

The proposed system attempts to remove the drawbacks of the above mentioned manual system. In this the student should register himself for the examination. All the personnel details, including topics, registration number, username, password, name, sex, address, date of birth, and qualification are entered and recorded. Thus a database is created for the student with all the necessary details for the administrator.

The student should select the correct question paper. He will be given rights to access a particular question paper for the time and he will not allow opening the existing question papers.

The student has a time limit to perform the examination. The validation performed by the computer eliminates the chances of human errors. Also during the examination, the management need not be bothered about supervision problems.

Benefits of proposed system Searching time is less Greater Efficiency Better information retrieval Viewing bulk amount of data in short duration More reliable system Better Security User friendly interactive

Online Course Registration _____________________________________________________ 3

SYSTEM SPECIFICATION

OPERATING SYSTEM

The operating system used for this project is Windows XP. Windows XP combines a bright, fresh new look with a simple-to-use design. Windows XP is a new Windows that represents a major shift in personal computing. Windows XP gives users to the freedom to experience the digital world by building on the momentum of the internet and the digital media with improvements that increase dependability and productivity for home users. Windows XP puts the exciting experience of the digital age at users fingertips by uniting PCs, devices and services with enhanced reliability, security and performance.

Windows XP The XP stands for Experience. The name Windows XP represents Microsofts focus on enabling end-to-end experience, unlocking, and the power of PC and empowering users to make the most of their computer experience in the simplest way possible. With Windows XP Microsoft is extending the power of the PC to devices, web services and applications that enable the broadest set of experiences.

New Features Windows XP Professional has many features and tools that will make using your computer easy, effective, and entertaining. For example, you can use Remote Desktop to access your work computer and its resources from home, and to view files and documents on your computers desktop from a co-workers computer. With Net Meeting, you can have

virtual meetings with anyone, anywhere, and you can participate in discussions using audio, video, or chat. Getting help has never been easier: with Remote Assistance, you just send email to your favorite computer expert or Help desk personnel and they can help you fix a problem from their location. Windows XP Professional provides extensive online Help for all operating system features, as well as a digital tour to help you discover the possibilities awaiting you.

Online Course Registration _____________________________________________________ 4

Home Edition & Professional Edition Windows XP Home Edition is designed to deliver the power and reliability of Windows 2000 to the home user, while improving on the best of Windows Me and providing application compatibility for users moving from either Windows 2000 or Windows Me/98/98 SE. Windows XP Professional is a superset of Windows XP Home Edition and offers numerous additional technologies and features including roaming profiles, remote desktop, domain account support and dual processor support. Windows XP Professional meets the requirements for C2 security certification and includes Encrypting File Systems (EFS).

SOFTWARE DESCRIPTION

Visual Basic Version 6.0 is the newest edition to the family of the Visual Basic products. It allows you to develop windows application quickly and easy for your PC with being and expert in C++ or any other programming languages.

It aims at providing the user an interface that is intuitive and easy to use. In developing such an interface, the programmer employees user-friendly features as windows, menus, buttons and list boxes.

In visual basic the components can be moved, resized and even deleted if so required. There are no restrictions on the number of controls that can be placed on a form. The programmer can create the user interface, he can align move or resize the components as required without writing any codes. The interface components provided by the visual programming environments have some code built into them behind the code wizard windows lay the Integrated Development Environment. The IDE is an important part of visual basic. It is where you put together your application and where you will spend much of your time when creating much of your application.

IDE is a term commonly used in the programming world to describe the interface and environment you used to create your application.

Online Course Registration _____________________________________________________ 5

It is called integrated because you can access virtually, all of the development tools you need from one screen called interface, the IDE is also commonly referred to the design environment, the program are just the IDE Menu Bar Tool Bar Properties Window Project Explorer Form Layout Window Form Designer Object Browser

Menu Bar: The menu bar is the line of text that lies across the top of the visual Basic window. Its very much like menus you may have seen in other windows applications. The menu, you can access too many features with in the development environment.

Tool Bar: Immediately below the menu bar should be the visual basic tool bar. If it is not visible when click view->Toolbar->standard. Now you can control the whole visual basic environment from the menu bar, but the tool bar gives you easy access to the menu bar commands, which is most frequently used.

Properties Window: Docked under the project explorer window is the properties window. The properties windows expose the various characteristics of selected objects. Each and every controls appear in the form in an application is an object. Each object in Visual Basic characteristics such as color and size in the properties window, you will see a list of properties belonging to an object.

Online Course Registration _____________________________________________________ 6

Project Explorer: Docked on the right side of the screen just under the tool bar, is the project explorer window. The project explorer is your quick references to the various elements such as forms, classes and modules in the project.

Form Layout Window: The Form layout window is a simple but useful tool. Its purpose is to simple give you a thumbnail view of the current form, showing what it looks like and how it is positioned on the screen at run time.

Form Designer: In the center of the screen you will see the form designer. This is the workspace where you actually design the visual layout of the form and control that on it. The form has little boxes in the center of the form. These boxes are called anchor with which you can resized the form.

DATABASE DESCRIPTION

MS-ACCESS, a Relational Database Management System (RDBMS) was developed in 2003. MS-ACCESS has been ported to a large number or platforms and now works over a variety of networks MS-ACCESS 2003 is an umbrella term for a whole family of software, which includes, the MS-ACCESS 2003 DBMS, tools for application development, case and office automation. MS-ACCESS 2003 RDBMS is available on a wide range of platforms ranging from PCs to super computers and as a multi user Network Loadable Module (NLM) for a Novell Netware MS-ACCESS stands for structured query language, which is used to communicate with the relational database which is in turn a set of relate information stored in the form of the table.

MS-ACCESS is non- procedural language because it processes set of records rather than just one data at a time and also provides automatic navigation of data. Here one can manipulate a

Online Course Registration _____________________________________________________ 7

set of rows than one at a time. MS-ACCESS commands allow a set of row as input and set of rows as output.

MS-ACCESS is utilized as the communication language with the database among the database users database administrators, security administrators and application programmers.

MS-ACCESS provides commands for a variety of tasks including. Querying Data Inserting, Updating and Deleted rows in an Object, Creating, Replacing, Altering and Dropping Objects. Controlling access to the database and its object guaranteeing database consistency and integrity.

The MS-ACCESS language is subdivided according to their function as follows. Data Definition Language (DDL) Data Manipulation Language (DML) Transaction Control Language (TCL)

MS-ACCESS 2003 is Object Relational Database Management System (ORDBMS). MSACCESS 2003 database that offers capabilities of both relational and object Oriented Database System. MS-ACCESS 2003 support very large database that could contain Hundreds of tetra bytes of Information. It also provides access to many concurrent users to the order of thousands.

A large table that is partitioned can enhance performance because accessing can be done on multiple partitions in parallel. Even if one more partitions can be managed individually, thereby allowing more efficient management of the database.

MS-ACCESS 2003 provides ten-size improvement. It can support ten times the amount of data. Database can stretch into thins of terabytes of data. Individual table can now have up to 1000 columns. In addition, the database can now support very large objects known as LOBS.

Online Course Registration _____________________________________________________ 8

As a single occurrence of LOB we can hold upto four gigabytes of data. The data can even be to the database MS-ACCESS 2003 is up to ten times faster.

Portability MS-ACCESS 2003 runs across so many platforms. The Data from, say an MS-DOS machine can very easily be used on a Novell Network or VMS environments without making any changes. This fact is major relevance to organization, which use multiple environments but need common access to the data residing on diverse machines.

Ease of Use MS-ACCESS 2003 does not require a sound knowledge programming or in DBMS to work with it. It provides an easy - to- work environment.

Online Course Registration _____________________________________________________ 9

SYSTEM DESCRIPTION The various processes taking place in the ONLINE COURSE REGISTRATION is broadly classified into TWO main modules: File Help File Home Form Record Print Exit Home Home module consists of the basic details of the project. It tells we can enter the project or exit the project information. Form Form module contains the entire form details about this project. it also consists of code, course details and student details. Record The Record module consists of student records details Print The print module contains print details

Exit The exit module will exit and come out of the project. Help: About
Online Course Registration _____________________________________________________ 10

About This module contains help details about this project.

Online Course Registration _____________________________________________________ 11

SYSTEM IMPLEMENTATION

Validation Checks: Verification of the Users: - Both username and password are mandatory. - The size of username must be 15 characters long.

Errors and Exception handling: A proper mechanism of error handling is necessary in the system.

Comments: Comments are an integral path of any system. Like any properly developed and maintained system with high quality, this system too has sufficient comments and description of the processes, functions, classes and data structures.

Coding Standards: The defined coding standards of the software developer may be followed. A sample clause in coding standard may be: A consistent naming pattern is one of the most important elements of predictability and discoverability in a managed code. For each type one must follow the defined capitalization styles, case sensitivity, and word choice.

Online Course Registration _____________________________________________________ 12

FUTURE ENHANCEMENT 1. This project can be done in online by using the advanced software. 2. In future this project can be implemented in vb.net as front end and SQL as back end.

3. We can improve the efficiency of the student by changing the model course details by increasing the number of the options.

Online Course Registration _____________________________________________________ 13

CONCLUSION In this project much preference is given to the user to make the system user friendly. The entries made by the user through the keyboard terminal are very rare since we provide the facility to select item from a specified list. In most of the cases, the data regarding the selected item is automatically generated in the data entry boxes and the users need to enter limited data so that the factor of easy data input is achieved.

Also, the user is instructed throughout the transaction procedure which helps the user to avoid invalid entries. In case of invalid entries and violation of date limits, the user is prompted with appropriate messages which help him to correct his entries. The entries made by the user are validated against the specified data format. ie., he cannot input a non-numeric value where a numeric value is expected. Also, the software carries our test for each data entered by the user.

In addition to all these the reports that this system generates are compatible in format when compared with the manual reports. Thus this project is concentrated upon the fulfillments of needs of the user and makes the user satisfied with the new system.

Online Course Registration _____________________________________________________ 14

11. BIBILOGRAPHY

Book References: 1. Microsoft Visual Basic 2008 Step by Step Fourth Edition Michael Halvorson Microsoft Press Pvt. Ltd.

2. Simply Visual Basic 2008 New Edition Paul Deitel, H.M Deitel, and G. J. Ayer Prentice Hall Pvt. Ltd.

3. Programming Microsoft Visual Basic 2005 Seventh Edition Francesco Balena Microsoft Press Pvt. Ltd. 4. Database Access With Visual Basic 6 Fourteenth Edition Jeffrey P. McManus Sams Pvt. Ltd.

5. Software Engineering Eight Editions Ian Sommerville Dorling Kindersley Pvt. Ltd.

Web References: 1. http://www.google.com/ 2. http://www.visualbasicbooks.com/ 3. http://www.vbhappycodings.com/ 4. http://www.onlinecomputerbooks.com/ 5. http://www.amazon.com/

Online Course Registration _____________________________________________________ 15

Online Course Registration _____________________________________________________ 16

APPENDIX

SAMPLE CODE: Module Dim Conn As New ADODB.Connection Dim rsmatric1 As New ADODB.Recordset Public Sub Connect() On Error Resume Next Conn.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Data "\data.mdb")) End Sub

Source="

&

(App.Path

&

Public Sub matric1() Call Connect rsmatric1.Open "Select * From data Order by matric desc", Conn, adOpenStatic, adLockOptimistic Set Form3.DataCombo1.RowSource = rsmatric1 Form3.DataCombo1.ListField = "matric" Set rsmatric1 = Nothing Set Conn = Nothing End Sub

Course Registration Private Sub about_Click() about1.Show End Sub Private Sub Adodc1_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset) On Error Resume Next If Val(Adodc1.Recordset.RecordCount) <= 0 Then Adodc1.Caption = "0" Label9.Caption = "0" Text20.Text = "" Text21.Text = "" Text22.Text = "" Text23.Text = "" Text24.Text = "" Text25.Text = ""
Online Course Registration _____________________________________________________ 17

Text26.Text = "" Text27.Text = "" Text28.Text = "" Text29.Text = "" Text30.Text = "" Text31.Text = "" Text32.Text = "" Text33.Text = "" Text34.Text = "" Text35.Text = "" Text36.Text = "" Text37.Text = "" Text38.Text = "" Else Adodc1.Caption = (Adodc1.Recordset.AbsolutePosition) Label9.Caption = (Adodc1.Recordset.RecordCount) Text20.Text = (Adodc1.Recordset.Fields(0)) Text21.Text = (Adodc1.Recordset.Fields(1)) Text22.Text = (Adodc1.Recordset.Fields(3)) Text23.Text = (Adodc1.Recordset.Fields(2)) Text24.Text = (Adodc1.Recordset.Fields(25)) Text25.Text = (Adodc1.Recordset.Fields(4)) Text26.Text = (Adodc1.Recordset.Fields(11)) Text27.Text = (Adodc1.Recordset.Fields(5)) Text28.Text = (Adodc1.Recordset.Fields(12)) Text29.Text = (Adodc1.Recordset.Fields(6)) Text30.Text = (Adodc1.Recordset.Fields(13)) Text31.Text = (Adodc1.Recordset.Fields(7)) Text32.Text = (Adodc1.Recordset.Fields(14)) Text33.Text = (Adodc1.Recordset.Fields(8)) Text34.Text = (Adodc1.Recordset.Fields(15)) Text35.Text = (Adodc1.Recordset.Fields(9)) Text36.Text = (Adodc1.Recordset.Fields(16)) Text37.Text = (Adodc1.Recordset.Fields(10)) Text38.Text = (Adodc1.Recordset.Fields(17)) End If End Sub Private Sub Combo1_Change() If Combo1.Text = "" Then Combo1.Text = "0" End If End Sub Private Sub Combo2_Change() If Combo2.Text = "" Then Combo2.Text = "0" End If
Online Course Registration _____________________________________________________ 18

End Sub Private Sub Combo3_Change() If Combo3.Text = "" Then Combo3.Text = "0" End If End Sub Private Sub Combo4_Change() If Combo4.Text = "" Then Combo4.Text = "0" End If End Sub Private Sub Combo5_Change() If Combo5.Text = "" Then Combo5.Text = "0" End If End Sub Private Sub Combo6_Change() If Combo6.Text = "" Then Combo6.Text = "0" End If End Sub Private Sub Combo7_Change() If Combo7.Text = "" Then Combo7.Text = "0" End If End Sub Private Sub Command1_Click() If Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Or Text4.Text = "" Or Text5.Text = "" Or Text6.Text = "" Or Text7.Text = "" Or Text8.Text = "" Or Text9.Text = "" Or Text10.Text = "" Or Text11.Text = "" Or Text12.Text = "" Or Text13.Text = "" Or Text14.Text = "" Or Text16.Text = "" Or Text17.Text = "" Or Text18.Text = "" Or Text19.Text = "" Then MsgBox "All fields required not to be a null value. Please put (-) to the empty field.", vbExclamation, "Alert" Exit Sub End If Dim x1 As Single Dim x2 As Single Dim x3 As Single Dim x4 As Single Dim x5 As Single
Online Course Registration _____________________________________________________ 19

Dim x6 As Single Dim x7 As Single x1 = Combo1.Text x2 = Combo2.Text x3 = Combo3.Text x4 = Combo4.Text x5 = Combo5.Text x6 = Combo6.Text x7 = Combo7.Text Text15.Text = x1 + x2 + x3 + x4 + x5 + x6 + x7 If Text15.Text < 9 Then MsgBox "Your total credit hour must not less than 9", vbExclamation, "Alert" Exit Sub Else If Command1.Caption = "&Add" Then Adodc1.Recordset.AddNew Adodc1.Recordset.Fields(4) = (Text1.Text) Adodc1.Recordset.Fields(5) = (Text2.Text) Adodc1.Recordset.Fields(6) = (Text3.Text) Adodc1.Recordset.Fields(7) = (Text4.Text) Adodc1.Recordset.Fields(8) = (Text5.Text) Adodc1.Recordset.Fields(9) = (Text6.Text) Adodc1.Recordset.Fields(10) = (Text7.Text) Adodc1.Recordset.Fields(11) = (Text8.Text) Adodc1.Recordset.Fields(12) = (Text9.Text) Adodc1.Recordset.Fields(13) = (Text10.Text) Adodc1.Recordset.Fields(14) = (Text11.Text) Adodc1.Recordset.Fields(15) = (Text12.Text) Adodc1.Recordset.Fields(16) = (Text13.Text) Adodc1.Recordset.Fields(17) = (Text14.Text) Adodc1.Recordset.Fields(25) = (Text15.Text) Adodc1.Recordset.Fields(0) = (Text16.Text) Adodc1.Recordset.Fields(1) = (Text17.Text) Adodc1.Recordset.Fields(2) = (Text18.Text) Adodc1.Recordset.Fields(3) = (Text19.Text) Adodc1.Recordset.Fields(18) = (Combo1.Text) Adodc1.Recordset.Fields(19) = (Combo2.Text) Adodc1.Recordset.Fields(20) = (Combo3.Text) Adodc1.Recordset.Fields(21) = (Combo4.Text) Adodc1.Recordset.Fields(22) = (Combo5.Text) Adodc1.Recordset.Fields(23) = (Combo6.Text) Adodc1.Recordset.Fields(24) = (Combo7.Text) Adodc1.Recordset.Update
Online Course Registration _____________________________________________________ 20

MsgBox "New Record has been added.", vbInformation, "Course Registration System" End If

If Command1.Caption = "&Save" Then Adodc1.Recordset.Fields(4) = (Text1.Text) Adodc1.Recordset.Fields(5) = (Text2.Text) Adodc1.Recordset.Fields(6) = (Text3.Text) Adodc1.Recordset.Fields(7) = (Text4.Text) Adodc1.Recordset.Fields(8) = (Text5.Text) Adodc1.Recordset.Fields(9) = (Text6.Text) Adodc1.Recordset.Fields(10) = (Text7.Text) Adodc1.Recordset.Fields(11) = (Text8.Text) Adodc1.Recordset.Fields(12) = (Text9.Text) Adodc1.Recordset.Fields(13) = (Text10.Text) Adodc1.Recordset.Fields(14) = (Text11.Text) Adodc1.Recordset.Fields(15) = (Text12.Text) Adodc1.Recordset.Fields(16) = (Text13.Text) Adodc1.Recordset.Fields(17) = (Text14.Text) Adodc1.Recordset.Fields(25) = (Text15.Text) Adodc1.Recordset.Fields(0) = (Text16.Text) Adodc1.Recordset.Fields(1) = (Text17.Text) Adodc1.Recordset.Fields(2) = (Text18.Text) Adodc1.Recordset.Fields(3) = (Text19.Text) Adodc1.Recordset.Fields(18) = (Combo1.Text) Adodc1.Recordset.Fields(19) = (Combo2.Text) Adodc1.Recordset.Fields(20) = (Combo3.Text) Adodc1.Recordset.Fields(21) = (Combo4.Text) Adodc1.Recordset.Fields(22) = (Combo5.Text) Adodc1.Recordset.Fields(23) = (Combo6.Text) Adodc1.Recordset.Fields(24) = (Combo7.Text) Adodc1.Recordset.Update Adodc1.Recordset.Update MsgBox "Record has been successfully save.", vbInformation, "Course Registration System" End If End If Command2_Click 'DataCombo1.Refresh End Sub Private Sub Command2_Click() Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = ""
Online Course Registration _____________________________________________________ 21

Text5.Text = "" Text6.Text = "" Text7.Text = "" Text8.Text = "" Text9.Text = "" Text10.Text = "" Text11.Text = "" Text12.Text = "" Text13.Text = "" Text14.Text = "" Text15.Text = "" Text16.Text = "" Text17.Text = "" Text18.Text = "" Text19.Text = "" Combo1.Text = "0" Combo2.Text = "0" Combo3.Text = "0" Combo4.Text = "0" Combo5.Text = "0" Combo6.Text = "0" Combo7.Text = "0" End Sub Private Sub Command3_Click() Dim str1, str2, str3 As String str1 = InputBox("Search by Matric Number.") If str1 = "" Then MsgBox "Please insert matric number to search!", vbInformation, "Course Registration System" Else Adodc1.Recordset.Filter = "matric ='" & str1 & "'" End If End Sub Private Sub Command4_Click() Adodc1.Recordset.Fields(0) = (Text20.Text) Adodc1.Recordset.Fields(1) = (Text21.Text) Adodc1.Recordset.Fields(3) = (Text22.Text) Adodc1.Recordset.Fields(2) = (Text23.Text) Adodc1.Recordset.Fields(25) = (Text24.Text) Adodc1.Recordset.Fields(4) = (Text25.Text) Adodc1.Recordset.Fields(11) = (Text26.Text) Adodc1.Recordset.Fields(5) = (Text27.Text) Adodc1.Recordset.Fields(12) = (Text28.Text) Adodc1.Recordset.Fields(6) = (Text29.Text) Adodc1.Recordset.Fields(13) = (Text30.Text) Adodc1.Recordset.Fields(7) = (Text31.Text)
Online Course Registration _____________________________________________________ 22

Adodc1.Recordset.Fields(14) = (Text32.Text) Adodc1.Recordset.Fields(8) = (Text33.Text) Adodc1.Recordset.Fields(15) = (Text34.Text) Adodc1.Recordset.Fields(9) = (Text35.Text) Adodc1.Recordset.Fields(16) = (Text36.Text) Adodc1.Recordset.Fields(10) = (Text37.Text) Adodc1.Recordset.Fields(17) = (Text38.Text) Adodc1.Recordset.Update Adodc1.Recordset.Update MsgBox "Changes has been successfully save.", vbInformation, "Course Registration System" End Sub Private Sub Command5_Click() On Error Resume Next Dim repp As Integer If Val(Adodc1.Recordset.RecordCount) <= 0 Then MsgBox "No more Records to be deleted.", vbInformation, "Confirm" Exit Sub End If repp = MsgBox("You are about to delete 1 record.", vbCritical + vbYesNo, "Confirm Delete") If repp = vbYes Then Adodc1.Recordset.Delete Adodc1.Recordset.MoveNext If Adodc1.Recordset.EOF Then Adodc1.Recordset.MoveLast End If MsgBox "Record has been successfuly deleted.", vbInformation, "Confirm" End If End Sub Private Sub Command6_Click() Form3.Show Unload Me End Sub Private Sub Command8_Click() Adodc1.Refresh End Sub Private Sub exit_Click() Dim iReply As Integer iReply = MsgBox("Are You Sure ?", vbYesNo + vbQuestion, "Exit") If iReply = vbYes Then End End If End Sub
Online Course Registration _____________________________________________________ 23

Private Sub Form_Activate() Text16.SetFocus End Sub Private Sub Form_Load() Adodc1.ConnectionString = ("Provider=Microsoft.Jet.OLEDB.4.0;Data (App.Path & "\data.mdb")) Adodc1.RecordSource = "Select * From data order by matric desc" Set DataGrid1.DataSource = Adodc1 DataGrid1.AllowUpdate = False SSTab1.Tab = 0 End Sub Private Sub form1_Click() SSTab1.Tab = 0 End Sub Private Sub home_Click() Form2.Show Unload Me End Sub Private Sub Option1_Click() If Option1.Value = True Then DataCombo1.Visible = True End If End Sub Private Sub Option2_Click() If Option2.Value = True Then DataCombo1.Visible = False Label17.Visible = False End If End Sub Private Sub print_Click() SSTab1.Tab = 2 End Sub Private Sub record_Click() SSTab1.Tab = 1 End Sub

Source="

&

Private Sub Text1_LostFocus() Text1.Text = UCase(Text1.Text) End Sub


Online Course Registration _____________________________________________________ 24

Private Sub Text10_LostFocus() Text10.Text = (Text10.Text) End Sub Private Sub Text11_LostFocus() Text11.Text = (Text11.Text) End Sub Private Sub Text12_LostFocus() Text12.Text = (Text12.Text) End Sub Private Sub Text13_LostFocus() Text13.Text = (Text13.Text) End Sub Private Sub Text14_LostFocus() Text14.Text = (Text14.Text) End Sub Private Sub Text16_Change() Text17.Locked = False Text18.Locked = False Text19.Locked = False Adodc1.Recordset.MoveFirst Adodc1.Recordset.Find "matric like '" & Text16.Text & "'" If Adodc1.Recordset.EOF Then Command1.Caption = "&Add" Me.Caption = "Course Registration" Exit Sub Else Text1.Text = (Adodc1.Recordset.Fields(4)) Text2.Text = (Adodc1.Recordset.Fields(5)) Text3.Text = (Adodc1.Recordset.Fields(6)) Text4.Text = (Adodc1.Recordset.Fields(7)) Text5.Text = (Adodc1.Recordset.Fields(8)) Text6.Text = (Adodc1.Recordset.Fields(9)) Text7.Text = (Adodc1.Recordset.Fields(10)) Text8.Text = (Adodc1.Recordset.Fields(11)) Text9.Text = (Adodc1.Recordset.Fields(12)) Text10.Text = (Adodc1.Recordset.Fields(13)) Text11.Text = (Adodc1.Recordset.Fields(14)) Text12.Text = (Adodc1.Recordset.Fields(15)) Text13.Text = (Adodc1.Recordset.Fields(16)) Text14.Text = (Adodc1.Recordset.Fields(17)) Text15.Text = (Adodc1.Recordset.Fields(25)) Text17.Text = (Adodc1.Recordset.Fields(1))
Online Course Registration _____________________________________________________ 25

Text18.Text = (Adodc1.Recordset.Fields(2)) Text19.Text = (Adodc1.Recordset.Fields(3)) Combo1.Text = (Adodc1.Recordset.Fields(18)) Combo2.Text = (Adodc1.Recordset.Fields(19)) Combo3.Text = (Adodc1.Recordset.Fields(20)) Combo4.Text = (Adodc1.Recordset.Fields(21)) Combo5.Text = (Adodc1.Recordset.Fields(22)) Combo6.Text = (Adodc1.Recordset.Fields(23)) Combo7.Text = (Adodc1.Recordset.Fields(24)) Command1.Caption = "&Save" Me.Caption = "Course Registration" Command2.Caption = "Reset" End If End Sub Private Sub Text16_LostFocus() Text16.Text = (Text16.Text) End Sub Private Sub Text17_LostFocus() Text17.Text = (Text17.Text) End Sub Private Sub Text18_LostFocus() Text18.Text = (Text18.Text) End Sub Private Sub Text19_LostFocus() Text19.Text = (Text19.Text) End Sub Private Sub Text2_LostFocus() Text2.Text = UCase(Text2.Text) End Sub Private Sub Text3_LostFocus() Text3.Text = UCase(Text3.Text) End Sub Private Sub Text4_LostFocus() Text4.Text = UCase(Text4.Text) End Sub Private Sub Text5_LostFocus() Text5.Text = UCase(Text5.Text) End Sub Private Sub Text6_LostFocus()
Online Course Registration _____________________________________________________ 26

Text6.Text = UCase(Text6.Text) End Sub Private Sub Text7_LostFocus() Text7.Text = UCase(Text7.Text) End Sub Private Sub Text8_LostFocus() Text8.Text = (Text8.Text) End Sub Private Sub Text9_LostFocus() Text9.Text = (Text9.Text) End Sub

Welcome Screen

Private Sub Command1_Click() form1.Show Unload Me End Sub Private Sub Command2_Click() Dim iReply As Integer iReply = MsgBox("Are You Sure ?", vbYesNo + vbQuestion, "Exit") If iReply = vbYes Then End End If End Sub Private Sub Label3_Click() End Sub

Print Information

Private Sub Command1_Click() form1.Show Unload Me End Sub Private Sub Command6_Click() DataCombo1.Refresh DE1.rsCommand1.Filter = ""
Online Course Registration _____________________________________________________ 27

If Option2.Value = True Then DE1.rsCommand1.Filter = "" End If If Option1.Value = True Then If DataCombo1.Text = "" Then MsgBox "Please select a matric number.", vbExclamation, "Course Registration System" Exit Sub End If DE1.rsCommand1.Filter = "matric ='" & (DataCombo1.Text) & "'" End If DataReport1.Show DE1.rsCommand1.Close End Sub Private Sub Form_Load() Me.Top = 0 Me.Left = 0 Option1.Value = True Call matric1 DataCombo1.Refresh End Sub

Private Sub Option1_Click() If Option1.Value = True Then DataCombo1.Visible = True End If End Sub Private Sub Option2_Click() If Option2.Value = True Then DataCombo1.Visible = False Label17.Visible = False End If End Sub

Online Course Registration _____________________________________________________ 28

SAMPLE SCREEN

Welcome

Online Course Registration _____________________________________________________ 29

Online Course Registration

Online Course Registration _____________________________________________________ 30

Print Information

Online Course Registration _____________________________________________________ 31

Help Information

Online Course Registration _____________________________________________________ 32

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