EccoApp Methods

Activate

 

Activates Ecco.  Launches Ecco if Ecco is not already running.


CloseFile [saveflag]

 

Closes the current file. If saveflag is True, the file will be saved first. Otherwise, it will be closed without saving.


DeleteItem EccoItem

 

Deletes the specified EccoItem object from the Ecco file.

The following example deletes all items in the selection:

Set MySelection = New EccoItems 
Set MyItem = New EccoItem 
Set MySelection = MyEcco.Selection 
For Each MyItem in MySelection 
    MyEcco.DeleteItem MyItem 
Next

NewFile [template]

 

Creates a new file. If a valid template file is specified, the new file will be based on that template. Otherwise, an empty file without template information (containing only the canonical folders, and no items) will be created.
 

Examples:

MyEcco.NewFile "c:\windows\ShellNew\special.ect" 'creates _
    a new file based on a template
MyEcco.NewFile 'creates a new file not based on a template

Register DeveloperID, UserID, UserName, [ExpirationDate]

 

Verifies that the developer and the user have proper registration credentials.  If an expiration date is specified, UserID and UserName are not verified.  Read the Registered property to determine if the credentials were valid.


SaveFile [filename]

 

Saves the current file. Unless the file was created using the NewFile method, the filename parameter can be omitted.

ShutDown
 

Shuts down Ecco.