PreviousActiveX Controls Guide (v10) Next

Other DDF Manipulations

Chapter contents

The methods detailed in this section can be used to handle DDFs for various other purposes.

Securing DDFs with an Owner Name

You can secure DDFs with an owner name. Two methods are provided to deal with this possibility:

See ActiveX Method Reference for more information on these two methods.

Deleting Existing Field and Index Information

DdfClearFields and DdfClearIndexes provide a quick and convenient way for you to wipe out the existing field and index information for the current table.


Note
If RefreshLocations is True, these changes will be written to the DDFs, so use with caution.

Forcing Comments with Persisted DDF Memory Image

DdfGetComments. This method has a very limited use. If RefreshLocations is False, the persisted memory image will be read when opening a table rather than the DDFs. However, the persisted memory image does not contain comment information. DdfGetComments ignores RefreshLocations and thus you can use this method to force the ActiveX to get comment information to go with persisted DDF information.

Methods with Wide-Ranging Effects

Finally, the following two methods have wide-ranging effects on the DDF handling operations:


Chapter contents
Book contents

Prev topic: Modifying the Data File
Next topic: ActiveX Control Reference