method ExDataObjectFiles.Remove (Index as Long)

Removes a specific file name given its index into collection.

TypeDescription
Index as Long A long expression that indicates the index of filename into collection.

Use the Remove method to remove a file name from the collection. Use Clear method to remove all filenames. Use Add method to add your files to the drag and drop data source. The control fires the OLEStartDrag event to notify your application that the user stars dragging files. Use the Get property to retrieve the selected items. Use the FullName property to retrieve the full name of the file. You can use the RegisterClipboardFormat API  function to register a new clipboard format. This format can then be used as a valid clipboard format. Use the SingleSel property to allow multiple selection in the control.