VB Final Report



Comments



Description

CHAPTER 1 OBJECTIVEPAYROLL MANAGEMENT SYSTEM Page 1 PAYROLL MANAGEMENT SYSTEM Page 2 CHAPTER 2 SOFTWARE REQUIREMENT SPECIFICATION 2.1. Introduction 2.1.1 Purpose 2.1.2 Scope 2.1.3 Definitions, Acronyms and Abbreviations 2.1.4 References 2.1.5 Overview 2.2. The Overall Description 2.2.1 Product Perspective 2.2.1.1 Features of TechSketch 2.2.1.2 User Interfaces 2.2.1.3 Hardware Interfaces 2.2.1.4 Software Interfaces 2.2.1.5 Communications Interfaces 2.2.1.6 Functional requirements 2.2.1.7 Non functional requirements 2.2.2 User Characteristics 2.2.3 Constraints 2.2.4 Assumptions and Dependencies 2.2.5 User Documentation PAYROLL MANAGEMENT SYSTEM Page 3 6.3.3.6.6.3.3 Consistency 2.1 Maintainability 2.3.6 Software System Attributes 2.3.7 Software System Attributes 2.10 Maintainability 2.7.7.3.3.1 System Feasibility 2.2 Functions 2.7.7.3.5 Security 2.3.3. Specific Requirements 2.2.7.3 Software attribute 2.7.4 Compatibility 2.6 Reliability & Robustness 2.1 External Interfaces 2.9 Flexibility 2.7.8 Extensibility 2.2 Availability 2.3.7.7 Performance 2.7.3.3.3.3.5 Design Constraints 2.3.3.3 Correctness 2. Document Approval PAYROLL MANAGEMENT SYSTEM Page 4 .4 Performance 2.4.2 User friendliness 2.3.3.3.7.3. Though the program has received criticism for its perceived faults.NET Visual Basic is a third generation event-driven programming language.[4] and many companies offered third party controls greatly extending its functionality. and creation of ActiveXcontrols and objects. Visual Basic is designed to be relatively easy to learn and use. Visual Basic was derived from BASIC and enables rapid application development of PAYROLL MANAGEMENT SYSTEM Page 5 . or ActiveX Data Objects. Programs written in Visual Basic can also use the Windows API. The Microsoft Corporation released Visual Basic in 1987.2. Remote Data Objects. It was indeed the first visual development tool from Microsoft. Visual Basic was derived from BASIC and enables therapid application development (RAD) of graphical user interface (GUI) applications.1INTRODUCTION: Visual Basic is a third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its COM programming model first released in 1991.The scripting language VBScript is a subset of Visual BasicA programmer can create an application using the components provided by the Visual Basic program itself. access to databasesusing Data Access Objects. VBA is effectively the same language as Visual Basic but VBA-code is tied to Microsoft Office and can only run within that environment. The final release was version 6 in 1998.[3] version 3 of Visual Basic was a runaway commercial success. but doing so requires external function declarations. Microsoft's extended support ended in March 2008 and the designated successor was Visual Basic . give Visual Basic a shot. If you want to start programming Windows. one of the controls could be a button. With controls like these you can create many applications which use certain parts of windows. This must always be remembered in any kind of creation of a Visual Basic program. Web. when Visual Basic already has this part written for you. Why do it like the poor old "C" programmer who would have to write code to even display a window on the screen. simple programs would take very little code. and mobile devices. All in all. or ADO. PAYROLL MANAGEMENT SYSTEM Page 6 . With this sort of operation in mind. you write for the program. which we have demonstrated in the "Hello World" program below. Visual Basic provides many interesting sets of tools to aid you in building exciting applications. access to databases using DAO. Programmers have undergone a major change in many years of programming various machines. but also helps them develop quite complex applications. Visual Basic allows developers to target Windows. VB is the preferred language of many future program mers.graphical user interface applications. Even though people tend to say Visual Basic's compiler is far behind the compilers of Pascal and C.  VISUAL BASIC is a high level programming language which was evolved from the earlier DOS version called BASIC. RDO. it has earned itself the status of a professional programming language. Visual Basic provides these tools to make your life far more easier because all the real hard code is already written for you. and has almost freed BASIC of the reputation of a children's language. First create the control on the screen. Overall you would class Visual Basic as a Graphics User Interface(GUI). Because as you draw. The language not only allows Visual Basic programmers to create simple GUI applications. For example what could be created in minutes with Visual Basic could take days in other languages such: as "C" or "Pascal". and don't know how to start. then write the code which would be executed once the control button is pressed.  Visual Basic is an Object based Event Driven Programming Langugage. For example. and creation of ActiveX controls and objects. such as Microsoft QBASIC.  A project is a collection of files that make up your application. it seems people only use Microsoft Visual Basic today. VB2005 . people prefer to use Microsoft Visual Basic today. each has its own program codes. as it is a well developed programming language and supporting resources are available everywhere.BASIC means Beginners' All-purpose Symbolic Instruct ion Code.net. QUICKBASIC. We also have VB. However.IBM BASICA and so on. GWBASIC . Visual Basic 6. VISUAL BASIC Program is made up of many subprograms. however. and each can be executed independently and at the same time each can be linked together in one way or another VISUAL BASIC ENVIRONMENT  On start up. It is more powerful than VB6 but looks more complicated to master.  You can choose to either start a new project. as it is a well developed programming language and supporting resources are available everywhere. VB2008 and the latest VB2010. Now. we shall concentrate on creating Standard EXE programs  VISUAL BASIC is a high level programming language which evolved from the earlier DOS version called BASIC. The code look a lot like English Language.  There are various types of applications we could create. the most popular one and still widely used by many VB programmers is none other than Visual Basic 6. It is a very easy programming language to learn.0 will display the following dialog box as shown in figure. However. open an existing project or select a list of recently opened programs. Different software companies produced different versions of BASIC. PAYROLL MANAGEMENT SYSTEM Page 7 . which is a fully object oriented programming (OOP) language. there are many versions of VB exist in the market. including its position and its color. Visual Basic 4. • • • • • • Visual Basic 2. VB3 included version 1. you just need to drag and drop any graphical object anywhere on the form. thus laying the foundational concepts of class modules as were later offered in VB4. forms became instantiable objects. as it was actually the next version of Microsoft's DOSbased BASIC compilers. VISUAL BASIC is a VISUAL and events driven Programming Language. programming is done in a graphical environment.[citation needed] Visual Basic 1. Project 'Thunder' was initiated in 1990.QuickBASIC and BASIC Professional Development System. and its speed was improved. and you can change its color any time using the properties windows.0 (August 1995) was the first version that could create 32-bitas well as 16-bit Windows programs.0 was released in November 1992. In the old BASIC. It has three Page 8 PAYROLL MANAGEMENT SYSTEM . you have to write program code for each graphical object you wish to display it on screen. usingextended ASCII characters to simulate the appearance of a GUI. In VB.0 (May 1991) was released for Windows at the Comdex/Windows World trade show in Atlanta. Visual Basic 1. In VB . However. Georgia. The programming environment was easier to use. Visual Basic 3. The interface used a Text user interface. Notably. In BASIC. These are the main divergence from the old BASIC. The language itself was not quite compatible with Visual Basic for Windows. programming is done in a text-only environment and the program is executed sequentially.x databases.0 for DOS was released in September 1992.0 was released in the summer of 1993 and came in Standard and Professional versions.1 of the Microsoft Jet Database Engine that could read and write Jet (or Access) 1. A free.0 to Visual Basic 5. Windows Server 2008 and Windows 7. speeding up calculation-intensive code execution. as well as the ability to compile to native Windows executable code.1. These were later to be named ActiveX controls. Windows Defender. but not compiled.0. and Enterprise. Programmers who preferred to write 16-bit programs were able to import programs written in Visual Basic 4. Standard.0. With version 5. around this time (2005). Extended support ended in March 2008. VB6 has entered Microsoft's "non-supported phase" as of March 2008. the runtime is supported on Windows Vista. 2005.exe project could be created and run in the IDE.1 PURPOSE: PAYROLL MANAGEMENT SYSTEM Page 9 . While previous versions of Visual Basic had used VBX controls. [14] Its replacement.0.OCX) instead.0 programs can easily be converted with Visual Basic 4. and Visual Basic 5.0 also introduced the ability to create custom user controls.0 (February 1997). [12] Microsoft has so far refused to change their position on the matter. 2.• • • editions.0 development environment is no longer supported.0 (Mid 1998) improved in a number of areas[9] including the ability to create web-based applications. Professional. [13] Ironically. it was exposed that Microsoft's new anti-spyware offering. Visual Basic 6. [11] In response. Incompatibilities between different releases of VB4 caused installation and operation problems. Microsoft released Visual Basic exclusively for 32-bit versions of Windows. It was also used as an introductory form of Visual Basic: a regular .[10] Mainstream Support for Microsoft Visual Basic 6. the Visual Basic user community expressed its grave concern and lobbied users to sign a petition to keep the product alive. was rewritten as C++ code . Microsoft AntiSpyware (part of theGIANT Company Software purchase). was coded in Visual Basic 6. Visual Basic 5. Visual Basic now used OLE controls (with files names ending in .0 ended on March 31. It also introduced the ability to write non-GUI classes in Visual Basic. Although the Visual Basic 6. downloadable Control Creation Edition was also released for creation of ActiveX controls. Programming in Visual Basic is a combination of visually arranging components on a form. As the programmer works in the graphical environment. which could be further used for analysis of the system. unlike many other languages that may take hundreds of lines of programmer keyed code.1.2 SCOPE: This software could consider any code in any language. graphical programs with little coding by the programmer. Visual Basic also has the ability to develop programs that can be used as a front end application to a database system. Visual Basic's main selling point is the ease with which it allows the user to create nice looking. much of the program code is automatically generated by the Visual Basic program. but also a complete graphical development environment. 2. This software could generate a flow chart or class diagram for the system. such as an Excel spreadsheet. serving as the user interface which collects user input and displays formatted output in a more appealing and useful form than many SQL versions are capable of. This environment allows users with little programming experience to quickly develop useful Microsoft Windows applications which have the ability to use OLE ( Object Linking and Embedding ) objects. Since the default PAYROLL MANAGEMENT SYSTEM Page 10 . constrained with a comment language.Visual Basic is not only a programming language. specifying attributes and actions of those components. A tool is used to place controls such as text boxes. etc on the form window. Default values will be provided when a control is created. you can change the properties using properties window. since the entire coding is already written for you. it is very simple to write a program without the help of a Visual Basic programmer. Visual Basic provides many interesting sets of tools to help you in building exciting and entertaining applications. but it can be changed by the Visual Basic programmer. Forms can be created using drag and drop techniques. buttons. Visual Basic is not only a programming language. It provides these tools to make your life easier. but it also has a complete graphical development environment. Finally. and serving as the user interface which collects input from the user and displays formatted output in an attractive format.attributes and actions ought to be defined for the components. Visual Basic has the ability to develop programs that can be used as a front end application to a database system. Once you create forms. As the Visual Basic programmer works in the graphical environment. The main object in Visual Basic is called a form. it is a user friendly language which is very effective and efficient. Moreover. much of the program code is automatically generated by the Visual Basic program. you PAYROLL MANAGEMENT SYSTEM Page 11 . OVERALL DESCRIPTION: When you open a new project. if the GUI item is a PAYROLL MANAGEMENT SYSTEM Page 12 .2. left-clicking on an object allows you to describe attributes like size and position.1.GUI Interface VB is a Graphical User Interface (GUI) language. For example. generally speaking. Events are responses to actions performed 2. Right clicking allows you to write code.” 2001 edition.can add events to your controls. 2. The first step in building the VB program is to get the GUI items on the screen. Every system is slightly different (Mac differs from Windows and VB4 Differs from VB6) but.4 REFERENCES: [IEEE] The applicable IEEE standards are published in “IEEE Standards Collection. This means that a VB program will always show something on the screen that the user can interact with (usually via mouse and keyboard) to get a job done. you will start with a clear form that looks similar to this : 1. This is done via pull-down menus that list the available graphical objects. In OOP. Small (page size) modules where it is clearly indicated what comes into the module and what goes out makes a program easy to understand. This natural way of enforcing good programming practices---plus the ease of programming in BASIC---is exactly why VB has found so many devoted fans. VB forces you to program in a modular fashion because each GUI item contains part of the code---the part that applies to that GUI item. Updating will likely be done by someone else so it is import that the program be easy to understand. Right-clicking on the switch would bring up a window that allows the programmer to write the code that describes what happens when the user clicks the switch.Product perspective PAYROLL MANAGEMENT SYSTEM Page 13 . how it was labeled and where on the screen it is positioned. Once again. The GUI items are the objects and all the code associated with the object are just a click away. o Object Orentation Object Oriented Programming (OOP) is a concept where the programmer thinks of the program in "objects" (however abstract the objects may be) that interact with each other.switch. Modularization It is considered good programming practice to modularize your programs. Instead of thinking of a computer program as a single large collection of code. all the code associated with that object is in one place. left-clicking would allow the programmer to say how big the switch was.2. . VB forces this good programming practice. the program is easier to understand and easy to update. 2. the good programmer writes code so that you never need to look at more code than fits on the screen (or page) at one time. If you program in modules like this. Visual Basic supports a number of common programming constructs and language elements. which provide language interoperability. Visual Basic also fully integrates the . enhanced security. and network your design until the project meets your requirements. Processor: 1.e. but it is primarily used to develop Windows applications. Visual Basic Programmer use the language in different areas such as Education. Operating System: Windows XP or Windows Vista 2. Once you understand the basics of the language. Marketing and Sales. Accounting.2. 2-GHz (Vista) 32-bit (x86) or better PAYROLL MANAGEMENT SYSTEM Page 14 . correct.1 Hardware interface 1.Using Visual Basic's tools. garbage collection. ActiveX controls. It is also used to interface web database systems. EXE files.5 GHz (XP). Visual Basic can create executables i.NET framework-based applications. you can create powerful applications using Visual Basic. VB encourages you to experiment. revise. you can quickly translate an abstract idea into a program design which you can actually see on the screen.NET framework and the common language runtime. This generation of Visual Basic continues the tradition of giving you a faster and easier way to create . and versioning support 2. Business. 7. procedures. VB provides a comprehensive interactive and contextsensitive online help system. When editing program texts the “IntelliSense” technology informs you in a little popup window about the types of constructs that may be entered at the current cursor location. interactive development environment (“IDE“). 6. VB is not only a language but primarily an integrated. COM components can be written in different languages and then inegrated using VB.2 Software interface These requirements will be for an end user. 1. Memory: 512 MB or more 4. 3. particularly as to the executable code. The graphical user interface of the VB-IDE provides intuitively appealing views for the management of the program structure in the large and the various types of entities (classes. The structure of the Basic programming language is very simple. The VB-IDE has been highly optimized to support rapid application development (“RAD”). Visual basic 6. modules.0 or higher 2. 8. PAYROLL MANAGEMENT SYSTEM Page 15 .2. It is particularly easy to develop graphical user interfaces and to connect them to handler functions provided by the application. 4.0 or higher Advantages 1.3. 2. forms. Screen Resolution: 1024x768 pixels or higher 2. …). VB is a component integration language which is attuned to Microsoft’s Component Object Model (“COM”). 5.1. Sql srever 5. A feasibility analysis usually involves a thorough assessment of the financial (value).7.7 SOFTWARE SYSTEM ATTRIBUTES 2. In Internet Management Solution projects. Visual Basic is built around the . 12. devices used are primarily PAYROLL MANAGEMENT SYSTEM Page 16 . Interfaces of COM components can be easily called remotely via Distributed COM (“DCOM”). economically. so there is very little that can’t be done in Visual Basic that can be done in other languages (such as C#). 10. such as system development. .3. and operational (need) aspects of a proposal. 2.1 Feasibility Analysis: A feasibility analysis involves a detailed assessment of the need value and the practicality of a proposed enterprise.9. which makes it easy to construct distributed applications. “Compound Documents”). Feasibility analysis will help you make informed and transparent decisions at crucial points during the development process as you determine whether it is operational. 11. There is a wealth of readily available COM components for many different purposes. The process of designing and implementing record keeping systems has significant accountability and resource implications for an organization. COM components can be embedded in / linked to your application’s user interface and also in/to stored documents (Object Linking and Embedding “OLE”.3.NET environment used by all Microsoft Visual languages. technical (practicality). technically realistic to proceed with a particular course of action. shows a drag-and-drop shell prototype called Tripod to Bill Gates. 1991 Visual Basic 1. 2. 1988 Microsoft Buys Tripod Alan Cooper. Features include a drag and drop control toolbox. PAYROLL MANAGEMENT SYSTEM Page 17 . the ability to add widgets dynamically.3. Both then work together to prepare a cost-benefit analysis of the proposed system to determine its economic feasibility.1. March 20. easily. the 'father' of Visual Basic. and information technology (IT) analysts are responsible for assessing technical feasibility. putting controls in the hands of many VB developers for the first time.1 Economic Feasibility: Evolution of Visual Basic March 6. March 1992 Visual Basic 2.responsible for assessing the operational feasibility of the system. and an eventoriented programming model. now code-named Ruby. and a small language engine. codeless UI creation.7.0 Toolkit (Rawhide) Released This toolkit integrated several third-party tools into a single package.0 Debuts at Windows World Microsoft marries QuickBasic to Ruby shell app and gives it a new code name: Thunder. Microsoft negotiates to buy the concept. and visually. The Tool includes a widget control box. It provided instrumental in helping VB's third party market achieve critical mass. The result is the first tool that lets you create Windows apps quickly. A free. Was the first version that could created 32 bit as well as 16-bit Windows programs. PAYROLL MANAGEMENT SYSTEM Page 18 . First version to feature the Professional Edition.September 1992 Visual Basic 1. November 1992 Visual Basic 2 Debuts Adds ODBC Level 1 support. October 1996 Visual Basic 4 Debuts Permits you to create your own add-ins.0 for DOS is released. but not compiled. Also introduces classes and OCX's. and its speed was improved. and object variables. April 1997 Visual Basic 5 Debuts Incorporates compiler. June 1993 Visual Basic 3 Debuts Integrates the Access Engine (Jet).1 of the Microsoft Jet DatabaseEngine that could read and write Jet (or Access) 1. It came in both Standard and Professional versions. WithEvents.x databases. exe project could be created and run in the IDE. Figure this one out :) The language itself was not quite compatible with Visual Basic for Windows. and the ability to create ActiveX controls. downloadable Control Creation Edition was also released for creation of ActiveX controls. OLE Automation and reporting. It was also used as an introductory form of Visual Basic: a regular. QuickBASIC and BASIC Professional Development System. The programming environment was easier to use. MDI forms. as it was actually the next version of Microsoft's DOSbased BASIC compilers. Visual Basic 3 included version 1. 2008 Brief Historyof VisualBasic(1.October 1998 Visual Basic 6 Debuts Introduces WebClasses.0. PAYROLL MANAGEMENT SYSTEM Page 19 .NET for Office 2003 – October 2003 Version 8 (.1 (.NET) – February 2002 Version 7.and 32-bit support) Version 5 – April 1997 (no 16-bit support) Version 6 – October 1998 (part of Visual Studio) Version 7 (. and the ability to create data sources.NET 2003) – April 2003 VBA . The evolution of Visual Basic can be summarized by the following table: Version 1 (for Windows) – March 20.NET 3. new reporting designers.0) – in Pre-release as of October 31.0 to 6.0) Visual Basic 1.5. Visual Basic Version Summary. 1991 Version 1 (for MS-DOS) – September 1992 Version 2 – November 1992 Version 3 – June 1993 VBA (VB for Applications) – 1993 Version 4 – October 1996 (16. Visual Studio 2008) – released November 2007 Version 10 (Visual Studio 2010 and .0 for Windows was released in May 1991 at a trade show in Atlanta.NET Framework 4.NET 2. Georgia. windowless controls. data designers. Visual Studio 2005) – November 2005 Version 9 (. The programming environment was easier to use. and Visual Basic 5.0 also introduced the ability to create custom user controls. These were later to be named ActiveX controls. thus laying the foundational concepts of class modules as were later offered in VB4.0 was released in 1993 and came in Standard and Professional versions. Visual Basic 4. Visual Basic 3.0 release in February 1997. While previous versions of Visual Basic had used VBX controls. VB3 included version 1.ocx) instead. as well as the ability to compile to native Windows executable code. It was the first version that could create 32-bit as well as 16-bit Windows programs.0.0. downloadable Control Creation Edition was also released for creation of ActiveX controls.0 to Visual Basic 5. and its speed was improved. Visual Basic 5. It also introduced the ability to write non-GUI classes in Visual Basic.0 was released in November 1992.0 programs could easily be converted with Visual Basic 4.Visual Basic 2. With version 5. Notably.1 of the Microsoft Jet Database Engine that could read and write Jet (or Access) 1. PAYROLL MANAGEMENT SYSTEM Page 20 . A free.x databases. forms became core objects. speeding up calculation-intensive code execution. Microsoft released Visual Basic exclusively for 32-bit versions of Windows. Programmers who preferred to write 16-bit programs were able to import programs written in Visual Basic 4.0 was released in August 1995. Visual Basic now used OLE controls (with files names ending in . The latest incarnation. Visual Basic has gone through many changes over it lifetime. Windows Server 2008 and Windows 7. Microsoft has so far refused to change their position on the matter. the Visual Basic user community expressed its grave concern and lobbied users to sign a petition to keep the product alive. VB. VB6 has been the most successful version in the history of Visual Basic. it has entered Microsoft's 'non-supported phase' as of March 2008. Although the development environment is no longer supported. 2.0 ended on March 31.Visual Basic 6. Mainstream Support for Microsoft VB 6. Toolbox The toolbox is simply a library of controls which you can place on your application.3.1. In response.2 Operational/Social Feasibility: • Menu / Toolbar This is the only element of the IDE which is always visible. is evolving at an ever increasing price.0 released in mid 1998 improved in a number of areas including the ability to create web-based applications. 2005. You use it to select which other IDE elements to view and to add forms or controls to your project. Extended support ended in March 2008. Once you've placed all the controls you need onto your applications PAYROLL MANAGEMENT SYSTEM Page 21 . the runtime is supported on Windows Vista.7.Net. while others must be entered with code while the program is running. Property Window Such things as pushbuttons. Forms You add these to your VB PAYROLL MANAGEMENT SYSTEM Page 22 . There are several kinds of forms.forms. you can hide the toolbox to make room for working in the other elements of the IDE. these parameters are called properties. Some properties can be entered at design time within the IDE. pictures boxes and other features of most VB applications allow you to enter parameters which define how these controls work. scrolling text boxes. In VB. Project Window This is simply a list of all the forms which make up your VB project. 0 for Windows was first released on May 20. 1991 at the Windows World convention in Atlanta Georgia.application as they are needed. Notice that the heading of the window indicates with which event the code is associated.1. text boxes. Like Visual Basic for Windows.7. 2.3 Tec hnic al Feasibility: 3. this is where you type in the code that VB executes. etc. Code Window Like it's name implies.3. They are the windows which hold the various controls (buttons. In September 1992. Microsoft announced Microsoft Visual Basic for MS-DOS in Standard and Professional editions.) which make up your application. Visual Basic 1. this version combined the ease of PAYROLL MANAGEMENT SYSTEM Page 23 . significant changes were made in the user interface. was released in 1994. among other things. although not all web browsers will run VBScript. and is available for license by other software companies. However. 7. the ability to create true PAYROLL MANAGEMENT SYSTEM Page 24 . VB version 2.0 (1993) added tools to access and control databases and Object Linking and Embedding (OLE) version 2. The Professional Edition could also compile code to run on the older 16-bit Windows 3. Visual Basic Scripting Edition (VBScript) was also announced in 1995. 6. It has since become the internal programming language of the Microsoft Office family of products. With the introduction of Visual Basic version 5 in early 1997. Visual Basic 4 was released in 1995 and supported the new Windows 95 family of 32-bit operating systems. 16-bit systems were no longer supported.22.graphical design with the power and versatility of traditional programming. The last version of MS-DOS. called Visual Basic for Applications. 5. Visual Basic 3. 6. was released as part of Microsoft Excel 5 and Microsoft Project 4 in 1993. VBScript is used to write embedded code for inclusion in web pages. VB 2 was also available in a freeware student release called the Primer edition. Developers simply drew the user interface and attached code that responded to events. It came in Standard and Professional versions. 4.x systems. A superset of VB. following the release of Windows 3. Between versions 4 and 5. Visual Basic 5 added.0 for Windows (November 1992) was faster. more powerful and easier to use than version 1.1 in March 1992 it became apparent that the DOS environment had come to the end of its useful life. «At first glance.executables and to create your own custom controls.microsoft. Visual Basic 6 (VB6) was introduced in 1998 and was included as part of a package known as Visual Studio 6. 9. VB6 added new capabilities in the areas of data access. called Control Creation Edition. Professional and Enterprise Editions.com. and was included with many textbooks. controls. 8. language features and wizards. component-based programming model of Visual Basic to the creation of HTMLand Dynamic HTML (DHTML)-based applications. New Web development features bring the easy-to-use. it may appear to you that Visual Basic . Internet features. could be downloaded from www. Visual Basic 5 was available in Standard (Learning). The newest version of Visual Basic. was released in February 2002.0. Visual Basic 5 was also included as part of a package known as Visual Studio 97. integrated data access to any ODBC or OLE DB data source. «Visual Basic 6.NET software initiative. A free edition. designed to produce XML-based applications for the Microsoft Internet environment. To quote Microsoft's web site. It also supported Microsoft's Active-X technology. 10.0 features provide graphical. and additional database-design tools for Oracle and Microsoft SQL Server™-based databases. component creation. This product will be part of Microsoft's .» Many organizations are still using this version today. A Microsoft Web article says. sometimes referred to as VB7 or Visual Basic .NET is so radically different from what you know that you will have to learn it all over PAYROLL MANAGEMENT SYSTEM Page 25 .NET. 2 User friendliness: This project will have user-friendly screens. Like the BASIC programming language.7.7.0 on the Microsoft Web site. Visual Basic was designed to be easily learned and used by beginner PAYROLL MANAGEMENT SYSTEM Page 26 .3 Consistency: The consistency in the proposed system will provide high efficiency due to smaller learning curves and increased data integrity.3.7. as it will be designed with proper methodology. The screens designed will have very simple functionality for retrieving/ adding/ updating the information. 1.4 Compatibility: This project offers great compatibility. 2.5 Reliability & Robustness: 2.3.again. new tools and technology. see the article Upgrading from Visual Basic 6.3.3.7.NET. 2.» For more information on Visual Basic . 2. 95/98/NT. 5.) on the form (window). however for earlier versions of Windows.g. they still require the presence of runtime libraries of approximately 1 MB in size. but with faster computers and native code compilation this has become less of an issue. but may be changed by the programmer. Forms are created using drag-and-drop techniques. 4. etc. An empty form in Visual Basic 6. Performance problems were experienced by earlier versions. Default values are provided when the control is created. and writing additional lines of code for more functionality.. Programming in VB is a combination of visually arranging components or controls on a form. but to also develop complex applications. Many attribute values can be modified during run time based on user actions or changes in the environment. specifying attributes and actions of those components. runtime libraries must be distributed together with the executable.e. Runtime libraries are included by default in Windows 2000 and later. i. 6. Since default attributes and actions are defined for the components. text boxes. buttons.programmers. a simple program can be created without the programmer having to write many lines of code. providing a dynamic application. Although VB programs can be compiled into native code executables from version 5 onwards. The language not only allows programmers to create simple GUI applications. Controls have attributes and event handlers associated with them. code can be PAYROLL MANAGEMENT SYSTEM Page 27 . 7. 3. For example. A tool is used to place controls (e. a dropdown combination box will automatically display its list and allow the user to select any element. although it will transform keywords into a standard case configuration and force the case of variable names to conform to the case of the entry within the symbol table. By inserting code into the event handler for a keypress in a text box. An event handler is called when an item is selected. such as populating a related list. or DLL files. resulting in the very common problem of memory leaks. and the language provides basic object oriented support. Alternatively. This allows for server-side processing or an add-in module. a Visual Basic component can have no user interface. the program can automatically translate the case of the text being entered. expands to fill up the form. or even prevent certain characters from being inserted. 10. 11. while programmers can insert additional logic within the appropriate event handlers. The runtime recovers unused memory using reference counting which depends on variables passing out of scope or being set to "Nothing". C++). For example. etc. ActiveX controls. Unlike many other programming languages. Dialog boxes with less functionality can be used to provide pop-up capabilities.inserted into the form resize event handler to reposition a control so that it remains centered on the form. String comparisons are case sensitive by default. 9. 8. Controls provide the basic functionality of the application. which can then execute additional code created by the programmer to perform some action based on which element was selected. and instead provide ActiveX objects to other programs via Component Object Model(COM). but is primarily used to develop Windows applications and to interface database systems. The Visual Basic compiler is shared with other Visual Studio languages (C. Visual Basic is generally not case sensitive. PAYROLL MANAGEMENT SYSTEM Page 28 . but restrictions in the IDE do not allow the creation of some targets (Windows model DLLs) and threading models. There is a large library of utility objects. Visual Basic can create executables (EXE files). 8 Maintainability: This software is maintainable as there will be user controls and optimized methodology used to build it.12.3.8.7 Flexibility: This project has the flexibility of new languages when needed.5 2. It can be updated whenever required.7.6 Performance: The performance of this application will be high because of its optimized design and sound architecture. 2. 12.7. 2.7.3. 2. DOCUMENT APPROVAL The following signatures are required for approval of this document.3. PAYROLL MANAGEMENT SYSTEM Page 29 .4.3. T) of Application Signature Date 25/04/2013 25/04/2013 CHAPTER 3 TECHNOLOGICAL ASPECTS Like the BASIC programming language. but to also PAYROLL MANAGEMENT SYSTEM Page 30 .O. The language not only allows programmers to create simple GUI applications. Visual Basic was designed to be easily learned and used by beginner programmers.Name Mr Ravi Govil Project Guide Professor (Department Computer science Engineering/I .T) Mr.D (Department of I. Ravi Govil H. Performance problems were experienced by earlier versions. i.) on the form (window). or DLL files.g.. Many attribute values can be modified during run time based on user actions or changes in the environment. but is primarily used to develop Windows applications and to interface database systems. however for earlier versions of Windows. Forms are created using drag-and-drop techniques. A tool is used to place controls (e. a drop-down combination box will automatically display its list and allow the user to select any element. 95/98/NT. ActiveX controls. which can then execute additional code created by the programmer to PAYROLL MANAGEMENT SYSTEM Page 31 . they still require the presence of runtime libraries of approximately 1 MB in size. buttons. Since default attributes and actions are defined for the components. etc. For example. text boxes. or even prevent certain characters from being inserted. but may be changed by the programmer. Runtime libraries are included by default in Windows 2000 and later. Default values are provided when the control is created. Visual Basic can create executables (EXE files). Although VB programs can be compiled into native code executables from version 5 onwards. but with faster computers and native code compilation this has become less of an issue. expands to fill up the form. For example. while programmers can insert additional logic within the appropriate event handlers. An event handler is called when an item is selected. etc. Dialog boxes with less functionality can be used to provide pop-up capabilities. a simple program can be created without the programmer having to write many lines of code. Controls provide the basic functionality of the application.e. providing a dynamic application. specifying attributes and actions of those components. runtime libraries must be distributed together with the executable.develop complex applications. and writing additional lines of code for more functionality. By inserting code into the event handler for a keypress in a text box. Programming in VB is a combination of visually arranging components or controls on a form. Controls have attributes and event handlers associated with them. the program can automatically translate the case of the text being entered. code can be inserted into the form resize event handler to reposition a control so that it remains centered on the form. Unlike many other programming languages. Alternatively. The runtime recovers unused memory using reference counting which depends on variables passing out of scope or being set to "Nothing". Boolean constant True has numeric value −1. although it will transform keywords into a standard case configuration and force the case of variable names to conform to the case of the entry within the symbol table. Multiple variable assignment is not possible. instead of using "{}"s to group statements. String comparisons are case sensitive by default. and 0 as 16 0s (the Boolean value False). resulting in the very common problem of memory leaks. This inherent functionality becomes especially useful when performing logical operations on the individual bits of an integer such Page 32 PAYROLL MANAGEMENT SYSTEM . but restrictions in the IDE do not allow the creation of some targets (Windows model DLLs) and threading models. The Visual Basic compiler is shared with other Visual Studio languages (C. This allows for server-side processing or an add-in module. CHARACTERISTICS Visual Basic has the following traits which differ from C-derived languages: • • • Statements tend to be terminated with keywords such as "End If". This is apparent when performing a Not operation on a 16 bit signed integer value 0 which will return the integer value −1. C++). and the language provides basic object oriented support. A = B = C does not imply that the values of A. such as populating a related list. in other words True = Not False. The result stored in A would therefore be either false or true. The boolean result of "Is B = C?" is stored in A. B and C are equal. There is a large library of utility objects. and instead provide ActiveX objects to other programs via Component Object Model(COM). In this construct −1 evaluates to 16 binary 1s (the Boolean value True).[5] This is because the Boolean data type is stored as a 16-bit signed integer. a Visual Basic component can have no user interface.perform some action based on which element was selected. Visual Basic is generally not case sensitive. Arrays are declared by specifying the upper and lower bounds in a way similar to Pascal and Fortran. DefObj. Or. if a variable has not been declared or if no type declaration character is specified. Variable array base. There is a specific integer divide operator (\) which does truncate. This uncommon trait does exist in Visual Basic . 0) gives 4. the variable is of type Variant.• • asAnd. both the lower and upper bounds are programmable. Logical and bitwise operators are unified. The native types for strings and arrays are the dedicated COM types. • • • • Relatively strong integration with the Windows operating system and the Component Object Model. However this can be changed with Deftype statements such as DefInt. There are 12 Deftype statements in total offered by Visual Basic 6. In more subscript-limited languages. 0) gives 2. Integers are automatically promoted to reals in expressions involving the normal division operator ( /) so that division of one integer by another produces the intuitively correct result. This is unlike some Cderived languages (such as Perl). By default. DefBool.[7] ? Round(2. OPTION BASE was introduced by ANSI. DefVar. ? Round(3.5.[6] This definition of True is also consistent with BASIC since the early 1970s Microsoft BASIC implementation and is also related to the characteristics of CPU instructions at the time. the lower bound of the array is not variable. because it can also be set by declaration. BSTR and SAFEARRAY.0. which have separate logical and bitwise operators. In this way. The Page 33 PAYROLL MANAGEMENT SYSTEM . Use of the Option Base statement can lead to confusion when reading Visual Basic code and is best avoided by always explicitly specifying the lower bound of the array. This again is a traditional feature of BASIC. It is also possible to use the Option Base statement to set the default lower bound.5. This lower bound is not limited to 0 or 1. Xor and Not. DefStr.NET but not in VBScript. with the standard for ANSI Minimal BASIC in the late 1970s. Banker's rounding as the default behavior when converting real numbers to integers with the Round function. • • • default type may be overridden for a specific declaration by using a special suffix character on the variable name ( # for Double, ! for Single, & for Long, % for Integer, $ for String, and @ for Currency) or using the key phrase As (type). VB can also be set in a mode that only explicitly declared variables can be used with the command Option Explicit. Visual Basic® Version Information This document lists brief descriptions of current and older Microsoft® development tools for the PC, along with notes and a brief list of features. While you may find older versions of development tools in many places, links to the old/used programming tools sales pages of EMS Professional Software, this page's sponsor, are provided for your convenience. EMS is not affiliated with Microsoft or any other vendor. All terms on this page are trademarks of Microsoft Corporation. Version information for other Microsoft products. Version information for other vendors' products. Visual Basic for DOS Visual Basic 1.0 for Windows Visual Basic 2.0 for Windows Visual Basic 3.0 for Windows Visual Basic 4.0 for Windows Visual Basic 5.0 for Windows Visual Basic 6.0 for Windows • • Visual Basic 1.0 for DOS MS Part Numbers: VBDOS 1.0 Std., academic, 3.5": 046-351V100 VBDOS 1.0 Std., 10 license pack, academic, 3.5": 046-499V100 UPGRADE VISUAL BASIC 1.0(DUAL)RSLR: 046-099-100 VBDOS 1.0 Std., 3.5": 046-095V100 VBDOS 1.0 Prof., Upgrade, Academic, 3.5": 203-095-100 VBDOS 1.0 Prof., Upgrade, Direct, 3.5": 203-095-125 VB PRO 1.00 (DUAL) PC NFR: 203-599V100 VBDOS 1.0 Prof., 3.5": 203-095V100 VBDOS 1.0 Prof., 3.5"/5.25": 203-099V100 • PAYROLL MANAGEMENT SYSTEM Page 34 • Visual Basic for DOS Standard • • • Visual Basic for DOS Professional - For the dual media package, the MS product number is 203-099V100. Includes seven 1.44MB and/or nine 1.2MB diskettes and the following printed materials: Manuals: Programmer's Guide, 658 pages, Document Number DB27591-0792, book rear bar code label: 27591 Reference, 510 pages, Document Number DB27592-0792, book rear bar code label: 27592 Professional Features, 365 pages, Document Number DB32480-0792, book rear bar code label: 32480 PAYROLL MANAGEMENT SYSTEM Page 35 • • • • • • • Visual Basic 1.0 for Windows MS Part numbers: Std. NFR: 046-550V100 Retail Dual media: 046-050V100 "WINDOWS VB PROTOOLKIT 1.00 (DUAL)": 203-050V100 Programmer's Guide manual, 456 pages, 0191 Part No. 12974 Three 3.5" 720K disks dated 5/10/1991 1:00AM, labeled Disk Assy 046051-004 (and 5 and 6) Visual Basic 1.0 for Windows Standard, Special upgrade Offer. 3.5" low density disks. MS Product number 046-051-060. To qualify for purchase, MS asked that you be a licensed user of Turbo Pascal, Borland C, C++ or Turbo C, Actor, or Smalltalk. System requirements: Windows 3.0 or later running in standard or enhanced mode. 80286 or higher processor. 1MB or memory (2 recommended), floppy and hard disk. CGA, EGA, VGA, 8514/A, Hercules or compatible video adapter, and mouse. Box spine marked 1191 Part No. 27776. Originally published with a $99 suggested retail price. Manuals: (and others?) Programmer's Guide, 0991 Part No. 26489 Language Reference, 0991 Part No. 26490 • • Visual Basic 1.0 for Windows Professional, Competitive Upgrade PAYROLL MANAGEMENT SYSTEM Page 36 3.00 (3.00 with both 3.2MB diskettes. retail 3.Six 1.5): 203-051V200 Visual Basic 2.0 (5.5" package.0 Standard.0 Standard. • • • Visual Basic 2.5": 046-051V200 UPGRADE WIN VB PRO 2.• Visual Basic with Professional Toolkit (VB 1.25" media) • • • • • • Visual Basic 2. Gateway 2000 Edition .5" and 5.0 for Windows MS Part numbers: Visual Basic 2.25): 203-050V200 WINDOWS VB PRO 2.0 Standard. MS part number 046051V200 PAYROLL MANAGEMENT SYSTEM Page 37 .25) RSLR: 203-051-080 WINDOWS VB PRO 2.00 (5. • • Visual Basic 2.2MB diskettes plus the following printed materials: Professional Features.0 for Windows. or Borland Turbo Pascal for Windows.25) RSLR" Registration card • • PAYROLL MANAGEMENT SYSTEM Page 38 . Special Upgrade . No disk scan or enforcement. Bar code label 34892 Programmer's Guide. but license requires you to have a Visual Basic 1.MS product number for 3. Bar code label 34888 License card "UPGRADE WIN VB PRO 2. Bar code label 34887 Language Reference. Borland C++. Borland Turbo Pascal.0 Professional.5" version: 203-051-080.0 (5. Contains eight 1. Borland Turbo C++ for Windows. inkjet marked "UPDATE WIN/VB 3. full retail.5"/CD. full retail. 34887 Language Reference. 046-751V300 VB3 Pro. 203-851V300 VB3 Pro w Office DK.00 (1. 3.• Visual Basic 2. Learning Edition.5"/CD. 3. 0294 Part No.5)".0 Standard.0 Professional . license agreement looks like international) VB3 Pro. 50510 CompuServe offer License agreement. 36889.MS part number 203-051V200. 203-051-300A (direct box. Rear 0992 Part No. one high density disk drive and a hard disk with 12MB available. EGA or higher resolution monitor.00(1. 3.. Not for Resale. 203-052V300 Visual Basic 3. Includes the following printed materials: Professional Features. 34892 Programmer's Guide. 203-351V300 VB3 Pro w Office DK. 3. 55439 Support and Service for Microsoft Visual Basic brochure. Includes three 1. White label on top of retail sleeve reads" WINDOWS VB PRO 2. Academic. 2MB of available memory for design environment.0 for Windows MS Part numbers: VB3 Std.44MB) DIRECT" Page 39 • • • • • PAYROLL MANAGEMENT SYSTEM . Competitive Upgrade with "LRN" suffix. 203-051-102 UPDATE WIN/VB PRO 3. CD/CD.5"/CD. MS mouse or compatible pointing device. 3.5"/CD. version upgrade. 203-051V300 VB3 Pro w Office DK. 1292 Part no. 2035851V300 VB3 Pro w Office DK. 3. 34888 Visual Basic 3.44MB)AE SINGLE USR: 046-351V300 VB3 Pro.5": 046-751-112 VB Std. 57117. version upgrade .00 (3. 3.44MB)DIR. Requires Windows 3. Winter/Spring 1994.00.5".5".5". 3. 3.No disk scan or enforcement. Part No.0 or later.00 (1.5". full retail: 046-051V300 also 046-751V300 (LRN additions?) WIN/VB 3. 3. Academic. 203-851-101 VB3 Pro w Office DK.5": 203-351V300 VB 3. Special Upgrade.44MB diskettes and the following printer materials: Component Objects and Companion Products for Visual Basic. 711 pages." Requires Windows 3. EGA or higher resolution monitor. Borland language product.0 Standard . Document Number DB51411-0493. Part #52753 Manuals: Programmer's Guide. • • • • Visual Basic 3. 0394 Part No. but license requires you to have a "Microsoft language product.MS part number 046-051V300 PAYROLL MANAGEMENT SYSTEM Page 40 .0 or later. 674 pages. MS mouse or compatible pointing device. 2MB of available memory for design environment.Diskette and Upgrade order form.No disk scan or enforcement. 55277 Inside Visual Basic for Windows newsletter offer. Document Number DB51410-0493.0 Standard competitive upgrade version . or other Windows based programming products. 55959 -orProgrammer's Guide. 55566 Microsoft Support Network contact info card. rear bar code label 51411 • • Visual Basic 3. one high density disk drive and a hard disk with 12MB available. 0993 Part No. 59476 Visual Basic Programmer's Journal magazine offer. rear bar code label 51410 Language Reference. 0 "LRN". Academic Edition • • • • • • VB3 Standard "Propeller Head" packaging. PAYROLL MANAGEMENT SYSTEM Page 41 . I think this is a learning edition.• Visual Basic 3. Visual Basic 3. but don't know what its relationship is to later academic licensing.0 Std. Excel.ini. or Office.0 Professional 3. version upgrade: You qualify for the upgrade if you own Visual Basic Programming System with Professional Toolkit (VB1 Pro). Includes the following manuals: Professional Features Book1.Nine 1.5/CD)NFR" with product number "2035851V300" Visual Basic 3.5" and CD.44MB diskettes with files dated 04/28/93 00:00. "Not for Resale" package. 55029 Visual Basic 3.0 Professional with Office DK on 3. Special upgrade.5" and Office DK.• • Visual Basic 3. White label on top of box says "WIN/VB3.0 Professional . labeled Disk Assy 203-051-025. MS product number 203-851-101.5" and CD. gets written ID of first user in file vbsetup. 52324 Language Reference. 51411 • • • • • • • • PAYROLL MANAGEMENT SYSTEM Page 42 . other Windows-based programming products. Microsoft Access.0 Professional with Office DK on 3.0 Professional. MS Part number 203-351V300 Visual Basic 3. Box spine rear bottom marked 0294 Part No. Visual Basic 3. or Professional Toolkit for Visual Basic.0PRO(3. For users of Microsoft language products. 51412 Professional Features Book2. First diskette. Front of box has transparent sticker "PROMOTIONAL SAMPLE NOT FOR RESALE". Borland language products. Academic Edition. VB2 Pro. 55959 Visual Basic 3. 55428 • • Guide.0 Professional.0 Professional Upgrade. CD in jewel case with orange CD Key on rear insert 0895 Part No. 20-60MB disk space. Disc Assy. CD: 203-054-205. 3. with SDK on CD-ROM. CD: 203-851-101 4. CD: 2031556U400 MASTERING VISUAL BASIC 4. also 203-056-205 4.00. CD: 203-???V400 VB PRN 4.DOC.0PRO/WIN(CD)NFR: 203-556V400 4.00: 007-056-210 Visual Basic 4.0 WIN EN NA CD AE NA ONLY: 203-00044 4. 64510.0 Professional. CD: 203-054V400 also 203-056V400 VB 4. Academic. CD face Version 4. 65163. LICENSES: 1" Page 43 • • • • • • • • • • PAYROLL MANAGEMENT SYSTEM . also 203-056215 4. Academic.0 for Windows MS part numbers: 4.0. CD: 2031056V400 4.0 Enterprise. Upgrade. NFR. 69913.Programmer's Office Developer's Kit.0STD/WIN(CD): 046-056V400 4.5": 203-356V400 4. Visual Basic 4.0 Standard (buy it) VB 4.0 Enterprise Upgrade.0STD/WIN(CD): 046-056V400 System requirements: 386DX or later processor. 0296 Part No.0 Professional. Full retail version has Microsoft product ID 203-052V300 on white label on top of box. Front insert 0895 Part No. 6MB of RAM (8 recommended) or 16MB for NT. Consists of the following: Retail box 0795 Part No. 046-056-006. 64514.0 Professional Easy Fulfillment Document Set: 203-055-045 4. CD: 203-054-215. CD: 2034155-400 4.0 Professional Competitive Upgrade.0 Enterprise. 61798.0 Professional w Office DK. License agreement 51880002. 0895 Part no. STANDARD EDITION.51 or later OS.0 Professional on CD-ROM. "VERSION 4. CD: 046-051V400 VB 4.0. Windows 95 or NT 3. To be eligible.0PRO/WIN(CD)PRO/PRO RSL". Document No.5/CD w ODK 203-851-101. ISBN 155828-399-4 • • Visual Basic 4. 0895 Part No. LICENSES: 1". 58500 Professional Features. 61882 Component Objects and Companion Products for Visual Basic catalog. Document No.0 Professional version upgrade . 0695 Part No. 66931 1. PROFESSIONAL EDITION. 857 pages. 1064 pages.0. 66302. CD face reads Version 4. Includes the following printed materials: Registration card. DB58499-0795. 66296. Document No.Professional edition offer. Will search your hard disk and/or floppy drive to confirm your eligibility. 58513 • PAYROLL MANAGEMENT SYSTEM Page 44 . 58513-TR6. 58499 Language Reference.0 Roadmap. 67821 Manuals: Programmer's Guide. It was in the box we examined. 65167. printed "VERSION 4.0 or 3. 0895 Part No. 0995 Part No. 857 pages. 66858 Visual Basic Programmer's Journal offer.5" disk. 58513 (I'm not sure about this next one. Document No. 66890 Developer Network offer. 203-054-045 Enterprise Edition info card. Disc Assy. you must be a licensed user of Visual Basic Professional version 2. 60087 Manuals: Crystal Reports for Visual Basic User's Manual. 58513-TR6. Top of box reads "UPDATE VB 4. Dates of directories in CD root are 8/24/95 3:31:48pm. Kit No. 0895 Part No. 143 pages.66147.00.) Teach yourself Visual Basic 4 for Windows 95. Jewel case font insert rear 0895 Part No. with 3. Winter/Spring 1995. Volume 5. 203-056-006. 0895 Part No. DD58500-0795. 66889 Registration card. Box sleeve 0795 Part No. 66295. 58514 Programmer's Guide.MS part number for 3. 67821 License card.0. 61798 Microsoft Visual Basic 4. Document Number DB58514-0795.44 MB Disk Offer. 0995 Part No. CD jewel case rear insert 0895 Part No. 0 or later. Standard Edition. 3. Microsoft FoxPro version 2. 0 or later.0.0 or later. Borland dBASE for Windows. Microsoft FORTRAN Power Station version 4. CD face is labeled Disc Assy.66147 Visual Basic 4. CD.Software will scan your hard and floppy drives to ensure you own one of the following: a licensed user of one of the following products: Microsoft Visual Basic. Microsoft Visual C++ version 1. Borland Delphi.0. Microsoft Office Standard or Professional version 4. or 4.0 Professional. Microsoft Excel version 5.0 Professional competitive upgrade version . or Powersoft Power Builder 3 or 4.203-056-006.0 or later. MS Part number: 203-056V400 • • • PAYROLL MANAGEMENT SYSTEM Page 45 . Microsoft Access version 2. 0895 Part No. 6 for Windows. version 2. Microsoft Visual FoxPro version 3.0.• VB 4 Pro Academic • • • Visual Basic 4. 5 or later.0 or later. 0 Enterprise . D64664-0795. 62720 Microsoft Visual Basic 4. 143 pages. 58500 Professional Features. 64579. Document Number DB58514-0795. 275 pages. 64664 Building Client/Server Applications with Visual Basic. AE: 203-00100 VB PRO 5. Document No.0 Quick Reference Card. 0895 Part No. 64666 Visual Basic Programmer's Journal offer. 58513 Microsoft Visual SourceSafe User's Guide.0 Roadmap.00. Includes the following materials: Registration card (part number unknown) License card.0 for Windows MS Part numbers: Learning Edition: 046-00067 "VB STD 5. bar code 64579 CD jewel case front insert. 59950 Visual Basic 5.MS product number 2031056V400. Volume 7. 93143 Inside Visual Basic for Windows magazine offer. DD59950-0795. ENTERPRISE EDITION. 2031056-010. 0195 Part No. Winter 1996/1997. 58513-TR6.0 W32 EN NA CD NFR COM" Enterprise International Academic: "VB ENTERPRISE 5. LICENSES: 1".0 W32 EN NA CD COM: 203-00102 Enterprise. 61884 CD jewel case rear insert. DB58499-0795. printed "VERSION 4.0 W32 EN INTL CD AE COM: 361-00170 Page 46 • • • PAYROLL MANAGEMENT SYSTEM . Document No. printed "VERSION 4. 61882 Component Objects and Companion Products for Visual Basic catalog. 61798 License card (probably for Visual SourceSafe 4. 66931 Microsoft Visual SourceSafe 4.69944 Manuals: Crystal Reports for Visual Basic User's Manual. DD58500-0795. LICENSES: 1". 64577 CD face: Disc Assy.• • Visual Basic 4. 204 pages. Document No. 58514 Programmer's Guide. 857 pages. 0895 Part No. 0296 Part No. 0895 Part No.0). Upgrade.0 W32 EN NA CD LRN COM" Professional.00. Document No. 58499 Language Reference. CD: 361-00088 Enterprise NFR: 361-00090 "VB ENT 5. 1064 pages. Document No. 1196 Part No. Fortran PowerStation 4. 94186 Registration card assembly 0897 Part No. 0197 Part No. Oracle PowerObjects or Developer/2000. PART # X03-22916 Component Objects and Companion Products for Visual Basic. Office97 Developer Edition.5 or later. License requires you to own one of the following: Visual Basic 3 or 4. 94214. dBASE for Windows. 1196 Part No.0 offer. 4 or 5. X03-09311 License card.0 Enterprise Edition (buy it) Page 47 • • • • PAYROLL MANAGEMENT SYSTEM . 046-00067 "VB STD 5. rear insert 93008. volume 8. Visual FoxPro 3. with CD key CD.0 W32 EN NA CD LRN COM" Retail box sleeve 1196 Part No. Part No.May search your disk for competitive software. 98177 Mastering Visual Basic 5. X03-41835 Rebate coupon 0297 Part No.• • • • Buy it Learning Edition. Part No. 93336 CD jewel case front insert 93009. Summer/Fall 1997.0 or later. Visual C++ 1. 93144 Microsoft Office and Visual Basic for Applications Developer offer. 93007 Learn visual Basic Now CD.0 Professional competitive upgrade version . Delphi. Visual Basic 5. Part No. or Borland C++. License agreement card is printed: VERSION 5. 93006 Visual Basic 5. LEARNING EDITION. 93010 Visual Basic Programmer's Journal offer.0 or later. Part No. PowerBuilder 3. 94216 Installation card.00. LICENSES: 1". 93158 MSDN Library Special Edition. 93014 Language Reference. 93025 with product label "VB ENTERPRISE 5. CD in jewel case marked 0197 Part No. Document No. LICENSES: 1". labeled "VERSION 5. Developer Edition. 0297 Part No. Crystal Reports for Visual Basic: Document No. ENTERPRISE EDITION AE. 247 pages. 366 pages. 0796 Part No. 1064 pages. marked "AE. Document No.0 W32 EN INTL CD AE COM: 361-00170" Media: VB 5 Enterprise CD in jewel case with key code. 94186 EULA for SQL Server 6. 0297 Part No. CD marked 1196 Part No.0 Quick Reference Card.5 Developer Edition CD paper window sleeve. 93028 SQL Server 6. Rear insert 1196 Part No. DB928890196 Other printed materials: Microsoft Transaction Server. LICENSES: 1". Front insert is a multi-page booklet 1296 Part No. 898 pages. 97448 License agreement documents: End-User License Agreement. bar code label 94752 Visual Database Tools Quick Reference Card. 93159. LICENSES: 1". X03-09013 EUAL for Microsoft Database Tools. 0197 Part No. 93015 Component Tools Guide. 93027.00 AE. 0397 Part No. 93026 Visual Basic Programmer's Guide. bar code label 92944 Page 48 PAYROLL MANAGEMENT SYSTEM . 0295 Part No. 92636 Transaction Server Developer Edition in jewel case with key. Developer Edition feature card. 93011 Visual SourceSafe User's Guide.00. rear insert 0197 Part No. X03-09070 License agreement for SourceSafe. 97449. Front insert 93029. X03-17069 Addendum to server license for transaction Server 1. front insert 0197 Part No. Document No.5 Developer Edition. DB58514-0795 Visual Basic Guide to Building Client/Server. Document No.• The international academic version includes: Retail box sleeve. 62720 Printed manuals: Guide to Data Access Objects. 97453. Rear insert 1296 part no. Document No. "VERSION 5. CD marked 1296 Part No. 0197 Part No.0. 1196 Part No. 90300 SourceSafe 5. 93157. bellsouth.0 for Windows (buy it) MS part numbers: US: VB PRO 6.361-00423. Learning . Spanish . Spanish . but a character based.? 203-00769 Academic with W2K Readiness Kit: Professional . Microsoft needed development languages for Windows fast. English .0 workstation) .synopsis Judson McClendon judmc123@bellsouth. specifically VB Windows.046-00392. VB DOS was never enhanced. folding envelope 36100170 Mastering Visual Basic brochure. Spanish 361-00446 Full: Enterprise. Learning . Spanish . VB DOS provided not only a QuickBasic compatible platform.203-00769 Upgrade: Enterprise -361-00441.203-00491. Professional.0 WIN32 ENGLISH NA CD REFR: 203-00768 Visual Basic 6 Programming Starter Kit by McMillan: special limited version Academic: Enterprise . interrupt driven platform similar to Windows programs. English . because Microsoft was determined to abandon the DOS platform as soon as Page 49 • • • PAYROLL MANAGEMENT SYSTEM .203-00490. Enterprise.net (remove numbers) Sun Valley Systems http://personal. Part Number 94206.361-00437. Ed. bar code label 61002 Registration card assembly. 1196 Part No. Professional 203-00509 Full: Enterprise .203-00532. 93336 • • • • Visual Basic 6.203-00505.x.bhm.361-00438. Professional .04600378 International: Upgrade: Professional. English .361-00422.203-00506. Microsoft dusted off the dinky old toy which was Windows 2. Professional (with NT 4.Limited Warranties booklet.046-00379 Visual Basic . Professional w SQL Dev. English .0. and did a serious rewrite as Windows 3.net/~judmc When Microsoft and IBM split the blanket over OS/2. because not everybody had enough hair on their chests to tackle Windows API development directly C.203-00510. Working on two fronts. Standard/Learning. Microsoft released Visual Basic for DOS and Visual Basic for Windows. 5 FLOW CHARTS A flowchart is a type of diagram that represents an algorithm or process. and the newer 32 bit Windows 95 API.possible. But to really know VB takes a tremendous amount of effort and time • . VB DOS was only a hook to get QuickBasic programmers acclimated to the idea of Windows programming. Though enormously powerful. With Windows 95. Microsoft released VB 4.0 whichsupported (in the professional version) both the older 16 bit Windows 3. Visual Basic 6. and their order by PAYROLL MANAGEMENT SYSTEM Page 50 . Visual Basic is also enormously more complex to learn and master than QuickBasic. You can actually learn to do some easy stuff in VB quicker than you might with QBasic. QBasic or PDS. showing the steps as boxes of various kinds. 3.x API.0 is the latest version. The 16 bit option was dropped with VB 5.0. Flow charts are simple diagrams that map out a process so that it can easily be communicated to other people. and write them down in order. Define and analyze processes. Finally. Define. Process operations are represented in these boxes. documenting or managing a process or program in various fields. To draw a flowchart. Flowcharts are used in analyzing. This diagrammatic representation can give a step-by-step solution to a given problem. and arrows connecting them represent flow of control. or Communication 3. 2. for actions to be taken and for decisions to be made. brainstorm the tasks and decisions made during a process. in contrast with data flow diagrams. they are implied by the sequencing of operations. Then map these out in flow chart format using appropriate symbols for the start and end of a process. standardize or find areas for improvement in a process PAYROLL MANAGEMENT SYSTEM Page 51 . and that that it represents the most efficient way of doing the job. designing. Data flows are not typically represented in a flowchart. challenge your flow chart to make sure that it's an accurate representation of the process. A flow chart can therefore be used to: 1.connecting these with arrows. Build a step-by-step picture of the process for analysis. rather. discussion. This technique allows the author to locate the responsibility for performing an action or making a decision correctly. There are many different types of flowcharts. Pareto chart. A symbol appearing in a particular "lane" is within the control of that organizational unit. they help visualize what is going on and thereby help the viewer to understand a process. Flowcharts depict certain aspects of processes and they are usually complemented by other types of diagram. A decision. in UML. Kaoru Ishikawa defined the flowchart as one of the seven basic tools of quality control. usually denoted as a diamond. showing the responsibility of each organizational unit for different parts of a single process. For instance. A flowchart is described as "cross-functional" when the page is divided into different swim lanes describing the control of different organizational units. and other less-obvious features within it. a standard concept-modeling notation used in software development. control chart. and perhaps also find flaws. check sheet. and each type has its own repertoire of boxes and notational conventions. the activity PAYROLL MANAGEMENT SYSTEM Page 52 . and denoted as a rectangular box 2. Like other types of diagram. usually called activity. next to the histogram. cause-andeffect diagram. The two most common types of boxes in a flowchart are: 1.3.5. Similarly. A processing step. and the scatter diagram.1 OVERVIEW Flowcharts are used in designing and documenting complex processes. bottlenecks. 5. process flow diagram.2 FLOWCHART SYMBOLS Different flow chart symbols have different meanings. labeled. Data: PAYROLL MANAGEMENT SYSTEM Page 53 .diagram. business flow diagram. process model. which is a type of flowchart. business process model. circular flow chart shape used to indicate a jump in the process flow. process flow chart. Decision: A diamond flow chart shape indication a branch in the process flow. 3. work flow diagram. functional process chart. Process: A rectangular flow chart shape indicating a normal process flow step. The most common flow chart symbols are: 1. is just one of many different diagram types. 2. Common alternate names include: flowchart. 4. functional flow chart. process chart. 5. 3. process map. Nassi-Shneiderman diagrams are an alternative notation for process flow. Terminator: An oval flow chart shape indicating the start or end of the process. Connector: A small. one of them may be drawn with a small semicircle over the other. consist of a connector where control first enters. for example. A loop may. In simple cases. a conditional with one arrow exiting the loop. wherever two lines accidentally cross in the drawing. and one going back to the connector. Labeled connectors: PAYROLL MANAGEMENT SYSTEM Page 54 . one may simply have an arrow point to another arrow instead. 6. showing that no junction is intended. These are useful to represent an iterative process (what in Computer Science is called a loop). 8. but only one going out.A parallelogram that indicates data input or output (I/O) for a process. Document: Used to indicate a document or report 7. processing steps. For additional clarity. A junction symbol will have more than one arrow coming into it. Junction Symbol: Generally represented with a black blob. showing where multiple control flows converge in a single exit flow. Labeled connectors are used in complex or multi-sheet diagrams to substitute for arrows. but there may be any number of "inflow" connectors.5. The exit flows are activated concurrently when all of the entry flows have reached the concurrency symbol. 9. These symbols are used whenever two or more control flows must operate simultaneously. Data flowcharts. System flowcharts showing controls at a physical or resource level PAYROLL MANAGEMENT SYSTEM Page 55 . showing controls over a document-flow through a system 2.3 TYPES OF FLOWCHART Sterneckert (2003) suggested that flowcharts can be modelled from the perspective of different user groups (such as managers. In this case. the "outflow"connector must always be unique. showing controls over a data flows in a system 3. a junction in control flow is implied. For each label. 3. system analysts and clerks) and that there are four general types: 1. Concurrency Symbol: Represented by a double transverse line with any number of entry and exit arrows.Represented by an identifying label inside a circle. Document flowcharts. The classes in a class diagram represent both the main objects and or interactions in the application and the objects to be programmed. The upper part holds the name of the class 2. operations(or)methods and the relationships between the classes. a class diagram in the Unified Modeling Language (UML) is a type of static structure diagram that describes the structure of a system by showing the system's classes.6 CLASS DIAGRAM In software engineering. In the class diagram these classes are represented with boxes which contain three parts: A class with three sections: 1. The middle part contains the attributes of the class PAYROLL MANAGEMENT SYSTEM Page 56 . and for detailed modelling translating the models into programming code. The class diagram is the main building block in object oriented modelling.3. their attributes. It is used both for general conceptual modelling of the systematics of the application. such as attributes and methods.e. these class diagrams can be complemented by state diagram or UML state machine. Also instead of class diagrams Object role modeling can be used if you just want to model the classes and their relationships. Visibility To specify the visibility of a class member (i. the classes of the conceptual design are often split into a number of subclasses.3.. and additional information about them.6.1 MEMBERS: UML provides mechanisms to represent class members. 3. any attribute or method) there are the following notations that must be placed before the member's name: + - Public Private PAYROLL MANAGEMENT SYSTEM Page 57 . With detailed modeling. The bottom part gives the methods or operations the class can take or undertake In the system design of a system. In order to further describe the behavior of systems. a number of classes are identified and grouped together in a class diagram which helps to determine the static relations between those objects. 6. the scope is the class. it means that its value can vary between instances. Classifier members are commonly recognized as "static" in many programming languages. For methods. it means that its invocation affects the instance state. For attributes. as default.6. in other words. the instance scope is considered. For attributes. 3. the scope is a specific instance.[3] In the case of instance members. affects the instance attributes. its name must be underlined.2 SCOPE: The UML specifies two types of scope for members: instance and classifier. it means that its value is equal for all instances. To indicate that a member has the classifier scope. in the classifier member. For methods. Otherwise.3 RELATIONSHIPS PAYROLL MANAGEMENT SYSTEM Page 58 . it means that its invocation does not affect the instance state. Otherwise.# ~ / Protected Package Derived underline Static 3. In such cases. with each end connected to a class box. Higher order associations can be drawn with more than two ends. the ends are connected to a central diamond. In other words.4.4 Instance Level Relationships 3. 3. An association can be named. multiplicity. It can be shown on an object diagram or class diagram.6. UML shows the following relationships: 3.4. A link is an instance of an association. There are five different types of association.A relationship is a general term covering the specific types of logical connections found on class and objects diagrams. ownership indicators. It is represented as a line connecting two or more object boxes.6. Binary associations (with two ends) are normally represented as a line.2 Association Class diagram example of association between two classes An Association represents a family of links.6. BiPAYROLL MANAGEMENT SYSTEM Page 59 .1 External links A Link is the basic relationship among objects. and the ends of an association can be adorned with role names. and other properties. visibility. it creates a relationship between two classes. For instance. aggregation is more specific than association. a flight class is associated with a plane class bidirectionally.3 Aggregation Class diagram showing Aggregation between two classes Aggregation is a variant of the "has a" or association relationship. It is an association that represents a part-whole or part-of relationship. Association represents the static relationship shared among the objects of two classes. is an association relation. Associations can only be shown on class diagrams. Aggregation can occur when a class is a collection or container of other classes. As a type of association. but where the contained classes do not have a strong life cycle dependency on the container—essentially. if the container is destroyed. its contents are not. However. 3. an aggregation may not involve more than two classes. PAYROLL MANAGEMENT SYSTEM Page 60 .4. an aggregation can be named and have the same adornments that an association can.6. Example: "department offers courses".directional and uni-directional associations are the most common ones. 6. Note that a part can (where allowed) be removed from a composite before the composite is deleted.In UML. composition is more specific than aggregation.4 Composition Class diagram showing Composition between two classes at top and Aggregation between two classes at bottom Composition is a stronger variant of the "owns a" or association relationship. normally every instance that it contains is destroyed as well. Composition usually has a strong life cycle dependency between instances of the container class and instances of the contained class(es): If the container is destroyed. it is graphically represented as a hollow diamond shape on the containing class end of the tree of lines that connect contained class(es) to the containing class.4. PAYROLL MANAGEMENT SYSTEM Page 61 . 3. and thus not be deleted as part of the composite. The UML graphical representation of a composition relationship is a filled diamond shape on the containing class end of the tree of lines that connect contained class(es) to the containing class. and so on.6.6. In practice.5 Class Level Relationships 3. The UML graphical representation of a Generalization is a hollow triangle shape on the superclass end of the line (or tree of lines) that connects it to one or more subtypes. this means that any instance of the subtype is also an instance of the superclass. a mammal is an animal). which are a subclass of mammal. The relationship is most easily understood by the phrase 'an A is a B' (a human is a mammal.5. An exemplary tree of generalizations of this form is found inbinomial nomenclature: human beings are a subclass of simian. The generalization relationship is also known as the inheritance or "is a" relationship. The superclass in the generalization relationship is also PAYROLL MANAGEMENT SYSTEM Page 62 .1 Generalization Class diagram showing generalization between one superclass and two subclasses The Generalization relationship indicates that one of the two related classes (the subclass) is considered to be a specialized form of the other (the super type) and superclass is considered as 'Generalization' of subclass.3. in which one model element (the client) realizes (implements or executes) the behavior that the other model element (the supplier) specifies. class. but can be misleading. components. superclass. A realization is a relationship between classes. A PAYROLL MANAGEMENT SYSTEM Page 63 . base class. g. "an automobile is a type of vehicle" Generalization can only be shown on class diagrams and on Use case diagrams.6. or base type. and packages that connects a client element with a supplier element. derived type. A realization is indicated by a dashed line with an unfilled arrowhead towards the supplier. subclass. Note that this relationship bears no resemblance to the biological parent/child relationship: the use of these terms is extremely common.2 Realization In UML modeling.known as the "parent". Generalization-Specialization relationship A is a type of B E. The subtype in the specialization relationship is also known as the "child". a realization relationship is a relationship between two model elements.5. derived class. 3. interfaces. inheriting or inheriting type. "an oak is a type of tree". Realizations can only be shown on class or component diagrams. 6.realization relationship between classes and interfaces and between components and interfaces shows that the class realizes the operations offered by the interface. this is most easily understood through the phrase 'A has a B' (a mother cat has kittens. 3. PAYROLL MANAGEMENT SYSTEM Page 64 . kittens have a mother cat).5. In contrast with the generalization relationship. 3.5.5 Multiplicity The association relationship indicates that (at least) one of the two related classes makes reference to the other.5.6.6. Dependency exists if a class is a parameter variable or local variable of a method of another class.3 General Relationship Class diagram showing dependency between "Car" class and "Wheel" class 3.4 Dependency Dependency is a weaker form of relationship which indicates that one class depends on another because it uses it at some point of time. CHAPTER 4 SYSTEM DESIGN Project File Formats Microsoft Visual Basic utilizes and creates a number of files at both design and run time.The UML representation of an association is a line with an optional arrowhead indicating the role of the object(s) in the relationship. Which files will be required by your project or application depends upon its scope and functionality. and an optional notation at each end indicating the multiplicity of instances of that entity (the number of objects that participate in the association). Design-time and Miscellaneous Files The following table lists all the design-time and miscellaneous other files that may be produced when you develop an application: Extension Description PAYROLL MANAGEMENT SYSTEM Page 65 . vbp Basic module Class module User Control file User Control binary file Form file Binary form file Log file for load errors Visual Basic project file Run-Time Files When you compile your application. all the necessary design-time files are included in the run-time executable files.bas .ctl ..frm .dll .ocx Description In-process ActiveX component Executable component file or ActiveX ActiveX control PAYROLL MANAGEMENT SYSTEM Page 66 .frx .log .exe .cls .ctx . Run-time files are listed in the following table: Extension . The design process translates requirements into a representation of the software that can be assessed for quality before coding begins. The design should implement all the requirements of the user. the design is documented. PAYROLL MANAGEMENT SYSTEM Page 67 . 2. which are specified in the SRS and it must accommodate all the requirements that may not be specified by the Recruiter in the analysis phase. addressing the data functional domains from the implementation perspective. and procedural detail. The design must be translated into a machine-readable form. There are three characteristics for the evaluation of a good design. The design should be readable and understandable for the people who involve in developing and testing the system. The design phase is the first step while moving from the problem domain to solution domain. According to requirement. which is useful to have an overall look of the system without even developing the entire system. The aim of this phase is to produce a model or a representation of the system. This model of the system is a plan for developing the system. interface representation. 3.Software design focuses on distinct attributes of program: data structure. 1. software architecture. this is called code generation step. The design should provide a complete picture of the system. PAYROLL MANAGEMENT SYSTEM Page 68 . For software design. the different phases cannot be entirely independent of each other. the goal is to divide the problem into manageably small phases that can be solved separately.4. However. The complexity of large problems and limitations of human minds do not allow large problems to be treated as huge monoliths. The different phases have to co-operate and communicate in order to solve the larger problem. as they together form the system.1 DESIGN METHODOLOGY: When solving a small problem. the entire problem can be tackled at once. CHAPTER 7 SCREEN SHOTS Fig 7.1 Main Page Administrator Screens PAYROLL MANAGEMENT SYSTEM Page 69 . PAYROLL MANAGEMENT SYSTEM Page 70 . PAYROLL MANAGEMENT SYSTEM Page 71 . Microsoft Transaction Server. Visual Basic Professional Edition The Professional edition provides computer professionals with a fullfeatured set of tools for developing solutions for others. and the Dynamic HTML Page Designer. SNA Server. and more. Documentation provided with the Professional edition includes the Visual Studio Professional Features book plus Microsoft Developer Network CDs containing full online documentation. Visual SourceSafe. Integrated Data Tools and Data Environment. It includes all the features of the Professional edition. the Internet Information Server Application Designer. plus Back Office tools such as SQL Server.CHAPTER 10 CONCLUSION Visual Basic Enterprise Edition The Enterprise edition allows professionals to create robust distributed applications in a team setting. plus additional ActiveX controls. Internet Information Server. PAYROLL MANAGEMENT SYSTEM Page 72 . Printed documentation provided with the Enterprise edition includes the Visual Studio Enterprise Features book plus Microsoft Developer Network CDs containing full online documentation. It includes all the features of the Learning edition. Integrated development environment IDEs typically present a single program in which all development is done. The aim is to abstract the configuration necessary to piece together command line utilities in a cohesive unit. It includes all intrinsic controls. deploying and debugging software. code can be compiled while being written. It is also thought that the tight integration of development tasks can further increase productivity.Visual Basic Learning Edition The Visual Basic Learning edition allows programmers to easily create powerful applications for Microsoft Windows and Windows NT®. While most modern IDEs are graphical. which theoretically reduces the time to learn a language. This program typically provides many features for authoring. tab. providing instant feedback on syntax errors. and increases developer productivity. Documentation provided with this edition includes Learn VB Now (a multimedia CD-ROM title). For example. and data-bound controls. An IDE normally consists of:     a source code editor a compiler and/or an interpreter build automation tools a debugger PAYROLL MANAGEMENT SYSTEM Page 73 . compiling. plus grid. plus Microsoft Developer Network CDs containing full online documentation. modifying. it is a big business application. enterprise applications are complex. As most people use the term. administration. What is an Enterprise Application? An enterprise application is a business application. causes the computer to behave in a predetermined manner. scalable. The sequence of these events determines the sequence in which the code executes. or the Internet. distributed. programming means designing or creating a set of instructions to ask the computer to carry out certain jobs which normally are very much faster than human beings can do. component-based.CHAPTER 11 FUTURE SCOPE A computer program is an organized list of instructions that. Event-Driven Programming In an event-driven application. when executed. userfriendly. obviously. They are data-centric. computers are useless.Therefore. the code doesn't follow a predetermined path — it executes different code sections in response to events. intranets. In short. or even from the application itself. by messages from the system or other applications. They may be deployed on a variety of platforms across corporate networks. thus the path through the application's code differs each time the program runs. and mission-critical. PAYROLL MANAGEMENT SYSTEM Page 74 . and must meet stringent requirements for security. Without programs. In today’s corporate environment. Events can be triggered by the user's actions. and maintenance. they are highly complex systems.
Copyright © 2024 DOKUMEN.SITE Inc.