TENware's Profile User Rating: -----

Reputation: -1 Dishonored
Group:
New Members
Active Posts:
2 (0 per day)
Joined:
27-August 11
Profile Views:
189
Last Active:
User is offline Aug 27 2011 01:16 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   TENware has not set their status

Posts I've Made

  1. In Topic: Working with the Windows Recycle Bin with C#

    Posted 27 Aug 2011

    Nice work!
    I have, however, discovered a problem with the GetSize() function, or more correctly the Shell functions/methods/properties.

    folderItem.IsFolder returns false even if the item is a folder
    (Type = "File Folder").
    Since the type is "File Folder", folderItem.Size returns 0.

    You can use the shell32.dll API SHQueryRecycleBin() to get the number of items and total size (in bytes)
    see:
    http://www.pinvoke.n...RecycleBin.html

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

TENware hasn't added any friends yet.

Comments

TENware has no profile comments yet. Why not say hello?