• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » VB » Menus » What does the common dialog box means? Explain types of common dialog boxes
Next →
← Prev

What does the common dialog box means? Explain types of common dialog boxes

By Dinesh Thakur

1. You can use set of predefined standard dialog boxes in your projects for such tasks as specifying colors and fonts, printing, opening and saving. The common dialog boxes control, which is a custom control, allows your project to use the dialog boxes that are  provided as a part of the Windows environment.

2. To use the common dialog control, you first place a control, and its location doesn’t matter, you can not change size of the control, since it will be invisible when your program will run.

3. In code when you wish to display one of the standard dialog boxes, you refer the properties and methods of the control.

4. You don’t need more than one dialog control on your form.

In Visual Basic common dialog box provides commonly used dialog boxes as given below:

We’ll be covering the following topics in this tutorial:

  • 1. Color Dialog Box:
  • 2. Font Dialog Box:
  • 3. Save Dialog Box:

1. Color Dialog Box:

Visual Basic common dialog box provides Color dialog box which can be used for user to select color from the common dialog box. You can assign the values selected by user to controls in your project. This dialog box can be used by writing a code as follows:

dlgCommon.ShowColor

2. Font Dialog Box:

Font Dialog Box allows user to select his custom font setting like, font name, font size, font color, font style, strike through etc. To display the font dialog on screen use ShowFont method of the common dialog object.

But before using the ShowFont method you first initiate the flag property for font that is cdlScreenFont.

3. Save Dialog Box:

Visual Basic even provides save file dialog box which displays a save file dialog box to get the path for file to save.

You’ll also like:

  1. Dialog Box in Java Example
  2. Confirm Dialog Box Java Swing Example
  3. What do you means by C++ Tokens? Explain Variable,Data Type,Constants, Identifiers and Keyword
  4. Different Types of RAM? Explain in Detail
  5. Explain File System Architecture and its Types
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Visual Basic Tutorial

Visual Basic Tutorial

  • VB - File Types Purpose
  • VB - Events
  • VB - Ole
  • VB - Controls Properties
  • VB - Project Steps
  • VB - Pretest Vs Posttest
  • VB - IDE
  • VB - Record Set
  • VB - Common Dialog Box
  • VB - Val Function
  • VB - Sub Vs Function Procedure
  • VB - Terms
  • VB - User Interface Elements
  • VB - Objects and Modules
  • VB - Variable’s Scope
  • VB - Message Box
  • VB - Data Vs Data-bound Control
  • VB - Branching Statements
  • VB - Do/Loop and For-Next Loop
  • VB - Grid Control
  • VB - Error Types
  • VB - Looping Constructs
  • VB - Relational Vs Logical Operator
  • VB - Control Purpose

Other Links

  • Visual Basic - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2025. All Rights Reserved.

APPLY FOR ONLINE JOB IN BIGGEST CRYPTO COMPANIES
APPLY NOW