Last week I was asked on one of my CodeProject article, about how to implement a Sharepoint feature that will automatically add subfolders to a parent folder in a document library. To add subfolders when a new Folder(or derived Content Type from Folder) was created, we have to write a feature, that will handle the ItemAdded event. When this event gets fired, we can get the current folder item and add subfolders to it. The following feature adds subfolders( the ones from folders array) when a new...
If you are about to write another p/invoke (Win32 calls) to access existing Windows, Controls,...you should consider switching to UI Automation framework, which provides programmatic access to most user interface (UI) elements on the desktop, by writing managed code. Some time ago I wrote an article about UI Automation, have a look at: http://www.codeproject.com/... In this post, I'll try to compare two ways of implementing Windows automation applications, by using unmanaged...