Home
Recent changes

ATL code
WTL code
MFC code
C++ code
.Net code
PocketPC code
Miscellaneous

viksoe.dk

Todays Events shell extension

Todays Events shell extension

This simple Shell Extension appears under the My Computer icon.
It display the daily generated System event logs.

It's a great tool for System Administrators to quickly get informed about what happend to your computer.

There is no event log on Windows 9X, so you need a Windows NT 4.0 SP4 or better.

The Source Code

Shell Extensions are simple COM objects, which implements two needed interfaces IShellFolder and IShellView.
It shows how to create a simple extension, which displays information in a ListView control. It doesn't have sub-folders, which makes it a no-sweat job to implement. It also ignores drag'n'drop, menus, shell icons and other fancy stuff. I save that for a more advanced extension later.

Source Code Dependencies

Windows NT 4.0 SP4
Microsoft Visual C++ 6.0
Microsoft ATL Library

Installation Guide

  • Copy the DLL to a directory of your choice and register it using the REGSVR32 utility.

See Also

My more advanced Shell Extension sample

Download Files

DownloadBinary Files (31 Kb)
Source Code (55 Kb)


Written by Bjarke Viksoe.
Article submitted 8/3/99.