March 24, 2019
Hot Topics:

Using the Choose Color Dialog Box

  • November 20, 2002
  • By Steve Anderson
  • Send Email »
  • More Articles »

All Visual Basic programmers have used the Common Dialog Control for opening, saving, choosing colors and more, but did you know that you can do all this by calling the DLL directly?

Why would you want to call the DLL directly?  The ActiveX control works fine!

Well, the Common Control DLL is permanently loaded with Windows, but the ActiveX version that is available in Visual Basic has to be loaded separately and more memory and resources will be required.  The other reason lies in there being several versions of the Common Control provided with Visual Basic and the hefty (140Kb) sized control has to distributed with all your applications making a much bigger application. If you are distributing your application over the internet or any other means where size matters then using the API is the solution.

This article will focus on using the API to display the choose color dialog box.

The Choose Color Dialog Box

Page 1 of 3

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date