Microsoft Office Groove has a nifty little hotkey. If you press shift twice, a dialog comes up to let you write a message. This is even more annoying than the accessibility sticky keys or filter keys dialog. And guess what, there is no way to disable the hotkey in the user interface! I haven’t found the place to do it at least.
I got so annoyed with this that I asked our internal IT support how to disable it. The answer was that you have to edit the registry.
I thought I’d make a short blog post with the instructions. And remember, all the normal disclaimers apply: It is dangerous to modify the registry if you don’t know what you’re doing! I am not responsible for any damage that may occur if you try to follow these instructions. With that out of the way, here’s the information you have been waiting for.
- Make sure that Groove is shut down
- Locate the path HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\12.0\Groove
- If this does not contain a sub key called InstaGroove, then create it
- For the InstaGroove key, create a new DWORD Value called DisableHotkey
- Set the value data to 1
- Start Groove and verify that pressing shift twice does not pop up the message any more
Really simple, right?
When declaring a feature, you can add an <ActivationDependencies> section in your feature.xml. Here you can list the features your feature is depending on.
According to the documentation on activation dependencies (http://msdn.microsoft.com/en-us/library/aa543162.aspx), the dependant features get automatically activated if they are in the same scope: If a Feature is dependent on another Feature at the same scope, and the second Feature is not activated when the first one is activated, Windows SharePoint Services activates the second Feature.”
This is incorrect.
The second feature is activated automatically only if it is hidden!
Creating a new folder in a document library in SharePoint using the object model is not entirely logical.
You can’t use the Add method on the SubFolder collection (list.RootFolder.SubFolders). It will add the folder, but it will not be visible.
What you have to do is:
SPListItem newFolder = list.Items.Add("", SPFileSystemObjectType.Folder, "foldername");
So what you actually do is to create a new list item of type Folder.
Information gotten from http://www.sharepointblogs.com/stevekay72/archive/2007/08/16/create-sub-folders-in-lists-programmatically.aspx