1.

Record Nr.

UNINA9910812092503321

Autore

Newsome Bryan <1971->

Titolo

Beginning Visual Basic 2012 / / Bryan Newsome

Pubbl/distr/stampa

Indianapolis, IN, : Wiley, 2012

ISBN

1-283-64595-5

1-118-33204-0

1-118-38795-3

Edizione

[1st edition]

Descrizione fisica

1 online resource (746 p.)

Collana

Wrox beginning guides Beginning Visual Basic 2012

Disciplina

005.2/768

005.2768

Soggetti

Computer programming

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

"Wrox" -- Cover.

Nota di bibliografia

Includes bibliographical references.

Nota di contenuto

Beginning Visual BasicĀ® 2012; Contents; Chapter 1: Welcome to Visual Basic 2012; Event-Driven Programming; Installing Visual Basic 2012; The Visual Studio 2012 IDE; The Profile Setup Page; The Menu; The Toolbars; Creating a Simple Application; Windows in the Visual Studio 2012 IDE; The Toolbox; Modified Hungarian Notation; The Code Editor; Using the Help System; SUMMARY; Chapter 2: The Microsoft .NET Framework; Microsoft's Reliance on Windows; MSN 1.0; The .NET Vision; This Sounds Like Java; Where Now?; Writing Software for Windows; The .NET Framework Classes; Executing Code

Common Language RuntimeCode Loading and Execution; Application Isolation; Security; Interoperability; Exception Handling; The Common Type System and Common Language Specification; SUMMARY; Chapter 3: Writing Software; Information and Data; Algorithms; What Is a Programming Language?; Working with Variables; Comments and Whitespace; Comments; Whitespace; Data Types; Working with Numbers; Common Integer Math Operations; Integer Math Shorthand; The Problem with Integer Math; Floating-Point Math; Other States; Single-Precision Floating-Point Numbers; Working with Strings; Concatenation

Using the Concatenation Operator InlineMore String Operations;



Substrings; Formatting Strings; Localized Formatting; Replacing Substrings; Using Dates; Formatting Date Strings; Extracting Date Properties; Date Constants; Defining Date Literals; Manipulating Dates; Boolean; Storing Variables; Binary; Bits and Bytes; Representing Values; Converting Values; Methods; Why Use Methods?; Methods You've Already Seen; Building a Method; Choosing Method Names; Scope; SUMMARY; Chapter 4: Controlling the Flow; Making Decisions; The If Statement; The Else Statement

Allowing Multiple Alternatives with ElseIfNested If Statements; Single-Line If Statement; Comparison Operators; Using Not Equal To; Using the Numeric Operators; The And and Or Operators; Using the And Operator; More on And and Or; String Comparison; Select Case; Case-Insensitive Select Case; Multiple Selections; The Case Else Statement; Different Data Types with Select Case; Loops; The For...Next Loop; Using the Step Keyword; Looping Backward; The For Each...Next Loop; The Do...Loop Loops; Do While...Loop; Acceptable Expressions for a Do...Loop; Other Versions of the Do...Loop; Nested Loops

Quitting EarlyQuitting Do...Loops; Infinite Loops; SUMMARY; Chapter 5: Working with Data Structures; Understanding Arrays; Defining and Using Arrays; Using For Each...Next; Passing Arrays As Parameters; Sorting Arrays; Going Backward; Initializing Arrays with Values; Understanding Enumerations; Using Enumerations; Determining the State; Setting Invalid Values; Understanding Constants; Using Constants; Different Constant Types; Structures; Building Structures; Adding Properties to Structures; Working with ArrayLists; Using an ArrayList; Deleting from an ArrayList; Showing Items in the ArrayList

Working with Collections

Sommario/riassunto

The ultimate beginner's guide to programming in Visual Basic 2012 Visual Basic, used to write Windows applications and web apps with ASP.NET, is an essential language for beginning programmers. Using the time-tested Wrox approach, this guide provides a step-by-step format that gets beginners up and running quickly and confidently. Essential topics covered include writing Windows applications, working with dialog boxes and menus, object oriented programming techniques, programming for graphics, using Visual Basic with ASP.NET for web apps, and dealing with data access and SQL Server.</