Start Here! Learn Microsoft Visual Basic 2012
Format: PDF / Kindle (mobi) / ePub
Ready to learn Microsoft Visual Basic? Start Here!
Learn the fundamentals of modern programming with Visual Basic 2012—and begin building your first Windows 8 apps for the desktop. If you have absolutely no previous experience with Visual Basic, no problem—simply start here! This book introduces must-know concepts and techniques through easy-to-follow explanations, examples, and exercises.
Here’s where you start learning Visual Basic
- Learn the fundamentals of programming with Visual Basic
- Discover how to to bind controls to data
- Design and interact with user interfaces built with XAML
- Build and debug complete applications
- Learn the basics of Windows 8 application design
- Find out how to deliver your applications to the Windows Store
taskbar icons for Windows Internet Explorer, antivirus utilities, and other programs installed on your system. In most of my screen shots, I’ll hide the taskbar to show more of the IDE. The following illustration shows some of the tools and windows in the Visual Studio IDE. Don’t worry that this illustration looks different from your current development environment view. You’ll learn more about these elements (and how you adjust your views) as you work through the chapter. The main tools visible
course on opening projects, see the detailed instructions in Chapter 1. If you are asked if you want to save changes to the My Web List project, be sure to click Save. 58 Start Here! Learn Microsoft Visual Basic 2012 Note The Start Here! programming series is designed to be a hands-on learning experience, so you will benefit most from building the projects on your own as you read this book. But after you have completed the projects, it is often a good idea to compare what you have with the
project is compiled, the files form a complete class. The second, third, and fourth lines declare XAML namespaces in the project that define default elements in the user interface. It is necessary to reference the definitions in specific documents because there are many XAML elements that have the same name, and Visual Studio needs to know which definition to use when there is a conflict. The second and third lines are standard XAML features: core namespaces that will appear in each XAML document
Designer. As you add Toolbox controls to the page and modify property settings with the Properties window, your revisions are added to the XAML file and you can fine-tune them with markup to create impressive effects. In this chapter, you also learned how to use the Image control, the ToggleButton control, and the Canvas control. In the XAML Drawing project, you used the Canvas control to create a piece of custom artwork on the page, and the exercise demonstrated how you can nest parent and child
“Controlling Application Design, Layout, and Program Flow,” you’ll learn more about exception handlers and how to manage common run-time errors. In Chapter 9, “Debugging Applications,” you’ll learn more about break mode and other useful tools in the IDE for correcting mistakes in Visual Basic applications. 19. Return now to the Code Editor, and correct this data type mismatch problem by editing the incorrect program statement to its original value: Artists = 2500 20. Compile and run the