reklama - zainteresowany?

Programming Visual Basic 2005 - Helion

Programming Visual Basic 2005
ebook
Autor: Jesse Liberty
ISBN: 978-05-965-5271-8
stron: 576, Format: ebook
Data wydania: 2005-09-16
Księgarnia: Helion

Cena książki: 139,00 zł

Dodaj do koszyka Programming Visual Basic 2005

Tagi: Visual Basic - Programowanie

This newest programming guide by bestselling author Jesse Liberty isn't your typical Visual Basic book. It's not a primer on the language, and it won't dull your brain with arguments hyping .NET either. Its goal, rather, is to make you immediately productive, creating Windows and Web applications using Visual Basic 2005 and Visual Studio 2005.

Written for VB6 and novice programmers, the book shows how Visual Basic 2005 can be used to rapidly build modern Windows and web applications.

What makes this book different is what's not included. There's no introduction to Visual Basic, no explanation of how it fits into the .NET world. Why waste time reading about something you'll learn for yourself as soon as you start creating applications? You won't even write a "Hello World" program. With Programming Visual Basic 2005 you'll get started building something meaningful, right away.

The book is divided into three parts--Building Windows Applications, Building Web Applications, and Programming with Visual Basic--each of which could be a book on its own. The author shares his thorough understanding of the subject matter through lucid explanations and intelligently designed lessons that guide you to increasing levels of expertise. By the time you've finished the book, you'll know how to program both Windows and web applications with VB 2005.

The support for this book extends beyond its covers. Jesse offers a FAQ, Errata, complete source code and a link to a free private support discussion center on his web site: LibertyAssociates.com - just click on books.

Jesse Liberty, Microsoft .NET MVP, is the best-selling author of O'Reilly Media's Programming ASP.NET and over a dozen other books on web and object-oriented programming. Jesse is a frequent contributor to many industry publications and websites, and has spoken at numerous industry events. He is a former Distinguished Software Engineer at AT&T and Vice President for technology development at CitiBank.

Jesse Liberty's books have successfully guided thousands of programmers into the world of .NET programming, and Programming Visual Basic 2005 is no exception.

Dodaj do koszyka Programming Visual Basic 2005

 

Osoby które kupowały "Programming Visual Basic 2005", wybierały także:

  • Microsoft Visual Basic 2010 Krok po kroku
  • ASP.NET 4 z wykorzystaniem C# i VB. Zaawansowane programowanie
  • Visual Basic 2008. Warsztat programisty
  • Visual Basic 2010. Od podstaw
  • Programowanie dla poczÄ…tkujÄ…cych w 24 godziny. Wydanie IV

Dodaj do koszyka Programming Visual Basic 2005

Spis treści

