fileassociation AccessMode property
Return to Introduction  Previous page  Next page
Applies to
dcFileAssociation component.  

Declaration
type  
  TdcFileExtAccessMode = (amReadOnly, amReadWrite);  
 
property AccessMode: TdcFileExtAccessMode;  

Description
The AccessMode property controls whether other properties of this component can be modified (whether the information about file type specified in the EXTENSION property can be modified).  
 
By default, AccessMode is amReadOnly. This means that you can only read the information but can not change the information for file type specified in EXTENSION property.  
 
Set AccessMode to amReadWrite to install new, or modify existing file type.  

Caution
iiwarning Please be careful on modifying the information of existing file types!! Your changes will override previous settings in the Windows shell!  

See also
EXTENSION property.  
File not found.