Tuesday, October 21, 2008
Disposal of objects in WSS and SharePoint 2007
Roger Lamb has an excellent blog post on how to properly dispose objects in WSS 3.0 / SharePoint 2007. http://blogs.msdn.com/rogerla/archive/2008/02/12/sharepoint-2007-and-wss-3-0-dispose-patterns-by-example.aspx
Thursday, October 16, 2008
Overriding Javascript functions
Jonathan Yong has a great tutorial on how to override javascript functions:
http://dataerror.blogspot.com/2005/08/javascript-function-overriding-part-1.html http://dataerror.blogspot.com/2005/08/javascript-function-overriding-part-2.html http://dataerror.blogspot.com/2005/08/javascript-function-overriding-part-3.html http://dataerror.blogspot.com/2005/08/javascript-function-overriding-part-4.htmlSunday, September 28, 2008
Wednesday, July 23, 2008
Adding a 'Send to Gac' option to the shortcut menu
When working on assemblies that are deployed to the GAC, copying a new version to the GAC is something you do several times a day.
To speed this process up, having a 'send to gac' option on the context menu of a dll file can be very handy.
Use the following reg file to add the 'send to gac' option to the context menu. Note that also an 'open' option is added without a command specified. This is to have a default (i.e. doubleclick) action to avoid sending a dll to the GAC when you accidentally doubleclick on it.The path of the gacutil.exe utility may differ. You might prefer to add the location of the gacutil.exe utility to the PATH environment variabele and simply use @="gacutil.exe /i \"%1\"" as the command.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
@="Open"
[HKEY_CLASSES_ROOT\dllfile\shell\Open]
@="&Open"
[HKEY_CLASSES_ROOT\dllfile\shell\Open\command]
@=""
[HKEY_CLASSES_ROOT\dllfile\shell\Send to GAC]
@="Send to &Gac"
[HKEY_CLASSES_ROOT\dllfile\shell\Send to GAC\command]
@="\"C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\Bin\\gacutil.exe\" /i \"%1\""
Thursday, July 10, 2008
Zeta Resource Editor
This is a free, open source utility application that enables you to edit string resources from multiple different resource files together inside one single data grid. See the website here
Subscribe to:
Comments (Atom)