Thanks to Huizhong Long for pointing this out, VS 2005 Automation samples are now on MSDN: 

http://msdn.microsoft.com/vstudio/downloads/code/automation/default.aspx