Book description
Beginning Microsoft Visual Basic 2008 is designed to teach you how to write useful programs in Visual Basic 2008 as quickly and easily as possible.
There are two kinds of beginners for whom this book is ideal:
You're a beginner to programming and you've chosen Visual Basic 2008 as the place to start. That's a great choice! Visual Basic 2008 is not only easy to learn, it's also fun to use and very powerful.
You can program in another language but you're a beginner to .NET programming. Again, you've made a great choice! Whether you've come from Fortran or Visual Basic 6, you'll find that this book quickly gets you up to speed on what you need to know to get the most from Visual Basic 2008.
Visual Basic 2008 offers a great deal of functionality in both tools and language. No one book could ever cover Visual Basic 2008 in its entirety—you would need a library of books. What this book aims to do is to get you started as quickly and easily as possible. It shows you the roadmap, so to speak, of what there is and where to go. Once we've taught you the basics of creating working applications (creating the windows and controls, how your code should handle unexpected events, what object-oriented programming is, how to use it in your applications, and so on), we'll show you some of the areas you might want to try your hand at next. To this end, the book is organized as follows:
Chapters 1 through 9 provide an introduction to Visual Studio 2008 and Windows programming.
Chapter 6 provides an introduction to XAML and Windows Presentation Foundation (WPF) programming.
Chapter 10 provides an introduction to application debugging and error handling.
Chapters 11 through 13 provide an introduction to object-oriented programming and building objects.
Chapter 14 provides an introduction to creating Windows Forms user controls.
Chapter 15 provides an introduction to graphics in Windows applications.
Chapters 16 and 17 provide an introduction to programming with databases and covers Access, SQL Server, ADO.NET and LINQ.
Chapters 18 and 19 provide an introduction to ASP.NET and show you how to write applications for the Web.
Chapter 20 provides a brief introduction to XML, a powerful tool for integrating your applications—regardless of the language they were written in.
Chapter 21 introduces you to web services and the Windows Communication Foundation (WCF).
Chapter 22 introduces you to sequential workflows using the Windows Workflow Foundation (WF).
Chapter 23 introduces you to building applications for mobile devices using the Compact Framework classes.
Chapter 24 introduces you to deploying applications using ClickOnce technology.
Chapter 25 provides some insight on where to go next in your journey to learn about VisualBasic 2008.
Appendix A provides the answers to chapter exercises.
Appendix B introduces the Microsoft Solution Framework.
Appendix C provides some background on security.
Appendix D provides insight into Windows CardSpace.
Appendix E compares the differences between the latest versions of the .NET Framework.
Table of contents
- Copyright
- About the Authors
- Credits
- Acknowledgments
- Introduction
- 1. Welcome to Visual Basic 2008
- 2. The Microsoft .NET Framework
-
3. Writing Software
- 3.1. Information and Data
- 3.2. Working with Variables
- 3.3. Comments and Whitespace
- 3.4. Data Types
- 3.5. Storing Variables
- 3.6. Methods
- 3.7. Summary
- 3.8. Exercises
-
4. Controlling the Flow
- 4.1. Making Decisions
- 4.2. The If Statement
- 4.3. Select Case
- 4.4. Loops
- 4.5. Summary
- 4.6. Exercises
- 5. Working with Data Structures
- 6. Extensible Application Markup Language (XAML)
- 7. Building Windows Applications
- 8. Displaying Dialog Boxes
- 9. Creating Menus
- 10. Debugging and Error Handling
- 11. Building Objects
- 12. Advanced Object-Oriented Techniques
- 13. Building Class Libraries
- 14. Creating Windows Forms User Controls
-
15. Programming Custom Graphics
-
15.1. Building a Simple Paint Program
- 15.1.1. Creating a Project with User Controls
- 15.1.2. How Drawing Programs Work
- 15.1.3. The GraphicsItem Class
- 15.1.4. Screen and Client Coordinates
- 15.1.5. Listening to the Mouse and Drawing GraphicsCircle Objects
- 15.1.6. Invalidation
- 15.1.7. Optimized Drawing
- 15.1.8. Choosing Colors
- 15.1.9. Responding to Clicks
- 15.2. Dealing with Two Colors
- 15.3. Working with Images
- 15.4. More Graphics Methods
- 15.5. Summary
-
15.1. Building a Simple Paint Program
- 16. Accessing Databases
- 17. Database Programming with SQL Server and ADO.NET
- 18. ASP.NET
- 19. Web Projects
-
20. Visual Basic 2008 and XML
- 20.1. Understanding XML
-
20.2. The Address Book Project
- 20.2.1. Creating the Project
- 20.2.2. The SerializableData Class
- 20.2.3. Loading the XML File
- 20.2.4. Changing the Data
- 20.2.5. Sending E-mail
- 20.2.6. Creating a List of Addresses
- 20.2.7. Ignoring Members
- 20.2.8. Loading Addresses
- 20.2.9. Adding New Addresses
- 20.2.10. Navigating Addresses
- 20.2.11. Deleting Addresses
- 20.2.12. Testing at the Edges
- 20.3. Integrating with the Address Book Application
- 20.4. Summary
- 20.5. Exercises
- 21. Distributed Computing with Windows Communication Foundation
- 22. Building a Sequential Workflow Using the Windows Workflow Foundation
- 23. Building Mobile Applications
- 24. Deploying Your Application
- 25. Where to Now?
-
A. Exercise Solutions
- A.1. Chapter 1
- A.2. Chapter 3
- A.3. Chapter 4
- A.4. Chapter 5
- A.5. Chapter 6
- A.6. Chapter 7
- A.7. Chapter 8
- A.8. Chapter 9
- A.9. Chapter 10
- A.10. Chapter 11
- A.11. Chapter 12
- A.12. Chapter 13
- A.13. Chapter 14
- A.14. Chapter 16
- A.15. Chapter 17
- A.16. Chapter 18
- A.17. Chapter 19
- A.18. Chapter 20
- A.19. Chapter 21
- A.20. Chapter 22
- A.21. Chapter 23
- A.22. Chapter 24
- B. Using the Microsoft Solutions Framework
- C. An Introduction to Code Security and SSL
- D. An Introduction to Windows CardSpace
- E. .NET Framework Differences
Product information
- Title: Beginning Microsoft® Visual Basic® 2008
- Author(s):
- Release date: May 2008
- Publisher(s): Wrox
- ISBN: 9780470191347
You might also like
book
Microsoft® Visual Basic® 2008 Step by Step
Teach yourself the fundamentals of working with Visual Basic 2008 one step at a time. With …
book
Professional Visual Basic® 2008
The 2008 version of Visual Basic is tremendously enhanced and introduces dramatic new concepts, techniques, and …
book
Professional Visual Studio® 2008
Professional Visual Studio 2008 Microsoft Visual Studio 2008 is the latest version in the ongoing evolution …
book
VSTO 3.0 for Office 2007 Programming
Get to grips with Programming Office 2007 using Visual Studio Tools for Office A step-by-step guide …