Beginning visual basic 2015
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Indianapolis, IN :
John Wiley and Sons
2015.
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009849071606719 |
Tabla de Contenidos:
- Intro
- BEGINNING Visual Basic® 2015
- ABOUT THE AUTHOR
- ABOUT THE TECHNICAL EDITOR
- CREDITS
- ACKNOWLEDGMENTS
- CONTENTS
- INTRODUCTION
- CHAPTER 1: WELCOME TO VISUAL BASIC 2015
- Implementing Event-Driven Programming
- Installing Visual Basic 2015
- The Visual Studio 2015 IDE
- The Profile Setup Page
- The Menu
- The Toolbars
- Creating a Simple Application
- Windows in the Visual Studio 2015 IDE
- Modified Hungarian Notation
- The Code Editor
- Using the Help System
- Summary
- CHAPTER 2: THE MICROSOFT .NET FRAMEWORK
- The .NET Vision
- This Sounds Like Java
- Where Now?
- Writing Software for Windows
- The .NET Framework Classes
- Executing Code
- Common Language Runtime
- Code 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
- Working with Strings
- Using 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 ElseIf
- Nested If Statements
- Single-Line If Statement
- Comparison Operators
- 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
- The Do...Loop Loops
- Nested Loops
- Quitting Early
- Quitting 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
- Creating CustomerCollection
- Adding an Item Property
- Building Lookup Tables with Hashtable
- Using Hashtables
- Cleaning Up: Remove, RemoveAt, and Clear
- Case Sensitivity
- Advanced Array Manipulation
- Dynamic Arrays
- Using Preserve
- Summary
- CHAPTER 6: BUILDING WINDOWS APPLICATIONS
- Responding to Events
- Counting Characters
- Counting Words
- Creating More Complex Applications
- Creating the Toolbar
- Creating the Status Bar
- Creating an Edit Box
- Clearing the Edit Box
- Responding to Toolbar Buttons
- Using Multiple Forms
- About Dialog
- Summary
- CHAPTER 7: DISPLAYING DIALOGS
- The MessageBox
- Available Icons for MessageBox
- Available Buttons for MessageBox
- Setting the Default Button
- Miscellaneous Options
- The Show Method Syntax
- Example Message Boxes
- The OpenFileDialog Control
- The OpenFileDialog Control
- The Properties of OpenFileDialog
- OpenFileDialog Methods
- Using the OpenFileDialog Control
- The SaveDialog Control
- The Properties of SaveFileDialog
- SaveFileDialog Methods.
- Using the SaveFileDialog Control
- The FontDialog Control
- The Properties of FontDialog
- The Methods of FontDialog
- Using the FontDialog Control
- The ColorDialog Control
- The Properties of ColorDialog
- Using the ColorDialog Control
- The PrintDialog Control
- The Properties of PrintDialog
- Using the PrintDialog Control
- The PrintDocument Class
- The Properties of the PrintDocument Class
- Printing a Document
- The FolderBrowserDialog Control
- The Properties of FolderBrowserDialog
- Using the FolderBrowserDialog Control
- Summary
- CHAPTER 8: CREATING MENUS
- Understanding Menu Features
- Images
- Access Keys
- Shortcut Keys
- Check Marks
- The Properties Window
- Creating Menus
- Designing the Menus
- Adding Toolbars and Controls
- Coding Menus
- Coding the View Menu and Toolbars
- Testing Your Code
- Context Menus
- Creating Context Menus
- Enabling and Disabling Menu Items and Toolbar Buttons
- Summary
- CHAPTER 9: DEBUGGING AND ERROR HANDLING
- Major Error Types
- Syntax Errors
- Execution Errors
- Logic Errors
- Debugging
- Creating a Sample Project
- Setting Breakpoints
- Debugging Using the Watch Window and QuickWatch Dialog Box
- Debugging with the Autos Window
- Debugging with the Locals Window
- Error Handling
- Using Structured Error Handling
- Summary
- CHAPTER 10: BUILDING OBJECTS
- Understanding Objects
- Encapsulation
- Methods and Properties
- Events
- Visibility
- What Is a Class?
- Building Classes
- Reusability
- Designing an Object
- State
- Behavior
- Storing State
- Real Properties
- Read/Write Properties
- Auto-Implemented Properties
- The IsMoving Method
- Constructors
- Inheritance
- Adding New Methods and Properties
- Adding a GetPowerToWeightRatio Method
- Changing Defaults
- Polymorphism: Scary Word, Simple Concept
- Overriding More Methods.
- Inheriting from the Object Class
- Objects and Structures
- The Framework Classes
- Namespaces
- The Imports Statement
- Creating Your Own Namespace
- Inheritance in the .NET Framework
- Summary
- CHAPTER 11: ADVANCED OBJECT-ORIENTED TECHNIQUES
- Building a Favorites Viewer
- Internet Shortcuts and Favorites
- Using Classes
- Scanning Favorites
- Viewing Favorites
- An Alternative Favorite Viewer
- Building a Favorites Tray
- Displaying Favorites
- Using Shared Properties and Methods
- Using Shared Properties
- Using Shared Methods
- Understanding Object-Oriented Programming and Memory Management
- Garbage Collection
- Releasing Resources
- Defragmentation and Compaction
- Summary
- CHAPTER 12: ACCESSING DATA USING STRUCTURED QUERY LANGUAGE
- What You Need to Complete This Chapter's Exercises
- What Is a Database?
- Database Tables
- Primary and Foreign Keys
- Queries
- Understanding Basic SQL Syntax
- Using SELECT Statement
- Using the JOIN Statement
- Using the UPDATE Statement
- Using the DELETE Statement
- Using the INSERT Statement
- Using the SQL Comment
- Executing Queries in SQL Server
- Summary
- CHAPTER 13: DATABASE PROGRAMMING WITH SQL SERVER AND ADO.NET
- ADO.NET
- ADO.NET Data Namespaces
- The SqlConnection Class
- Working with the Connection String Parameters
- Opening and Closing the Connection
- The SqlCommand Class
- The SqlDataAdapter Class
- The DataSet Class
- DataView
- The ADO.NET Classes in Action
- Data Binding
- BindingContext and CurrencyManager
- Binding Controls
- Binding Examples
- Summary
- CHAPTER 14: ASP.NET
- Thin-Client Architecture
- Web Forms versus Windows Forms
- Windows Forms Advantages
- Web Forms Advantages
- Web Applications: The Basic Pieces
- Web Servers
- Browsers
- HyperText Markup Language
- JavaScript
- Cascading Style Sheets.
- Active Server Pages
- Benefi ts of ASP.NET Web Pages
- Special Website Files
- Development
- Controls: The Toolbox
- Building Websites
- Creating a Web Form for Client- and Server-Side Processing
- Website Locations with VS 2015
- Performing Data Entry and Validation
- Using the GridView to Build a Data-Driven Web Form
- Summary
- CHAPTER 15: DEPLOYING YOUR APPLICATION
- What Is Deployment?
- ClickOnce Deployment
- XCOPY Deployment
- Visual Studio 2015 Setup Application Options
- Deploying Different Solutions
- Private Assemblies
- Shared Assemblies
- Deploying Desktop Applications
- Deploying Web Applications
- Deploying XML Web Services
- Useful Tools
- Summary
- CHAPTER 16: WINDOWS 8 APPS
- Windows 8 Application Design Principles
- Using Touch
- Application Commands
- Windows 8 Controls
- Coding Windows 8 Apps with XAML
- Creating Your First Windows 8 App
- Application Layout
- Application Views
- Screen Sizes and Orientation
- Summary
- APPENDIX: EXERCISE SOLUTIONS
- INDEX
- ADVERT
- EULA.