I do not find Commnon Dialog Control in the toolbox,Can somebody plz tell me from where to drag the control? I have just General Tab in my toolbox????
ruchika beddy
0
Light Poster
Recommended Answers
Jump to Postthe common dialog control is an intrinsic control. it cannot be displayed in your toolbox by default. you have to manually add it.
please goto Project->Components
then select Microsoft Common Dialog Control 6.0
click Apply->Ok
Now you can see it on your toolboxregards
Shouvik
Jump to Postadd it on component.
ctrl + T (or right click on your toolbox / project->component) -> check for Microsoft Common Dialog Control 6.0 -> OK
it will shown on your toolbox.
Jump to Postthere is no need to use the Action property.
use .ShowColor like
'for color dialog
CommonDialog1.ShowColor
'for print dialog
CommonDialog1.ShowPrinter
'for openfile dialog
CommonDialog1.ShowOpen
'for save as dialog
CommonDialog1.ShowSavefor changing color of the form this line
Form1.Backcolor=Commondialog1.Color
is perfectly okand for trapping the error when you press cancel …
All 11 Replies
choudhuryshouvi
33
Posting Pro
Jx_Man
987
Nearly a Senior Poster
Featured Poster
ruchika beddy
0
Light Poster
choudhuryshouvi
33
Posting Pro
ruchika beddy
0
Light Poster
choudhuryshouvi
33
Posting Pro
choudhuryshouvi
33
Posting Pro
ruchika beddy
0
Light Poster
choudhuryshouvi
33
Posting Pro
pramya
0
Newbie Poster
choudhuryshouvi
33
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.