The Visual Basic dot NET Programming Language, Development

0
159
The Visual Basic dot NET Programming Language, Development
The Visual Basic dot NET Programming Language, Development

ebook > Development
The Visual Basic dot NET Programming Language

Category: Development
Language: English
FileType: CHM
File size: 712 KB
Note:
Perhaps no company’s fortunes have been more closely tied to those of a single programming language than Microsoft’s has been with BASIC. Since Bill Gates and Paul Allen formed Microsoft over 25 years ago to sell their Altair MIPS BASIC interpreter, the corporation’s successes have been linked with the BASIC programming language. From MS-DOS to Windows to the NET Framework, BASIC has played a key role in attracting millions of developers to every major Microsoft platform. And of all the incarnations of BASIC produced by Microsoft, none has been more successful than Visual Basic. The introduction of Visual Basic played a large part in the phenomenal success of the Windows platform and the Office productivity suite. The language also boasts the most developers-;over 3 million at last counting-;of any computer language, making it the most successful computer programming language ever. Much of the success of Visual Basic has come from the fundamental design tenets of the language: simplicity, straightforwardness, and ease of use. Visual Basic is a language designed for first-time programmers and experienced programmers alike. It makes learning computer programming easy by being approachable and understandable while providing maximum productivity and power suitable for the most advanced kind of applications. It is a versatile language that is an important part of any programmer’s toolbox. About This Book This book contains a detailed description of the Visual Basic NET programming language. It is intended to help new programmers to learn to program in Visual Basic NET and to serve as a reference for experienced Visual Basic NET programmers. In general, this book does not cover topics that are unrelated to the language itself, such as how to use the Windows Forms libraries to do GUI programming or the underlying design of the Common Language Runtime. It focuses first and foremost on the language itself, and discusses topics outside the language only to the degree that they are necessary to understand some part of the language design. The book is laid out as follows: After a general overview of the language is given, concepts are arranged in order from the simplest to the most advanced. The book is intended to be read sequentially, although programmers with some prior experience in Visual Basic might find that skipping back and forth through the book will work just as well. The progression of concepts through the book starts with the basics of the language such as statements and expressions, moves on to the object-oriented programming (OOP) features of the language such as classes, and then finishes with advanced topics such as inheritance and versioning. Readers who are familiar with prior versions of Visual Basic are still encouraged to read through each chapter; changes occurred throughout the language when moving to the NET Framework, and so even familiar topics may contain new features. In general, when a concept is discussed, it is discussed in detail. For the reader new to programming, the NET Framework, or Visual Basic, some of the details may seem difficult to grasp. Advanced concepts are usually highlighted and are not required for a working understanding of the language-;in practice, they can be skipped. Readers are encouraged not to get hung up on things that may not make sense, but instead to plow ahead and circle back later. Many times, advanced concepts earlier in the book may be simpler to understand once later concepts have been digested. NOTE: The Visual Basic NET language as discussed in this book corresponds to Visual Studio NET 2003 and the NET Framework 1 1. A Short, Unofficial History of Visual Basic The original BASIC programming language was defined by John G. Kemeny and Thomas E. Kurtz at Dartmouth College in 1964. BASIC is an acronym for B eginner’s A ll-purpose S ymbolic I nstruction C ode, and the language was intended to be easy for beginners to learn, yet powerful enough to write general-purpose programs. In 1975, a couple of programmers named Bill Gates and Paul Allen developed a version of BASIC for the Altair MIPS and started selling it through a small corporation they set up. That version of BASIC helped launch the Microsoft Corporation to some extraordinary heights, and since then Microsoft has had a BASIC product available in one form or another. In 1991, BASIC at Microsoft took a major step forward with the introduction of Visual Basic. Based on an idea originally developed by Alan Cooper, Visual Basic wedded a version of the BASIC language to the new Windows user interface, resulting in a powerful tool for developing Windows applications. The concept took off, and today Visual Basic is the most widely used programming tool in existence. The fourth version of the Visual Basic product marked the introduction of the Common Object Model (COM), a framework for developing components that could plug into one another. COM was also extremely successful, forming a foundation technology for Windows and being used to build millions of components. As successful as COM was, it had limitations. One of the biggest was that it was not always designed to work well with languages other than Visual Basic. This meant that, for example, programmers who used C++ often found it difficult and time consuming to program against COM components, especially those written in VB. Another problem was that COM only defined how components were supposed to interact with each other, leaving the actual details of this interaction, especially in terms of such things as component lifetime and memory management, up to the component author. Although Visual Basic provided these services to its programmers, other popular languages, such as C++, did not. Because each C++ programmer was required to implement these services themselves, implementations were not always compatible or complete, resulting in not only more work but also more bugs (and, by extension, more user anguish). To try to address some of the shortcomings of COM, Microsoft began developing a replacement technology, the Common Language Runtime (CLR). In addition to defining component interactions, the CLR also took on the job of managing such things as memory and component lifetime, taking over those responsibilities from the programmer. Microsoft also began developing the NET Framework, a set of class libraries that provided capabilities equivalent to the Win32 API, on top of the CLR. Together, the NET Framework and the CLR form the foundation of the next generation of Windows programming. Although the CLR is intended as a replacement for COM, there are many differences between the two, some major, some extremely subtle. Because Visual Basic had become so integrated with COM, it was necessary to make corresponding changes to the language, some of which significantly altered the way programs were written in VB. As a result, Visual Basic NET, a new and distinct version of the Visual Basic language, was developed. Although most of the language came through unchanged by the transition, some details of the language were modified, and many new concepts were added. Where practical, things that have changed from previous versions of Visual Basic are pointed out in a box labeled Compatibility, but a full accounting of the changes in the language between Visual Basic 6 0 and Visual Basic NET is beyond the scope of this book. Style and Preferences The style and practice of writing BASIC code has changed significantly since the language was introduced almost 40 years ago, and continues to evolve. More than any other programming language, BASIC has been adapted to almost every conceivable purpose and used in almost every possible computing environment. It is, perhaps, the most nonstandard computer language ever developed. Thus, the idea of suggesting a particular style or usage of the language may seem quaint, but is nonetheless part of the purpose of this book. As the previous section should have made clear, Visual Basic NET represents a huge leap forward for the Visual Basic language. Parts of the language have been dropped, other parts have been significantly altered, and still other parts are completely new. Where possible, the book offers suggestions on how best to use the language and provides rationale for those suggestions. Some suggestions are based on practical considerations; others are purely stylistic, bordering on pure personal preference. Readers are, of course, always free to ignore such suggestions-;one of the joys of programming is the freedom to write code as one sees fit.
Free ebooks/book downloading links are not available in public, use the ebook code below for requesting this ebook.

WE DO NOT PROVIDE ANY DIRECT DOWNLOAD, TORRENT, DOWNLOAD, WE ARE NOT AFFILIATED OR ARE AFFILIATES OF DOWNLOADING WEBSITES LIKE RAPIDSHARE, MEDIAFIRE, UPLOADED, UPLOADING, TUSTFILES, RAPIDGATOR, SOLIDFILES, ZIPPYSHARE, NITOFLARE, TORRENTS DOWNLOAD, SOFTWARE.

WE ALSO DO NOT SUPPORT ANY TYPE OF SOFTWARE PATCH, PATCHING, CRACK, CRACKING, SERIAL NUMBERS, SERIALS, LOADERS.

WE SUPPORT ONLY LEGAL ACTIONS AND PUBLIC DOMAIN ITEMS IN THE FUTURE.

This ebook code is: 2149075623