February 8, 2012
Hot Topics:
RSS RSS feed

Using the Choose Color Dialog Box

  • November 19, 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




Comment and Contribute

 


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

 

 


Networking Solutions
Sitemap | Contact Us