Beruflich Dokumente
Kultur Dokumente
Name Kashif Ullah Khan Semester BEIT-IV (A) Assignment Database Presented To MR. Altaf Hussain Date of submission 13-march-2009
MENU BAR
Menu bar usually contains Visual Basic commands that are used to create, compile and execute our application.
EDIT TOOLBAR
The features of the Edit toolbar are similar to those of the Edit menu. You can Cut and Paste text. You can manipulate the layout of your code and do text selection, searches, and replacement. Also, you can use automatic coding features such as Quick Info. An interesting VB IDE feature that the Edit toolbar uses is the Complete Word feature. This feature automatically completes a keyword for you. The Complete Word feature is very useful for avoiding syntax errors due to misspelling. Also this helps you save time when you have to code long event-driven programs. Remember, only the intrinsic VB statements get auto-completed, not all.
FORMS
Forms are the most important object in Visual Basic. It is the main object of our application. Form is the base for creating a user interface. All Controls are placed on the form. Each form is a window in our application. Our application may have more than one form.
PROPERTIES WINDOW
Properties are the attributes of an object such as its size,color etc. The properties windows is used to set the initial property values of different objects. The dropdown box at the top of the window lists all objects in the current form. Two views are available i) ii) ALPHABETIC VIEW CATEGORIZED VIEW
CODE WINDOW
It contains the statements of Visual Basic , which are executed when some event occurs. It may contain many pieces of code. Each piece of code is related to particular event of a particular object for e.g, a piece of code runs when user clicks a button and another piece runs when user resizes the form etc.
matching functionality. These editors also provide a convenient way to run a compiler, interpreter, debugger, or other program relevant for software development process. So, while many text editors can be used to edit source code, if they don't enhance, automate or ease the editing of code, they are not "source code editors," but simply "text editors that can also be used to edit source code.
COMPILER OR INTERPRETER
A compiler is a computer program (or set of programs) that transforms source code written in a computer language (the source language) into another computer language (the target language, often having a binary form known as object code). The most common reason for wanting to transform source code is to create an executable program. The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language or machine language). A program that translates from a low level language to a higher level one is a decompiler. A program that translates between high-level languages is usually called a language translator, source to source translator, or language converter. A language rewriter is usually a program that translates the form of expressions without a change of language. A compiler is likely to perform many or all of the following operations: lexical analysis, preprocessing, parsing, semantic analysis, code generation, and code optimization.
BUILD-AUTOMATION TOOLS
Build automation is the act of scripting or automating a wide variety of tasks that a software developer will do in their day-to-day activities including things like:
compiling computer source code into binary code packaging binary code running tests deployment to production systems creating documentation and or release notes
This automated build is in contrast to a manual build process where a person has to perform multiple, often tedious and error prone tasks. The goal of this automation is to create a one-step process for turning source code into a working system. This is done to save time and to reduce errors.
TYPES OF AUTOMATION:
Commanded automation such as a user running a script on the command line Scheduled automation such as a continuous integration server running a nightly build Triggered automation such as a continuous integration server running a build on every commit to a version control system.
DEBUGGER
A debugger is a computer program that is used to test and debug other programs. The code to be examined might alternatively be running on an instruction set simulator (ISS), a technique that allows great power in its ability to halt when specific conditions are encountered but which will typically be much slower than executing the code directly on the appropriate processor. When the program crashes, the debugger shows the position in the original code if it is a source-level debugger or symbolic debugger, commonly seen in integrated development environments. If it is a low-level debugger or a machine-language debugger it shows the line in the disassembly. (A "crash" happens when the program cannot continue because of a programming bug. For example, perhaps the program tried to use an instruction not available on the current version of the CPU or attempted access to unavailable or protected memory.) Typically, debuggers also offer more sophisticated functions such as running a program step by step (single-stepping), stopping (breaking) (pausing the program to examine the current state) at some kind of event by means of breakpoint, and tracking the values of some variables. Some debuggers have the ability to modify the state of the program while it is running, rather than merely to observe it.
MsgBox (" YOUR REQUIRED VALUE IS :") & U, vbExclamation, "ADDITION" End Sub Private Sub Command2_Click() Dim R As Integer R = Text1.Text - Text2.Text MsgBox (" YOUR REQUIRED VALUE IS :") & R, vbExclamation, "SUBSTRACTION" End Sub Private Sub Command3_Click() Dim W As Integer W = Text1.Text * Text2.Text MsgBox (" YOUR REQUIRED VALUE IS :") & W, vbInformation, "MULTIPLICATION" End Sub Private Sub Command4_Click() Dim T As Integer T = Text1.Text / Text2.Text MsgBox (" YOUR REQUIRED VALUE IS :") & T, vbInformation, "DIVISION" End Sub
THE END