Visual BasicJoin now to read essay Visual BasicINTRODUCTIONVisual Basic (VB) is an event driven programming language and associated development environment prototyped by Alan Cooper as Project Ruby, then bought and vastly improved upon by Microsoft. In business programming, it has one of the largest user bases.

It is derived heavily from BASIC and enables rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using DAO, RDO, or ADO, and creation of ActiveX controls and objects. A programmer can put together an application using the components provided with Visual Basic itself.

As of 2003, 52 percent of software developers used Visual Basic, making it the most popular programming language at that time. 43 percent of those Visual Basic developers, however, planned to move to other languages.[1] The popularity of Visual Basic perhaps results from its easy to understand syntax. Like all other Turing complete programming languages, it can also be used to create arbitrarily complex applications. Programs written in Visual Basic can use the Windows API, but doing so requires external function declarations.

DERIVATIVE LANGUAGESMicrosoft has developed derivatives of Visual Basic for use in scripting. It is derived heavily from BASIC and host applications, and has replaced the original Visual Basic language with a .NET platform version:

– Visual Basic for Applications (VBA) is included in many Microsoft applications (like Microsoft Office), and also in several third-party products like WordPerfect Office 2002. There are small inconsistencies in the way VBA is implemented in different applications, but it is largely the same language as VB6.

– VBScript is the default language for Active Server Pages and can be used in Windows scripting and client-side web page scripting. Although it resembles VB in syntax, it is a separate language and it is executed by the Windows Script Host as opposed to the VB runtime. These differences can affect the performance of an ASP web site (namely inefficient string concatenation and absence of short-cut evaluation). ASP and VBScript must not be confused with ASP.NET which uses Visual Basic.Net or any other language that targets the .NET Common Language Runtime.

– Visual Basic .NET is the successor to Visual Basic 6.0, which is part of Microsofts .NET platform. The VB.NET programming language is a true object-oriented language that compiles and runs on the .NET Framework. VB.NET is a totally new tool from the ground up, not backwards compatible with VB6. It ships with a basic converter to upgrade legacy VB6 code although the inefficient nature of the resulting VB.NET code (due to major differences between the two languages) often leads programmers to prefer manual conversion instead. This usually involves re-writing much of the code although in doing so, the programmer can simplify and improve the code through use of the extensive .NET framework and the more powerful constructs offered by the newer language.

For this example we assume that this app will run on Windows XP using Visual Basic 6.0 if you install the VB6 (Windows XP SP1/VB6.3 as of 5.0.4). With this model, any app running in Windows 2000 with VB6 installed (from vB6.x, VB6.3.x, VB6.2 if you installed the same way) will also run on Windows XP SP1 (from vB6.x, vB6.2). Our app’s source code uses the same syntax as the code in this article.

This example is the test code, but you may find the following in the VB Code Gallery.

{:itemTitle=”Mq View-menu Navigation

for Search”}{:valueContent}

For this example we assume that this app will run on Windows XP using Visual Basic 6.0 if you install the VB6 (Windows XP SP1/VB6.3 as of 5.0.4). With this model, any app running in Windows 2000 with VB6 installed (from vB6.x, VB6.3.x, VB6.2 if you installed the same way) will also run on Windows XP SP1 (from vB6.x, vB6.2). Our app’s source code uses the same syntax as the code in this article.

This example is the test code, but you may find the following in the VB Code Gallery.

{:itemTitle=”Mq View-menu Navigation

for Search”}{:valueContent}

Get Your Essay

Cite this page