Found this great tip on preventing IE from opening office documents. Launch Windows Explorer. Select “Folder Options…​“ from the Tools menu. Select the “File Types“ tab. Scroll down the list of “Registered file types“ until you find “DOC - Microsoft Word Document“ and select it. Click on the “Advanced…​“ button at the bottom of the dialog. Uncheck the “Browse in same window“ checkbox.

Read more →

"Edit In" functionality is only available for Office XP and Office 2003 on the client, however I saw this workaround from a now unknown poster and was kind enough to confirm that it works. "Office 2000 is not supported to edit documents within the Document Library under the "All Documents" view. But here is a work around to get the same exact function from Office 2000 as you do in Office 2003.

Read more →

VS.NET 2003 debugger died unexpectedly today. I get an access denied error with a suggestion to add myself to Debugger Users group or be an Administrator. I’m already the administrator and also part of Debugger users group. Googling a bit, found a collection of entries on M K Park’s blog

Read more →

I’ve been using CMAB for sometime now and the only big crib that I have against it is that it doesnt support environment variables for specifying things like the path of the actual configuration file [One of the projects that does is Log4Net] I’ve looked at the code and supporting environment variable expansion shoudlnt be too difficult to do. I’ll post a suggestion in and see what happens.

Read more →

Probably I’ve been living in a cave…​but looks like we’ve got a release of the enterprise library. "Summary The patterns & practices Enterprise Library is a library of application blocks designed to assist developers with common enterprise development challenges. Application blocks are a type of guidance, provided as source code that can be used "as is," extended, or modified by developers to use on enterprise development projects. Enterprise Library features new and updated versions of application blocks that were previously available as stand-alone application blocks.

Read more →

I noticed this strange behaviour and thought its worth a post - till I find a solution/explanation. Scenario: I have a custom web service running under sharepoint. This means that the .asmx is in "c:\Program Files\Common Files\Microsoft Shared\web server extensions\60\ISAPI" and the binaries in the bin folder under it. The url of the web service is http://aditi277/XTeam/spaces/outlooksynch/_vti_bin/OfflineServices.asmx The _vti_bin has NTLM authentication enabled. When I paste the url in a browser, I go straight through to the page without any authentication!

Read more →

Just discovered something great - Inkscape - go grab a copy and enjoy…​

Read more →

I’m almost through with a decent logging implementation for a Web service running under Windows Sharepoint services. Here are some hard earned lessons: I could not use Global.asax for a sharepoint hosted web service. The Sharepoint web services Global.asax derives from stssoap and when I included the code in a C# script block, the code never got invoked. Also, the concept of an application is not useful in the case of web service - since a single web might be used to host multiple services.

Read more →

I’ve been trying to get decent logs on web application/web service. Its critical in cases where you dont have remote debugging access on the server. I’ve been using Log4Net for over an year now and it’s saved me more than once. It’s the first time that I’ve tried to use it in a web scenario. There’s just a couple of things to keep in mind: Usually the worker process runs under the ASPNET account - this doesnt have rights to logon and doesnt have an associated console.

Read more →

Great article. Gives some very valuable information on implementing sets with a finite universe. It doesn’t suit my requirements - I need to represent sets where the universal set might be infinite - like, say the set of strings. The trouble starts with trying to implement the set complement operation - you can’t obviously list an infinite set, so the trick is to represent it as a cofinite set.

Read more →