Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

  • Who Am I?

    Tags: .NET

    As we probably know, the most popular activity involving the Active Directory for the developers amongst us is to check for authorization. We get a username from the context/environment/browser, and … more

  • A Sincere and Permanent Attachment

    Tags: Office

    Our goal for today is automatically attaching a Smart Document to a document - hopefully from a button or a COM add-in or something. Well, my pre-2003 Office skills are a bit rusty, so I haven't … more

  • Erase-a-RegKey.

    For many years now I've been using .REG files to deploy registry changes - quick, easy and notepad-compatible. The problem is that I could easily add or modify keys with this, but couldn't erase … more

  • Reporting Services and Sharepoint

    In case you missed it in the setup Help file (I did) and you installed SQL Server Reporting Services on a virtual directory that's under Windows Sharepoint Services - there are some manual things to … more

  • State of the Nation

    Another painful point I have just noticed. Again, this was embedded in the SDK, but so deep you would hardly notice it until you looked for it specifically: All instances of Winword will use the same … more

  • Communication Breakdown

    Tags: Office

    And today, on “Why Smart Documents Are Giving Me Ulcers”: ActiveX controls! The concept is simple - I want to have an ActiveX control on my Smart Document that can affect the Smart Doc … more

  • He who controls the feeds - controls INFORMATION.

    This has nothing to do with Smart Documents, but I just wanted to mention Sig Weber's XSLT files that enable you to easily show RSS feeds as web parts on a Sharepoint site, without even having to … more

  • Word and Excel - A Wor(l)d Apart

    Tags: .NET, Office

    Technically, the same smart document can apply to both Word and Excel. In practice, if you want your smart-doc to actually DO something, chance are half your code will be hacked and kludged to work … more

  • Debug and Conquer!

    Tags: .NET, Office

    A few tips to keep in mind when developing and debugging a Smart Document using C# (and probably VB.NET too).(For my own selfish ease-of-use, I will refer to Word exclusively here. All these steps … more

  • "Smarter than the average Document."

    Tags: .NET, Office

    Smart Document Deployment is definitely an issue that needs a lot of work. For the past week I've been repeatedly stumped in the simple task of loading a Smart Document solution into Word. Not a … more