1. INTRODUCTION 1.1
ORAGANIZATION PROFILE The Railways of India is the principal mode of transportation for
freight and passengers. The Indian railways have played a very important role in the development of industries, agriculture and passenger transportation. The Indian railways consist of a vast network of over 7, 031 stations spread over a route length of 63, 221 km and counting, with a fleet of over 7,817 locomotives, 5,321 passenger service vehicles, 4, 904 other many coaching vehicles. These data have been reported by 2007.
1.2 ABOUT THE PROJECT The
main
objectives
of
this
project
“RAILWAY
ROUTE
INFORMATION” is to maintain and checking route information and timing. This project is to check route information and timing automatically in each item. It maintains details of route information very efficiently giving code number. This project is developed to reduce the burden of data entry operator. User friendliness, therefore the user can give the route information and timing details by user.
1
The following Five regions are covered by this project INDIA SOUTH STATE OF INDIA NORTH STATE OF INDIA WEST STATE OF INDIA EAST STATE OF INDIA EXIT The route information and timing regarding a route is much easier. Automate code for new route information and timing are generated to retrieve particularly.
2
2. STSTEM STUDY 2.1 PROBLEM DEFINITION This project is prepared for maintaining the route information and timing details. This project helps us to give details of each route information and timing details. This package for the proposed system is developed in such a way that it meets the user needs satisfactory. This package developed is very much helpful in solving the problem of the existing system with great accuracy and reliability. In this system the route information and timing reports that contact information regarding customer details: Information about the route Route any state in India Timing information by the customer.
2.2 FEASIBILITY STUDY In this feasibility study, the clear understanding of the problem definition is taken as main criteria. And as an answer to the problem which is stated before is cleared by this phase. Here the Language or Package Selection is taken place in order to make the answer for the problem definition in the simple manner. Here the developer has to identify or checkout many condition like, using which he/she is going to develop the project, which type of database he/she is going to use. These information or suggestion is taken in this feasibility study phase. 3
2.3 EXISTING SYSTEM Before Computerization while considering the system manually, it is not an easy job to maintain all the records. The records should be maintained in a good manner. While considering the reservation, we have addition, deletion and modification of the records. For this purpose we have to maintain many files. While doing by manual process, it takes more time and there is a chance for making error. So it is not easy to do by manual. Computerization is suggested for doing all the Process in the Railway route information System. Computerization is a fast and efficient way to retrieve the information for the Passengers.
2.4 LIMITATION OF THE EXISTING SYSTEM The existing system is to be changed to overcome the following difficulties: In the Previous Usage of Railway route information system are done by using FoxPro. Nowadays this project only accessible by all the places. FoxPro is a DOS based environment. So each and every command we have to remember and use the project and there is no graphical representation of forms. There is no mouse interaction too. So using FoxPro is somewhat tedious for the end use.
4
2.5 PROPOSED SYSTEM Compared to FoxPro, Visual Basic is more efficient and Graphical User Interface (GUI).In GUI environment everything is an icon, In Visual Basic, we can give forms with pictorial and graphical representations. This will be more interactive for users. The person having no knowledge about the language of the
project can also access the project. Hence the project
will be more useful for the end users. This system contains more reports than the existing system. It gives sufficient information to the users. The system designed more effectively compare to existing system. The proposed system developed using Visual Basic as front end tool and Microsoft Access as Back end tool. Using Visual Basic we can design a form with attractive & interactive manner. It maintains more tables to store details properly.
5
3. SYSTEM SPECIFICATION 3.1 HARDWARE SPECIFICATION HARDWARE PROCESSOR
MINIMUM
RECOMMENDED
PENTIUM II 233 MHZ PENTIUM III 433 OR 32 MB RAM
ABOVE
RAM
36X
64 MB RAM
CDROM DRIVE
810 COMPONENT
52X
CHIPSET
4GB
810E OR GREATER
HARD DISK
1.44 MB
10GB OR ABOVE
FLOPPY DRIVE
SVGA MONITOR
1.44MB
MONITER
101 OR 104 KEYS
SVGA DIGITAL
KEY BOARD
104 2 BUTTON MOUSE
MOUSE DISPLAY CARD
INTERNET
KEYBOARD 3
PCI VGA CARD
OR
BUTTON
WITH
SCROLL AGP WITH 3D ACCL.
6
3.2 SOFTWARE SPECIFICATION SOFTWARE
MINIMUM
RECOMMENDED
OPERATING SYSTEM
WIN 95/NT
WIN 98/NT/2000
VB RUNTIME
VERSION 5.0
VERSION5.0 OR 6.0
ACTIVE X
COMMON DIALOG,
COMMON DIALOG,
CONTROLS
INTERNET
INTERNET
CONTROLS
CONTROLS
3.3 WINDOWS98 Windows 98 was released in June 1998. This release provides correction for problems reported with Windows 95 and introduces new features. Windows 98 provides multiples, simultaneous connection to a variety of networks (Windows NT, Novell NetWare, and others) and a variety of resources (Files, Programs, Printers, Host system, and Mail systems) over most popular media (Ethernet, Token Ring,X.25,ATM, and ISDN)from almost any location. Windows 98 networking capabilities are implemented using a high performance, reliable, and open architecture based on the Windows Open Services Architecture (WOSA) specification. This approach provides users with a consistent interface to different service on the front end, while giving system administrators the flexibility to mix and multiple services on the back end.
7
3.4 SOFTWARE FEATURES The operating environment for Windows 98 consists of a computer’s hard devices and the following software components: • Virtual Machine Manager (VMM). • Virtual Devices(VxDs) • Device Drivers • 16-and 32-bit Windows Dynamic Link Libraries (DLLs) • MS-DOS – based applications. • 16- and 32-bit Windows –based applications.
3.5 VVIRTUAL MACHINE MANAGER The virtual machine manager (VMM) is the 32-bit protected-mode operating system at the core of Windows 95/98. Its primary responsibility is to create, run, monitor, and terminate virtual machines. The VMM provides services that manage memory, processes, interrupts, and exceptions such as general protection faults. The VMM works with virtual devices, 32-bit protected-mode modules, to allow the virtual devices to intercepts and faults to control the access that an application has to hardware devices and installed software.
8
Both the VMM and virtual devices run in a single, 32-bit, flat model address space at privilege level0 (also called ring 0). The system creates two Global Descriptor Table (GDT) selectors, one for code and the other for data, and uses the selectors in the CS, DS, SS, and ES segment registers. Both selectors have a base address of zero and a limit of 4 gigabytes (GBs), so all the segment registers point to the same range of addresses. The VMM and virtual devices never change these registers. The VMM provides multiple-threaded, preemptive multitasking. It runs multiple applications simultaneously by sharing CPU (central processing unit) time between the virtual machines in which the applications run. The VMM is also non reentrant. This means that virtual devices must synchronize and events, to help virtual devices reentering the VMM.
3.6 VIRTUAL DEVICES Virtual devices (VxDs) are 32-bit programs that support the device independent VMM by managing the computer’s hardware devices and supporting software. VxDs support all hardware devices for a typical computer, including the programmable interrupt controller (PIC), timer, direct memory access (DMA) device, disk controller, serial ports, parallel ports, keyboard, and display adapter. A VxD is required for any hardware device that has settable operating modes or retains data over any period of time. In other words, if the state of the hardware device can be disrupted by switching between multiple virtual machines or applications, the device must have a corresponding VxD.
9
3.7 DEVICE DRIVERS A Windows device driver is a DLL that Windows uses to interact with a hardware device such as a display or keyboard. Rather than access devices to directly, Windows loads device drivers and calls functions in the drivers to carry out actions on the device. Each device driver exports a set of functions; Windows calls these functions to complete an action, such as drawing a circle or translating a keyboard scan code. The driver functions also contain the device-specific code needed to carry out actions on the device. Windows requires device drivers for the display, keyboard, and communication ports. Other drivers may also be required if the user adds optional devices to the system.
10
3.8 DYNAMIC LINK LIBRARIES Dynamic linking provides a mechanism for linking applications to libraries of functions at runtime. The libraries reside in their own executable files and are not copied into an application’s executable file as with static linking. These libraries are “dynamically linked” because they are linked to an application when it is loaded and executed rather than when it is linked. When an application uses a DLL, the operating system loads the DLL into memory, resolves references to functions in the DLL so that they can be called by the application, and unloads the DLL when it is no longer needed. Dynamic linking can be performed explicitly by applications or implicitly by the operating system. DLLs are designed to provide resources to applications; many applications can use the code in a DLL, meaning that only one copy of the code is resident in the system. Also, it is possible to update a DLL without changing application that use the DLL, as long as the interface to the functions in the DLL does not change. Software developers can extend the Windows environment by creating a DLL that contains routines for performing operations and then making the DLL available to other Windows-based application (in addition to internal Windows routines). DLLs most often appear as with a .DLL filename extension; however, they may also have an .EXE or other filename extension.
11
3.9 WINDOWS BASED APPLICATIONS Windows 95/98 supports 16-bit application written for windows version 3.x as well as 32-bit application that use the Win32 or Microsoft® Win32s API. For 16-bit application, Windows 95/98 preserves the cooperative multitasking model used in windows version 3.x; that is. All 16bit application share the same virtual address space, the same message queue, and the same thread of execution. By contrast, each 32-bit Windows based application has its own address space, a private message queue, and one or more threads of execution. In addition, each 32-bit thread is preemptively multitasked.
3.10 MICROSOFT VISUAL BASIC6.0 Microsoft Visual Basic, the fastest and easiest way to create application for Microsoft Windows. Whether you are an experienced professional or brand new to windows programming, Visual Basic provides you with a complete set of tools to simplify rapid application development. What is Visual Basic? The “Visual” part refers to the method used to create the graphical user interface (GUI). Rather than writing numerous lines of code to describe the objects into place on screen. If you’ve ever used a drawing program such as paint, you already have most of the skills necessary to create an effective user interface.
12
The “Basic” part refers to the BASIC (Beginners All-Purpose Symbolic Instruction Code) language, a language used by more programmers than any other language in the history of computing. Visual Basic has evolved from the original BASIC language and now contains several hundred statements, functions, and keywords, many of which relate directly to the Windows GUI. Beginners can create useful language allows professionals to accomplish anything that can be accomplished using any other Windows programming language. The Visual Basic programming language is not unique to Visual Basic. The Visual Basic programming system, Application Edition included in Microsoft Excel, Microsoft Access, and many other Windows application uses the same language. The Visual Basic Scripting Edition (VBScript) is a widely used scripting language and a subset of the Visual Basic language. The investment you make in learning Visual Basic will carry over to these other areas. Whether your goal is to create a small utility for yourself or your work group, a large enterprise-wide system, or even distributed applications spanning the globe via the Internet, Visual Basic has the tools you need. Data access features allow you to create databases, front-end applications, and scalable server-side components for most popular database formats, including Microsoft SQL Server and other enterprise-level databases.
13
ActiveX technologies allow you to use the functionality provided by other application, such as Microsoft Word – Word processor, Microsoft Excel spreadsheet, and other Windows application. You can even automate application and objects created using the Professional or Enterprise editions of Visual Basic.
3.11 ABOUT THE VISUAL BASIC Visual Basic is available in three versions, each geared to meet a specific set of development requirements. The Visual Basic Learning edition allows programmers to easily create powerful applications for Microsoft Windows and Windows NT®. It includes all intrinsic controls, plus grid, tab, and data-bound controls. Documentation provided with this edition includes the Learn VB Now CD plus the Microsoft Developer Network (MSDNTM) Library CDs containing full online documentation. The Professional edition provides computer professionals with a full featured set of tools for developing solutions for others. It includes all the features of the Learning edition, plus additional ActiveX controls, the Internet Information Server Application Designer, integrated Visual Database Tools and Data Environment, Active Data Objects, and the Dynamic HTML Page Designer. Documentation provided with the Professional edition includes the Visual Studio Professional Features book plus
Microsoft
Developer
Network
documentation.
14
CDs
containing
full
online
The Enterprise edition allows professional to create robust distributed applications in a team setting. It includes all the features of the Professional edition, plus Back Office tools such as SQL Server, Microsoft Transaction Server, Internet Information Server, Visual SourceSafe, SNA Server, and more. Printed documentation provided with the Enterprise edition includes the Visual Studio Enterprise Features book plus Microsoft Developer Network CDs containing full online documentation.
3.12 VISUAL BASIC CONCEPTS In order to understand the application development process, it is helpful to understand some of the key concepts upon which Visual Basic is built. Because Visual Basic is a Windows environment is necessary. If you are new to Windows programming, you need to be aware of some fundamental differences between programming for Windows versus other environments. How Windows Works: Works: Windows, Events and Messages A complete discussion of the inner working of Windows would require an entire book. A deep understanding of all of the technical details isn’t necessary. A simplified version of the workings of Windows involves three key concepts: windows, events and messages.
15
Think of a window as simply a rectangular region with its own boundaries. You are probably already aware of several different types of windows: an Explorer window in Window within your word processing program, or a dialog box that pops up to remind you of an appointment. While these are the most common button is a window. Icons, text boxes, options buttons and menu bars are all windows. The Microsoft Windows operating system manages all of these many windows by assigning each one a unique id number (window handle or hWnd). The system continually monitors each of these windows for signs of activity or events. Events can occur through user actions such as a mouse click or a key press, through programmatic control, or even as a result of another window’s actions. Each time an event occurs, it causes a message to be sent to the operating system. The system processes the message and broadcasts it to the other windows. Each window can then take the particular message (for example, repainting itself when it has been uncovered by another window). As you might imagine, dealing with all of the possible combinations of windows, events and messages could be mind-boggling. Fortunately, Visual Basic insulates you from having to deal with all of the low-level message handling. Many of the messages are handled automatically by Visual Basic; others are exposed as Event procedures for your convenience. This allows you to quickly create powerful applications without having to deal with unnecessary details.
16
Understanding the Event-Driven Model In traditional or “procedural” application, the application itself controls which portions of code execute and in what sequence. Execution starts with the first line of code and follows a predefined path through the application, calling procedures as needed. In as event-driven application, the code doesn’t follow a predetermined path – it executes different code sections in response to events. Events can be triggered by the user’s actions, by messages from the system or other applications itself. The sequence of these events determines the sequence in which the code executes, thus the path through the application’s code differs each time the program runs. Because you can’t predict the sequence of events, your code must make certain assumptions about the “state of the world” when it executes. When you make assumptions (for examples, that an entry field must contain a value before running a procedure to process that value),you should structure your application in such a way as to make sure that the assumption will always be valid (for examples, disabling the command button that starts the procedure until the entry field contains a value). Your code can also trigger events during execution. For example programmatically changing the text in a text box cause the text box’s Change event to occur. This would cause the code (if any) contained in the Change event to execute. If you assumed that this event would only be
17
triggered by user interaction, you might see unexpected results. It is for this reason that it is important to understand the event-driven model and keep it in mind when designing your application.
3.13 INTERACTIVE DEVELOPMENT The traditional application development process can be broken into three distinct steps: writing, compiling, and testing code. Unlike traditional languages, Visual Basic uses an interactive approach to development, blurring the distinction between the three steps. With most languages, if you make a mistake in writing your code, the error is caught by the compiler when you start to compile your application. You must then find and fix the error and begin the compile cycle again, repeating the process for each error found. Visual Basic interprets your code as you enter it, catching and highlighting most syntax or spelling errors on the fly. It’s almost like having an expert watching over your shoulder as you enter your code. In addition to catching errors on the fly, Visual Basic also partially compiles the code as it is entered. When you are ready to run and test your application, there is only a brief delay to finish compiling. If the compiler finds an error, it is highlighted in your code. You can fix the error and continue compiling without having to start over.
18
Because of the interactive nature of Visual Basic, you’11 find yourself running your application frequently as you develop it. This way you can test the effects of your code as you work rather than waiting to compile later.
19
4. SYSTEM DESIGN The most creative and challenging phase of the system life cycle is system design. The term design describes a final system and the process by which it is developed. It refers to the technical specifications that will be applied in implementing the proposed system. It also includes the construction of program and designing of output, input, menu, code, database and process of the system.
4.1. INPUT DESIGN Input design is one of the most expensive phases of the operation of computerized system and is often the major problem and is often the major problem of a system. A large number of problems with a system can usually be tracked back. System analysis decide the following input design details like what data to input, what medium to use, how the data should be arranged or coded, data item and transaction needing validation to detect errors and at least the dialogue user in providing input. Input data of system may not be necessarily be raw data captured in the system from scratch. These can also be output of another system or subsystem. The design of input covers all phases of input from the creation of initial data to actual entering the data to the system for processing. The
20
design not inputs involves identifying the data needed, specifying the characteristics of each data item, capturing & preparing data for computer processing and ensuring correctness of data. The following forms are used in Railway Route Information System.
4.2. OUTPUT DESIGN Computer output is the most important and direct source of information to the user, Efficient, Intelligible output design should improve the system’s relationships with the user and help in decision making. A major form of output is the hardcopy from the printer. Reports of the project should be designed around the output requirement of the user. The output devices to consider depend on factors such as compatibility of the device with the system, response time requirements, expected print quality, and number of copies needed. The term output applies to any information produced by an information system, whether printed or displayed. When analyst design computer output, they Identify the specific output that is needed to meet the information requirements.
4.4./DATA MODEL The data modual deals with the stu7cture of the tables, which store the data and information of all the forms. The tables are maintained separately for each form to have easy storage and access them fast. Thus, it overcomes the problem of slow processing and accessing data.
21
4.5. DATA FLOW DIAGRAM The DFD helps to clarify the system requirements and identify major transactions that occur in the software project. It is also called as the “Bubble Chart”. It is a graphical technique that depicts information flow and the transformations that are applied as data more from input to output.
22
5. SYSTEM TESTING & IMPLEMENTATION 5.1. SYSTEM TESTING No program or system design is prefect, communication between the user and the designer is not always complete or clear, and time is usually short. The result is more than more errors theoretically, a new system should have all the pieces in working order, but in reality, each piece works independently. Now is the time to put the pieces into one system and test it to determining whether it satisfies user requirements. This is the chance to detect and correct errors. TESTING OBJECTS:• Testing is a process of executing a program with the intent of finding an error. • A good test case is one that has a high probability of finding on as yet undiscovered error. • A successful test is one that uncovers on as yet undiscovered error. The above objectives simply dramatic changes in view. They move counter to the commonly held view that a successful list is one in which no errors are found.
23
5.2. UNIT TESTING To locate errors focus is given on the modules, independent of other modules this is known as unit testing. This enables us to detect and correct errors without affecting the other modules. When selecting the folder to hide as control panel the folder name will be concatenated with control panel registry value.
5.3. INTEGRATION TESTING The entire project was split into small programs; each of these single programs gives a frame as an output., These programs were tested individually; at last all these programs where combined together by creating another program where all these constructors were used. It gives a lot of problem by not functioning in an integrated manner. The user interface testing is important since the user has to declare that the arrangements made in the frames are convenient and it is satisfied. When the frames where given for the test, the end user (management) gave suggestion. Since they where much exposed to do the work manually, Based on their suggestions the frames were modified and put into practice. Finding a particular folder and if it is needed to be deleted, then the folder can deleted here.
24
5.4. VALIDATION TESTING At the culmination of the black box testing software is completed assembled as a package. Interfacing errors have been uncovered and corrected and a final series do test i.e., validation succeeds when the software functions in manner that can be reasonably accepted by the customer. By testing this project give the idea how it is user friendly and hence this can be operated in simple manner. The study of Administration is need not required.
5.5. OUTPUT TESTING After performing the validation testing the next step is output testing of the proposed system. Since the system cannot be useful if its does not produce the required output. Asking the user about the format in which the system is required tests the output displayed or generated by the system under consideration. Here the output format is considered in two ways. One is screen and another one is printed format. The output format on the screen and found to be corrected as the format was designed in the system phase according to the user needs. And for the hardcopy the output comes according to the specifications requested by the user.Here the output testing does not results in correction in the system.
25
Complete security is achieved by using this project in a user friendly manner.
5.6. USER ACCEPTANCE TESTING User acceptance testing of the system is the key factor the success of any system. The system under consideration is tested for user acceptance by constantly keeping in touch with prospective system at time of development and making change whenever required. This is done with regard to the input screen design and output screen design.
26
6. SYSTEM IMPLEMENTATION AND TRAINING 6.1 SYSTEM IMPLEMENTATION Implementation is the stage in the project where the theoretical design is turned into working systems. The most critical stage is achieving a successful system and in giving confidence on the new system for the users, that it will work efficiently and effectively. It involves careful planning, investigation of the current system and its constraints on implementations, design of methods to achieve the changing over, an evaluation of change over methods. The implementation process begins with preparing a plan for the implementation of the system. According to this plan, the activities are to be carried out in this plan; discussion has been made regarding the equipment, resources and how to test activities, thus a clear plan was prepared for the activities,
6.2 POST IMPLEMENTATION After the installation is completed and the user staff is adjusted to the changes created by the candidate system evaluation and maintenance begin. Operational systems are quickly taken for granted every system requires periodic evaluation after implementation. A post implementation review measures the system’s performance against pre-defined requirements.
27
6.2. TRAINING IMPLEMENTATION There is an aging process that requires a periodic maintenance of hardware and software. The developer should give the full training to the data entry operator in the concern and the typing process should be reduced. The path and abstraction have to be classified to the data entry operator.
28
7. SUGGESTIONS & CONCLUSION SUGGESTION In RAILWAY ROUTE INFORMATION SYSTEM huge bulk of details involved. Handling these data is much tedious work and in manual system these leads to lots of errors. So the use of any software should be implemented so that route information and timing details are made much easier. The use of software may be an error less one and much of this process are made simple.
CONCLUSION The project entitled, as the “RAILWAY ROUTE INFORMATION SYSTEM”, is very useful internees of maintains reports of Route information, Timing Details. This is used to reduce the errors made in human reports and reduces the overhead of the person. There were many drawbacks in the existing system and now them over come by the proposed system. The objectives of this project is to rectify errors, reduce time consuming, increasing sufficiency, and reduce overload, fast accessing and user friendly.
29
8. BIBLIOGRAPHY REFERED BOOKS
1.
Gary Cornell,: “Visual Basic 6 from the ground”, Tenth Reprint, Tata McGraw-Hill, 2001, Chapter3(725-739) and (763-775) Topic: Forms and Controls.
2.
Steven Holzoner,: “Visual Basic 6.0 Programming(Black Book)”, Revised
Edition,
Vikas
Publishing
House
Pvt
Ltd,
2001,
Chapter7(345-413) Topic: ADO Database.
3.
Stephen Charles.: “Software Engineer”, Fifth Edition, Prentice-Hall India Pvt Ltd, 2002, Chapter3 (53-78) Topic: SDLC.
4.
Sanjay Saxeena,: “Ms-Office 2000”,Third Edition, Vikas Publishing House Pvt Ltd, 2002 , Chapter4 (78-142) Topic: Document Handling.
5.
Elias M.Award,: “System Analysis and Design”, Second Edition, Golgotha Publication Pvt Ltd, 1998, Chapter4 (356-358) Topic: System Implementation.
REFFERED WEBSITES: 1. www.vbcode.com 2. www.microsoft.com 3. www.codeguru.com and msdn
30
31