dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB
Expertise: Intermediate
Aug 18, 2004

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Remove the Read-only Checkbox from a Common Dialog Control

To remove the read-only checkbox from a common dialog control, add the following constant declaration to the module:

Global Const OFN_HIDEREADONLY = &H4&
Then, while calling the common dialog, write the following code:

Private Sub Command1_Click()
   CommonDialog1.Flags=OFN_HIDEREADONLY
   CommonDialog1.ShowOpen
End Sub
When the Open File dialog box opens, it won't have the read-only checkbox.
Pankaj Agarwal
 
Comment and Contribute

 

 

 

 

 


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

 

 

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