Programming Visual Basic 2005 eBook -- spis treści

  • Programming Visual Basic 2005
    • SPECIAL OFFER: Upgrade this ebook with OReilly
    • A Note Regarding Supplemental Files
    • Preface
      • What You Need to Know About This Book
      • What You Need to Use This Book
      • What I Threw Away
      • How This Book Is Organized
        • Part I: Building Windows Applications
        • Part II: Building Web Applications
        • Part III: Working with Visual Basic 2005
      • Conventions Used in This Book
      • Using Code Examples
      • Id Like to Hear from You
      • Comments and Questions
      • Safari Enabled
      • Acknowledgments
    • I. Building Windows Applications
      • 1. Design and First Forms
        • 1.1. The Requirements
        • 1.2. Getting Started
          • 1.2.1. Rearranging Windows
          • 1.2.2. Renaming and Sizing the Form
          • 1.2.3. MinimumSize and MaximumSize
          • 1.2.4. Using Picture Boxes, Panels, and Labels
          • 1.2.5. Adding Group Boxes, Buttons, and Text Boxes
            • 1.2.5.1. Aligning controls
            • 1.2.5.2. Copying and moving controls
          • 1.2.6. Events
          • 1.2.7. Creating Event Handlers
          • 1.2.8. Default Event Handler
          • 1.2.9. Event-Handler Parameters
          • 1.2.10. Sharing Event Handlers
          • 1.2.11. Differentiating Which Button Was Pressed
        • 1.3. Creating the Customer Detail Page
          • 1.3.1. Adding a Menu
          • 1.3.2. Hooking Up the Second Form to the First
          • 1.3.3. Adding Tab Controls
          • 1.3.4. Adding Tabs to the TabControl
        • 1.4. Summary
      • 2. Data Access
        • 2.1. Adding Data to the Customer Page
          • 2.1.1. Create a Data Connection
          • 2.1.2. Create a Data Set Declaratively
          • 2.1.3. Binding Data Controls with Drag and Drop
          • 2.1.4. Querying with Parameters
            • 2.1.4.1. One row found in search
          • 2.1.5. Finding More Than One Match
        • 2.2. Using the Details View to Create the Detail Form
          • 2.2.1. Adding New Tables
          • 2.2.2. Create a Details View Declaratively
          • 2.2.3. Declare Master/Detail Relationship
          • 2.2.4. Feeding the Suppliers to the Suppliers Page
          • 2.2.5. Factor Out Common Code
          • 2.2.6. Updating Data
        • 2.3. Modify the Display with Events
      • 3. Cool Controls
        • 3.1. Adding a Menu and Toolbar
          • 3.1.1. Rename All the Menu Choices
          • 3.1.2. Other Cool Controls
        • 3.2. Displaying Web Documents
          • 3.2.1. Setting Web Browser Event Handlers
          • 3.2.2. Adding an Auto-Complete Text Box to Navigate URLs
          • 3.2.3. Displaying XML documents
          • 3.2.4. Using Drag and Drop
        • 3.3. Masked Text Box
          • 3.3.1. Hooking the Masked Control to the Data
        • 3.4. Printing a Document
          • 3.4.1. Handling the Print Click Event
        • 3.5. Copying Files Using Tree Views
          • 3.5.1. Populating the TreeView Controls
            • 3.5.1.1. TreeNode objects
          • 3.5.2. Displaying the Directories
            • 3.5.2.1. Recursing through the subdirectories
            • 3.5.2.2. Getting the files in the directory
          • 3.5.3. Handling TreeView Events
            • 3.5.3.1. Clicking the source TreeView
            • 3.5.3.2. Expanding a directory
            • 3.5.3.3. Clicking the target TreeView
            • 3.5.3.4. Handling the Clear button event
          • 3.5.4. Implementing the Copy Button Event
            • 3.5.4.1. Getting the selected files
          • 3.5.5. Handling the Delete Button Event
      • 4. Custom Controls
        • 4.1. Custom Controls
        • 4.2. Design
        • 4.3. Building the Controls
          • 4.3.1. Building the Rolodex Panel
        • 4.4. Using the Custom Controls
          • 4.4.1. Building the Specialized Forms
          • 4.4.2. Displaying the Rolodex, Step by Step
          • 4.4.3. Clicking on an Entry
          • 4.4.4. Walking Through a Letter Button Click
      • 5. GDI+ and Drawing
        • 5.1. The Graphics Class
          • 5.1.1.
            • 5.1.1.1. Coordinates
            • 5.1.1.2. Transforms introduced
        • 5.2. Implementing the Control
          • 5.2.1.
            • 5.2.1.1. The StringDraw class
            • 5.2.1.2. The LtrDraw class
            • 5.2.1.3. The DrawString.DrawTheString() method
            • 5.2.1.4. Drawing the clock face
            • 5.2.1.5. Drawing the date
          • 5.2.2. Adding the Control to a Form
            • 5.2.2.1. Drawing the numbers
            • 5.2.2.2. Drawing the time
            • 5.2.2.3. Drawing the hands
            • 5.2.2.4. RotateTransform ()
            • 5.2.2.5. FillEllipse
            • 5.2.2.6. Refactor
          • 5.2.3. Switching from 12-Hour to 24-Hour Display
      • 6. Mice and Fonts
        • 6.1. Click the Mouse
          • 6.1.1. Using MouseDown, MouseUp, and MouseMove
          • 6.1.2. Using MouseEnter and MouseLeave
          • 6.1.3. Rebuild and Run the Application
          • 6.1.4. Setting Fonts
      • 7. Legacy COM Controls
        • 7.1. Importing ActiveX Controls
          • 7.1.1. Creating an ActiveX Control
          • 7.1.2. Importing a Control in .NET
            • 7.1.2.1. Importing a control
        • 7.2. Importing COM Components
          • 7.2.1. Integrating the COM DLL into .NET
          • 7.2.2. Importing the Type Library
          • 7.2.3. Creating a Test Program
          • 7.2.4. Late Binding
    • II. Building Web Applications
      • 8. Web Application, Design, and First Forms
        • 8.1. Understanding Web Forms
          • 8.1.1. Web Form Events
          • 8.1.2. Event Model
          • 8.1.3. ASP.NET Events
          • 8.1.4. Application and Session Events
          • 8.1.5. Events in Visual Studio .NET
          • 8.1.6. Multiple Controls to One Event Handler
          • 8.1.7. Postback Versus Non-Postback Events
          • 8.1.8. State
        • 8.2. Getting Started
          • 8.2.1. Code-Behind Files
          • 8.2.2. Put a Toe in the Water
        • 8.3. Adding Controls
          • 8.3.1. Server Controls
          • 8.3.2. Adding Controls and Events
          • 8.3.3. Adding the Shipper Page
        • 8.4. State
          • 8.4.1. View State
          • 8.4.2. State Bag
          • 8.4.3. Session State
          • 8.4.4. Session-State Configuration
          • 8.4.5. Session-Scoped Application Objects
        • 8.5. Lifecycle
        • 8.6. Directives
          • 8.6.1. Application Directive
          • 8.6.2. Assembly Directive
      • 9. Validation Controls
        • 9.1. The RequiredFieldValidator
        • 9.2. Client-Side Evaluation
        • 9.3. The Summary Validator
        • 9.4. The Compare Validator
          • 9.4.1. Checking the Input Type
          • 9.4.2. Comparing to Another Control
        • 9.5. Range Checking
        • 9.6. Regular Expressions
        • 9.7. Custom Validation
        • 9.8. Validation Groups
      • 10. Master Pages and Navigation
        • 10.1. Creating Master Pages
        • 10.2. Navigation
          • 10.2.1. Getting Started with Site Navigation
          • 10.2.2. Setting Up the Pages
          • 10.2.3. Customizing the Look and Feel
            • 10.2.3.1. Limiting the number of links shown
          • 10.2.4. Populating on Demand
      • 11. Web Data Access
        • 11.1. Getting Data from a Database
          • 11.1.1. Create a Data Connection
          • 11.1.2. Data Source Controls
          • 11.1.3. Binding Data Controls with Drag and Drop
          • 11.1.4. Adding Features to the Grid
          • 11.1.5. Adding Insert, Update, and Delete Statements
        • 11.2. Multiuser Updates
          • 11.2.1. Lock the Records
          • 11.2.2. Update Only the Records You Change
          • 11.2.3. Compare Original Against New
          • 11.2.4. Handle the Errors
          • 11.2.5. Displaying and Updating the Grid
          • 11.2.6. Take It for a Spin
          • 11.2.7. Tracking the Update with Events
          • 11.2.8. Modifying the Grid Based on Events
          • 11.2.9. Using IntelliSense to Help You Identify the Type to Declare
          • 11.2.10. Passing Parameters to the Select Query
        • 11.3. The DataList Control
          • 11.3.1. Organizing the Flow of the DataList
          • 11.3.2. Editing Items in List Controls
          • 11.3.3. Deleting Items from a List Control
          • 11.3.4. Trying It Out
          • 11.3.5. Examining One Record at a Time: The DetailsView
          • 11.3.6. Examining Single Records with FormView (Master/Detail)
          • 11.3.7. Inserting New Records
          • 11.3.8. Updating the Drop-Down List
      • 12. Personalization
        • 12.1. Implementing Forms-Based Security
          • 12.1.1. Creating the User Through IIS
          • 12.1.2. Creating Accounts Programatically
          • 12.1.3. Creating the Welcome Page
          • 12.1.4. Create a Login Page
          • 12.1.5. Adding a Password Reminder
        • 12.2. Add Roles to ASP.NET Accounts
          • 12.2.1. Create a New Application with Roles
          • 12.2.2. Restricting Access to Pages Based on Roles
          • 12.2.3. Restricting Access to a Set of Pages
        • 12.3. Create Personalized Web Sites
          • 12.3.1. Recording Personalization Information
            • 12.3.1.1. Setting up profile handling
          • 12.3.2. Exploring the Profile Tables
        • 12.4. Personalize with Complex Types
        • 12.5. Anonymous Personalization
          • 12.5.1. Migrating the Anonymous Data to the Actual User's Record
        • 12.6. Themes and Skins
          • 12.6.1. Create the Test Site
          • 12.6.2. Organize Site Themes and Skins
          • 12.6.3. Enable Themes and Skins
          • 12.6.4. Specify Themes for Your Page
          • 12.6.5. Using Named Skins
        • 12.7. Web Parts
          • 12.7.1. Create a New Site
          • 12.7.2. Web Parts Architecture
          • 12.7.3. Creating Zones
          • 12.7.4. Adding Controls to Zones
          • 12.7.5. Minimizing and Restoring
        • 12.8. Enabling Editing and Layout Changes
          • 12.8.1. Creating a User Control to Enable Changing Page Layout
            • 12.8.1.1. Moving a Part
            • 12.8.1.2. Editing a Part
          • 12.8.2. Adding Parts from a Catalog
      • 13. Custom Controls
        • 13.1. User Controls
          • 13.1.1. Adding Code to User Controls
            • 13.1.1.1. Control properties
        • 13.2. Custom Controls
          • 13.2.1. Creating a Web Control Library
          • 13.2.2. Web Custom Control 1
          • 13.2.3. Properties
          • 13.2.4. The Render Method
          • 13.2.5. Rendering Text with Tags
          • 13.2.6. Maintaining State
          • 13.2.7. Creating Derived Controls
          • 13.2.8. Adding the Derived Custom Control to the ASPX Page
          • 13.2.9. Creating Composite Controls
          • 13.2.10. Modifying the CountedButton Derived Control
          • 13.2.11. Creating the BookCounter Control
          • 13.2.12. INamingContainer
          • 13.2.13. Creating the BookInquiryList Composite Control
          • 13.2.14. Declaring the BookCounters in the .aspx File
          • 13.2.15. Implementing BookInquiryList.Render
          • 13.2.16. Assignment of Responsibilities
      • 14. Web Services
        • 14.1. Platform Independence
        • 14.2. How Web Services Work
        • 14.3. Creating a Web Service
        • 14.4. WebMethod Properties
          • 14.4.1. The BufferResponse Property
          • 14.4.2. The CacheDuration Property
          • 14.4.3. The Description Property
          • 14.4.4. The EnableSession Property
          • 14.4.5. The TransactionOption Property
          • 14.4.6. The MessageName Property
        • 14.5. Testing Your Web Service
          • 14.5.1. Examining the WSDL
        • 14.6. Writing the Client
    • III. Programming with Visual Basic 2005
      • 15. Visual Studio 2005
        • 15.1. Start Page
        • 15.2. Projects and Solutions
          • 15.2.1. Templates
          • 15.2.2. Web Sites
          • 15.2.3. Solutions
        • 15.3. The Integrated Development Environment (IDE )
          • 15.3.1. Layout
          • 15.3.2. Creating a Web Application
          • 15.3.3. Creating a Windows Application
          • 15.3.4. Menus and Toolbars
          • 15.3.5. File Menu
            • 15.3.5.1. New
          • 15.3.6. Edit Menu
            • 15.3.6.1. Cycle Clipboard Ring Clipboard Ring
            • 15.3.6.2. Find and Replace Quick Find (Ctrl-F) / Quick Replace (Ctrl-H)
            • 15.3.6.3. Find and Replace Find in Files (Ctrl-Shift-F)
            • 15.3.6.4. Find and Replace Replace in Files (Ctrl-Shift-H)
            • 15.3.6.5. Find and Replace Find Symbol (Alt-F12)
            • 15.3.6.6. Go To...
            • 15.3.6.7. Find All References
            • 15.3.6.8. Insert File As Text...
            • 15.3.6.9. Advanced
            • 15.3.6.10. Incremental search (Ctrl-I)
            • 15.3.6.11. Bookmarks
            • 15.3.6.12. Outlining
            • 15.3.6.13. IntelliSense
          • 15.3.7. View Menu
            • 15.3.7.1. Class View (Ctrl-Shift-C)
            • 15.3.7.2. Code Definition Window (Ctrl-W, D)
            • 15.3.7.3. Error List (Ctrl-W, Ctrl-E)
            • 15.3.7.4. Output (Ctrl-Alt-O)
            • 15.3.7.5. Properties Windows (F4)
            • 15.3.7.6. Solution Explorer (Ctrl-Alt-L)
            • 15.3.7.7. Task List (Ctrl-W, Ctrl-T)
            • 15.3.7.8. Toolbox (Ctrl-Alt-X)
            • 15.3.7.9. Other Windows
          • 15.3.8. Refactor Menu
          • 15.3.9. Build Menu
          • 15.3.10. Debug Menu
          • 15.3.11. Data Menu
          • 15.3.12. Format Menu
          • 15.3.13. Tools Menu
            • 15.3.13.1. Connect to Device ...
            • 15.3.13.2. Connect to Database ...
            • 15.3.13.3. Code Snippets Manager (Ctrl-K, Ctrl-B)
            • 15.3.13.4. Choose Toolbox Items...
            • 15.3.13.5. Macros
            • 15.3.13.6. External Tools...
            • 15.3.13.7. Performance Tools
            • 15.3.13.8. Import and Export Settings...
            • 15.3.13.9. Customize ...
            • 15.3.13.10. Options...
          • 15.3.14. Window Menu
          • 15.3.15. Help Menu
            • 15.3.15.1. Dynamic Help (Ctrl-Alt-F4)
            • 15.3.15.2. Contents ...(Ctrl-Alt-F1) / Index ...(Ctrl-Alt-F2) / Search ...(Ctrl-Alt-F3)
            • 15.3.15.3. Index Results... (Shift-Alt-F2)
            • 15.3.15.4. Check for Updates
        • 15.4. Building and Running
      • 16. Visual Basic 2005 Fundamentals
        • 16.1. Types
          • 16.1.1. Numeric Types
            • 16.1.1.1. Nonnumeric types
            • 16.1.1.2. Understanding types
        • 16.2. Variables
          • 16.2.1.
            • 16.2.1.1. Type characters
            • 16.2.1.2. Initializing variables
          • 16.2.2. Default Values
          • 16.2.3. Constants
            • 16.2.3.1. Literal constants
            • 16.2.3.2. Symbolic constants
          • 16.2.4. Enumerations
          • 16.2.5. Casting
          • 16.2.6. Strings
        • 16.3. Whitespace
        • 16.4. Statements
        • 16.5. Branching
          • 16.5.1. Unconditional Branching Statements
          • 16.5.2. Conditional Branching Statements
            • 16.5.2.1. If statements
            • 16.5.2.2. If...Else statements
          • 16.5.3. Select Case Statements
            • 16.5.3.1. Checking for a range of values
        • 16.6. Iteration Statements
          • 16.6.1. The Do Loop
            • 16.6.1.1. Do While
            • 16.6.1.2. Do Until
            • 16.6.1.3. Breaking out of a Do loop
          • 16.6.2. While Loops
          • 16.6.3. The For loop
        • 16.7. Operators
          • 16.7.1. Arithmetic Operators
            • 16.7.1.1. The modulus operator (Mod) modulus operator (Mod)
            • 16.7.1.2. The exponentiation (^) operator
          • 16.7.2. Relational Operators
          • 16.7.3. Use of Logical Operators with Conditionals
          • 16.7.4. Operator Precedence
      • 17. Using Collections and Generics
        • 17.1. Arrays
          • 17.1.1. Declaring Arrays
          • 17.1.2. Understanding Default Values
          • 17.1.3. Accessing Array Elements
          • 17.1.4. Initializing Array Elements
          • 17.1.5. Multidimensional Arrays
            • 17.1.5.1. Rectangular arrays
          • 17.1.6. Jagged Arrays
        • 17.2. Generics
          • 17.2.1. Generic List Class
          • 17.2.2. Implementing IComparable
        • 17.3. Queues
        • 17.4. Stacks
        • 17.5. Dictionaries
          • 17.5.1. IDictionary IDictionary
      • 18. Object-Oriented Visual Basic 2005
        • 18.1. Defining Classes
        • 18.2. Instantiating Objects
        • 18.3. Scope
        • 18.4. The Heap
        • 18.5. Access Modifiers
        • 18.6. Method Arguments
        • 18.7. Constructors
        • 18.8. Initializers
        • 18.9. Copy Constructors
          • 18.9.1. The Me Keyword
        • 18.10. Using Shared Members
        • 18.11. Destroying Objects
        • 18.12. Overloading Methods and Constructors
          • 18.12.1. Overloaded MethodsDifferent Signatures
        • 18.13. Encapsulating Data with Properties
          • 18.13.1. The Get Accessor
          • 18.13.2. The Set Accessor
        • 18.14. Specialization and Generalization
        • 18.15. Inheritance
          • 18.15.1. Implementing Inheritance
          • 18.15.2. Calling Base Class Constructors
        • 18.16. Polymorphism
          • 18.16.1. Creating Polymorphic Types
          • 18.16.2. Creating Polymorphic Methods
        • 18.17. Abstract Classes
          • 18.17.1. NotInheritable Class
        • 18.18. The Root of All Classes: Object
        • 18.19. Boxing and Unboxing Types
          • 18.19.1. Boxing Is Implicit
          • 18.19.2. Unboxing Must Be Explicit
        • 18.20. Interfaces
        • 18.21. Interfaces Versus Abstract Base Classes
        • 18.22. Defining an Interface
        • 18.23. Implementing an Interface
          • 18.23.1. Implementing More Than One Interface
          • 18.23.2. Casting to an Interface
    • About the Author
    • Colophon
    • SPECIAL OFFER: Upgrade this ebook with OReilly

Dodaj do koszyka Programming Visual Basic 2005

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.