Skip to Content
Beginning Visual Basic 2012
book

Beginning Visual Basic 2012

by Bryan Newsome
September 2012
Beginner
744 pages
19h 30m
English
Wrox
Content preview from Beginning Visual Basic 2012

Chapter 8

Displaying Dialogs

What You Will Learn in this Chapter

  • Creating a message box using different buttons and icons
  • Creating an Open dialog that enables you to open files
  • Creating a Save dialog that enables you to save files
  • Creating a Font dialog that enables you to apply the selected font to text
  • Creating a Color dialog that enables you to define and select custom colors
  • Creating a Print dialog that prints text from your application
  • Creating a Browse dialog that enables you to browse for folders

Wrox.com Code Downloads for this Chapter

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118311813 on the Download Code tab. The code is in the 311813 C08.zip download and individually named according to the names given throughout the chapter.

Visual Basic 2012 provides several built-in dialogs that help you provide a rich user interface in your front-end applications. These dialogs provide the same common user interface that is found in most Windows applications. They also provide many properties and methods that enable you to customize them to suit your needs while still maintaining the standard look of Windows Forms applications.

This chapter explores these dialogs in depth and shows how you can use them in your Visual Basic 2012 applications to help you build more professional-looking applications for your users.

The MessageBox

MessageBox is one of those dialogs that you will use often as a developer. This dialog enables you to display ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome
Beginning Microsoft® Visual Basic® 2008

Beginning Microsoft® Visual Basic® 2008

Thearon Willis, Bryan Newsome

Publisher Resources

ISBN: 9781118332047Purchase book