Category Archives: Technology

Context is Hindi when printing line numbers in Word 2007

[This post accompanies a question posted here: http://superuser.com/questions/90665/context-is-hindi-when-printing-line-numbers-in-word-2007] I’m trying to print a Word 2007 document with Line Numbering turned on, and in Word the document looks fine but when I print the document, the line numbers appear in Hindi script. On screen: Printed: I tried deleting my Normal template and allowing Word to create […]

Posted in Technology | Tagged , , | 2 Responses

Registry settings to add Uninstall as a shell option for VSTO manifest files

I have been working on some VSTO add-ins and on deploying them, and have something to share that I didn’t find anywhere else. First of all, let me just say that despite certain hurdles, deploying using ClickOnce has been a very pleasant experience. After following some tutorials on making an MSI, we eventually ended up […]

Posted in Technology | Tagged , , , , | 6 Responses

Recursive Active Directory group membership using System.DirectoryServices in .NET 3.5

When coding for an organization that uses Active Directory, you will eventually come across the business case for using groups within groups, i.e. a  user is part of say, the HR-Administration group, and that group is itself a member of the HR-Department group. You may then need to secure your application to only allow members […]

Posted in Technology | Comments closed

Now using Windows 7 Release Candidate

I recently installed Windows 7 – which is currently being developed and will be released in the next few months – on my home computer. I had heard good things about it, and was keen to test out this latest preview version. It replaced my 6-month old XP installation. Here are some screenshots of things […]

Posted in Technology | Tagged , | Leave a comment

Prezi for stunning presentations

Some days ago I was introduced to this website: prezi.com, for creating presentations online. The editor uses Flash and is entirely online, and you can upload pictures, videos and other flash animations to it. Anyway, I had signed up for their closed beta and earlier today I received a login. The timing was quite fortuitous […]

Posted in Technology | Tagged , , , , , | 2 Responses

Changing Printer settings using the Windows API

I have been working on a program that prints any document you provide to it, as long as there is an application installed on your computer that can handle that document. One issue that we have with it is Duplex printing, i.e. getting the documents to print double-sided. This is a story of how we […]

Posted in Technology | Tagged , , , , , | 13 Responses

Delete EXD files to fix “Object library invalid” error

We have a Microsoft Word template that contains macros, which was working fine but all of a sudden in the last few days, whenever you invoke the template you get the following error: If you open the template file instead of invoking a New document from it, you get a more detailed error:   This […]

Posted in Technology | Tagged , , , , | Comments closed

Collation in Oracle using NLS_SORT

Yesterday I attended a technical presentation on Character Sets. As I told the presenter afterwards, to me attending this meeting was like reading the Kitab-i-Iqan (book of certitude) and then looking at religious history – it was the key that suddenly made everything else clear. I had come across the terms Character Set, Character Encoding, collation, […]

Also posted in Spirituality | Tagged , , , , | 10 Responses

StackOverflow answers your programming questions

Today I discovered a nice service for getting quick answers to programming questions. I had come across StackOverflow.com before, but I actually had a question to ask now so I signed up and asked it. Within an hour, I had some responses, and in two hours I had many possible answers that would all work for […]

Posted in Technology | Tagged , , , | Leave a comment