Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 79 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
79
Dung lượng
1,11 MB
Nội dung
[...]... Types Common Visual Basic Functions Summary Project 16 1 16 2 16 5 16 6 16 7 17 2 17 2 17 5 17 6 18 1 18 2 7 Windows Forms 18 7 Inside a Windows Application Windows in NET Making Forms Useful Summary Project 18 7 19 1 210 212 212 8 Classes and Inheritance 219 Object-Oriented Programming Concepts OOP in Visual Basic and NET... 559 5 61 563 564 564 21 Reporting 5 81 Report Options in NET Using Reporting Controls in NET Summary Project xii | Table of Contents 5 81 584 597 597 22 Licensing Your Application 611 Software Licensing Options License Agreements Obfuscation The Library Licensing System Summary Project 611 615 616 618 6 21 622... Involved in Deployment? Deployment Methods Within Visual Studio Summary Project 689 690 700 700 26 Project Complete 711 The Library Project Visual Basic Flexibility The Programming Mindset Summary 711 714 716 717 Table of Contents | xiii A Installing the Software 719 B Software License Agreement ... 13 XML 3 61 What Is XML? The XML Rule XML Content Using XML in NET: The Old Way Using XML in NET: The New Way Summary Project x | Table of Contents 3 61 364 365 3 71 375 378 379 14 Application Settings 392 A Short History of Settings Settings in Visual Basic 2008 Summary Project 392 394 400 4 01 15... Summary Project 493 497 499 5 01 502 503 505 507 510 511 511 19 Localization and Globalization 526 Defining Globalization and Localization Resource Files The My.Resources Object Localizing Forms Within Visual Studio Adding Resources Outside Visual Studio Manually Compiling Resources Other Localization Features Summary Project 526 527 529 5 31 534 535 537 538 539 20 Printing... Visual Basic appear in the Microsoft.VisualBasic namespace, which has “Microsoft” as its root node instead of “System.” When you create new projects in Visual Basic, the name of the project is, by default, a new top-level node in the hierarchy If you create a new Windows application named WindowsApplication1, the default “Form1” form has the following fully qualified name: WindowsApplication1.Form1... into its basic step-by-step instructions can successfully program in Visual Basic If you are unsure about your ability to quantify tasks in this way, you might want to start out with a book on basic programming concepts xv You might know how to program in Visual Basic or NET, but maybe not And that’s OK, because this book will teach you Most of the chapters introduce important topics in Visual Basic and... 725 xiv | Table of Contents Preface 1 Welcome to Programming Visual Basic 2008! I know you’re going to enjoy it; I’ve read it five times already You’re probably anxious to get to Chapter 1, but I recommend you read this preface to make sure you paid for the right book Who Is Reading This Book? Writing a book is a lot like writing a Visual Basic application Well, except for the part about... Issues Summary Project 219 224 2 41 244 244 9 Functional Programming 253 Lambda Expressions Object Initializers Error Handling in Visual Basic The Nature of Errors in Visual Basic Unstructured Error Handling Structured Error Handling Unhandled Errors Managing Errors Summary Project 253 259 260 260 263 265 267 269 273 274 Table of Contents | ix 10 ADO.NET ... publisher, and ISBN For example: Programming Visual Basic 2008, by Tim Patrick Copyright 2008 Tim Patrick, 978-0-596- 518 43 -1. ” If you feel your use of code examples falls outside fair use or the permission given here, feel free to contact us as permissions@oreilly.com How to Contact Us Please address comments and questions concerning this book to the publisher: O’Reilly Media, Inc 10 05 Gravenstein Highway . . . . . . . . . 15 1 The Nature of Computer Data 15 1 Data in .NET 15 3 Visual Basic Data Types 15 8 Literals 15 9 Constants 16 0 Table of Contents | ix Enumerations 16 1 Variables 16 2 Variable and. Constant Naming Conventions 16 5 Local Type Inference 16 6 Operators 16 7 Static Variables 17 2 Arrays 17 2 Nullable Types 17 5 Common Visual Basic Functions 17 6 Summary 18 1 Project 18 2 7. Windows Forms . .NET Framework 7 From Source Code to EXE 16 What About Visual Studio and Visual Basic? 17 Visual Studio 2008 18 Summary 22 Project 23 2. Introducing Visual Basic . . . . . . . . . . . . . . . .