1. Trang chủ
  2. » Công Nghệ Thông Tin

Beginning Microsoft Visual Basic 2008 phần 1 pdf

92 378 1

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 92
Dung lượng 1,08 MB

Nội dung

[...]... Understanding Arrays 10 5 10 8 11 2 11 3 11 4 11 4 11 5 12 0 12 1 12 7 12 8 13 1 13 2 13 2 13 3 13 3 Defining and Using Arrays Using For Each Next Passing Arrays as Parameters Sorting Arrays Going Backwards Initializing Arrays with Values 13 4 13 7 13 9 14 2 14 3 14 4 Understanding Enumerations 14 5 Using Enumerations Determining the State Setting Invalid Values 14 5 15 0 15 2 Understanding Constants 15 3 Using Constants Different... Box Clearing the Edit Box Responding to Toolbar Buttons Using Multiple Forms The About Dialog Box Summary Exercises 17 2 17 2 17 6 17 8 18 0 18 0 18 2 18 3 18 4 18 5 18 5 18 7 19 0 19 1 19 7 205 209 209 211 211 212 219 219 223 226 232 232 233 238 240 242 244 2 51 2 51 255 255 xvi ftoc.indd xvi 4/2/08 5 :13 :55 PM Contents Chapter 8: Displaying Dialog Boxes The MessageBox Dialog Box Available Icons for MessageBox Available... ffirs.indd xi 4/2/08 5 :13 :19 PM ffirs.indd xii 4/2/08 5 :13 :19 PM Contents Acknowledgments Introduction Chapter 1: Welcome to Visual Basic 2008 Event-Driven Programming Installing Visual Basic 2008 The Visual Basic 2008 IDE The Profile Setup Page The Menu The Toolbars xi xxvii 1 2 3 7 7 8 9 Creating a Simple Application 10 The Toolbox Modified Hungarian Notation The Code Editor 14 18 19 Using the Help System... various aspects of the Visual Basic 2008 language, as well as its foundations in the Microsoft NET Framework You will find that it is not nearly as difficult as you had imagined Before you know it, you will feel quite comfortable creating a variety of different types of programs with Visual Basic 2008 c 01. indd 1 4/2/08 5 :17 :02 PM Chapter 1: Welcome to Visual Basic 2008 Visual Basic 2008 can also be used... Need to Run Visual Basic 2008? Apart from a willingness to learn, all you’ll need for the first 13 chapters are a PC running Windows Vista (preferred), Windows XP (Home or Professional Edition), or Windows Server 2003; Internet Explorer; and of course, one of the following: ❑ Microsoft Visual Basic 2008 Express ❑ Microsoft Visual Basic 2008 Profession Edition ❑ Microsoft Visual Basic 2008 Team System... Client- and Server-Side Processing Web Site Locations with VS 2008 Performing Data Entry and Validation Designing the Site’s Look and Feel Using the GridView to Build a Data-Driven Web Form Summary Exercises 570 570 578 579 580 610 614 615 617 618 619 619 619 620 620 620 620 6 21 6 21 6 21 622 622 622 623 623 623 628 630 635 645 6 51 6 51 Chapter 19 : Web Projects 653 Web Site Authentication 653 Windows Authentication... xxxi flast.indd xxxi 4 /1/ 08 6 :18 :54 PM flast.indd xxxii 4 /1/ 08 6 :18 :55 PM 1 Welcome to Visual Basic 2008 This is an exciting time to enter the world of programming with Visual Basic 2008 and Windows Vista Windows Vista represents the first Windows operating system upgrade since Windows XP was first released in 2002 A lot has changed in the Windows user interface and Visual Basic 2008 makes it easy to... ArrayLists Using an ArrayList Deleting from an ArrayList Showing Items in the ArrayList Working with Collections Creating CustomerCollection Adding an Item Property 15 3 15 5 15 5 15 6 15 9 16 0 16 0 16 4 16 7 16 8 16 9 17 0 xv ftoc.indd xv 4/2/08 5 :13 :55 PM Contents Building Lookup Tables with Hashtable Using Hashtables Cleaning Up: Remove, RemoveAt, and Clear Case Sensitivity Advanced Array Manipulation Dynamic... Exercises Chapter 21: Distributed Computing with Windows Communication Foundation What Is a Web Service? How Does a Web Service Work? SOAP Building a Web Service A Web Services Demonstration Adding More Methods Understanding WCF Services WCF services Summary Exercises 654 662 675 675 677 677 678 680 6 81 6 81 682 688 6 91 692 694 698 7 01 702 704 705 707 708 709 714 715 717 717 718 719 7 21 7 21 724 726 726 735... 8 41 Appendix E: NET Framework Differences 849 Index 853 xxv ftoc.indd xxv 4/2/08 5 :13 :58 PM ftoc.indd xxvi 4/2/08 5 :13 :58 PM Introduction Visual Basic 2008 is Microsoft s latest version of the highly popular Visual Basic NET programming language, one of the many languages supported in Visual Studio 2008 Visual Basic 2008 s strength lies in its ease of use and the speed at which you can create Windows . Case 11 4 Loops 11 4 The For . . . Next Loop 11 5 The For Each . . . Next Loop 12 0 The Do . . . Loop Loops 12 1 Nested Loops 12 7 Quitting Early 12 8 Infinite Loops 13 1 Summary 13 2 Exercises 13 2 Chapter. h1" alt="" ffirs.indd viffirs.indd vi 4/2/08 5 :13 :18 PM4/2/08 5 :13 :18 PM Beginning Microsoft ® Visual Basic ® 2008 Acknowledgments xi Introduction xxvii Chapter 1: Welcome to Visual Basic 2008. 4/2/08 5 :13 :19 PM4/2/08 5 :13 :19 PM ffirs.indd xiiffirs.indd xii 4/2/08 5 :13 :19 PM4/2/08 5 :13 :19 PM Contents Acknowledgments xi Introduction xxvii Chapter 1: Welcome to Visual Basic 2008 1 Event-Driven

Ngày đăng: 09/08/2014, 14:21

TỪ KHÓA LIÊN QUAN