sample code written to answer forum questions
AppBarTest for thread Change Windows 7 taskbar location automatically based on screen shape or on docking status http://stackoverflow.com/questions/12435503/change-windows-7-taskbar-location-automatically-based-on-screen-shape-or-on-dock
AutoCompleteDemo is a WinForms application that fills TextBox AutoComplete suggestions programmatically. You will get AccessViolationException: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." if you replace AutoCompleteCustomSource in the TextChanged event (https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/e599b2e2-3cda-43ad-b15f-a69b4fea1a75/dynamic-filling-of-textbox-autocomplete-not-working?forum=winforms).
AutomateShellWindow is a MFC application that automates Windows Explorer. See https://www.codeproject.com/Articles/12029/Automate-the-Active-Windows-Explorer-or-Internet-E for full details.
ColumnProviderHost is a MFC applcation that host Shell Column Provider extensions. Shell Column Provider extensions are discontinued in Windows Vista but some of them are still useful for a Windows Explorer replacement.
ComparePaths is a C# console program that compares paths in different forms (e.g. is C:\PROGRA~1 identical to C:\Program Files?).
EdiTransform is a C# console program that transforms EDI files.
FindDotnetInWindows is a C++ console application that finds .Net assemblies by using Shell Search Folder and IMetaDataImport. It is from a discussion detailed at https://jiangsheng.net/build/html/blogs/2016/what-part-of-windows-is-written-in-netwpfsilverlight.html .
HtmlCaretTest is a MFC application that moves the insert cursur in a webbrowser control.
IEAutomation is a MFC application that adds VBA support to a webbrowser control host.
IgnoreSsl is a C# application that ignores certificate errors. For details visit https://jiangsheng.net/build/html/blogs/2013/howto-ignoring-web-browser-certificate-errors-in-webbrowser-host.html.
MFCSafeArrayTest is a MFC application that creates a one deminsion safe array,
MFCWinFormHybrid for testing the effects of replacing the MFC message pump with a Windows Forms one
picview is a MFC application that speed up image display by using the new virtual list feature introduced in Internet Explorer 4.
RemoveNodeFromXml is for walking around the bug Unable to open a channel that has SSLProperties in Mirth Connect without SSL Plugin #4238 (nextgenhealthcare/connect#4238), by removing settings for missing plugin before importing.
SelectCustomPlaces is a C# program that shows how to add custom places to a Vista stype file dialog.
SelenuimTest is a console program that automates a Google Chrome instance.
TrapControlAltDelete is a C++ program that disables Control+Alt+Delete on Windows 2000/XP.
WDSSample is a sample showing how to query Windows Desktop Search index from a desktop application.
WinFormsHTMLSegments is a sample that demostrates how to highlight HTML fragments from a webbrowser host.