winzip icon

CommonDialog Enhanced Callback

Submitted on: 2/14/2015 9:20:00 AM
By: gibra (from psc cd)  
Level: Advanced
User Rating: By 38 Users
Compatibility: VB 6.0
Views: 9461
     CD Enhanced is a sample VB project that show how to use the system CommonDialog without OCX/DLL. Moreover, show how to use CommonDialog 'callback' to enhanced your dialogs and manage advanced features never see like: images preview (with stretch or not), audio wav/midi preview (play directly in CommonDialog!), you can add custom image where you want, resize common dialog to add your controls (TextBox, Toolbar, PictureBox, ecc. and manage them events). Example you can add a TextBox in the system Font dialog that display a custom text. With this CD class you can transform a system CommonDialog how you desire!!! The image below shows the Audio-Preview dialog with a top custom image.

winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net

Other 5 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

3/3/2018 7:58:31 AMRob

I have made a point of avoiding MS's extra dependencies (Common Controls etc)
Your project has a reference to comctl32.ocx
Can that be avoided ?

Thanks for sharing,
(If this comment was disrespectful, please report it.)

9/20/2018 6:51:57 AMRob C

Gibra does not appear to be answering.
Can anyone else shed light on how to avoid the dependency in this download ?
(If this comment was disrespectful, please report it.)

6/19/2019 12:27:40 PMgibra

@ Rob
The comctl32.ocx is used to adda toolbar 5.0 with two buttons in dialog for audio (Play and Stop).
You can modify source as you want for all you needs. I.e. you can replace toolbar with other commands, or remove toolbar at all.

(If this comment was disrespectful, please report it.)

7/14/2019 1:57:17 AMRob C

Thanks for answering Gibra
(If this comment was disrespectful, please report it.)


Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.