Home
Products
Forums
Help
Publish Article
RecycleEnumerator
RecycleEnumerator - Documentation

This page contains all the methods and properties that are supported by all versions of the component. Depending on the version that you are using some of the methods may not be avaiable to you. We will follow the following convention for describing methods.

  • Methods Names - Blue
  • Method parameters - Bold black

How To Create The Object

The ProgId of this component is NETOMATIX.ShellEngine. For VB applications you can create the object with the folloing code.

Dim g_obEngine As ShellEngine
Set g_obEngine = New ShellEngine
						

How to add refrence?

The type library name for this component is COMShell. Following image shows how the refrence is added in a VB application.

Add refrence

ShellEngine Methods

  • GetRecycleBinItems
    • BinItems is returned. You can use Count property to get number of objects in the collection and then use Item indexer to get each BinItem object.
      Dim g_obBinItems As BinItems
      Set g_obBinItems = g_obEngine.GetRecycleBinItems										
      										

BinItem Properties

  • Name - Name of recycle bin item.
  • Path = Full path where the recycle bin item is stored.
  • IsFolder - True Or False indicating of recycle bin item is a folder or not.
  • LargeIcon - Windows handle to Large Icon associated with the object. If there is no icon associated then this value is ZERO.
  • SmallIcon - Windows handle to Small Icon associated with the object. If there is no icon associated then this value is ZERO.
  • LowFileSize - Returns lower 32 bit value for file size in bytes.
  • HighileSize - Returns upper 32 bit value for file size in bytes.
Dim elem As BinItem
Set elem = g_obBinItems.Item(0)						
MsgBox elem.Name & "," & elem.Path & "," & elem.IsFolder & "," & elem.LargeIcon & "," & elem.SmallIcon
						
Home     About us     Contact us    Copyright    Privacy Policy    Return Policy    Advertisers
Copyright (c) 2001-2007 Pardesi Services LLC