Bits and Pieces

Bits and Pieces

Tools and Code by Avner Shahar-Kashtan

Home Archive Categories Tags Blog Tools & Projects About Me RSS
  • Word 2007 and Sharepoint Workflows

    2007-02-20 Avner Shahar-Kashtan Miscellaneous Debris
    I've got a couple of questions about Word 2007 integration with Sharepoint 2007, and several problems that occur because of it: The Mysterious Checked-Out Error Let's say I have a workflow attached to a document library which creates a data …
  • "Trial Expired" errors in unexpected places.

    2007-02-20 Avner Shahar-Kashtan Miscellaneous Debris
    I've installed MOSS 2007 RTM on a couple of test VPCs here, using the 180-day trial version. Everything worked fine until I tried to create a new page in my Publishing Portal - suddenly received a "The trial period for this product has …
  • MOSS Workflows are versioned

    2007-02-20 Avner Shahar-Kashtan Miscellaneous Debris
    I was asked today about MOSS's behavior when workflows are changed midstream. Say I have a document library with a Workflow attached to it, start a few long-running (non-immediate) workflows, then change the workflow before they're …
  • Screencasts vs. Whitepapers

    2007-02-15 Avner Shahar-Kashtan Miscellaneous Debris
    A few weeks ago, Lawrence Liu (a senior technical PM and community lead for Sharepoint at Microsoft) linked to a few screencasts for learning how to use various features in MOSS2007. In that entry, he mentioned how screecasts are more …
  • Bad naming - Sharepoint Features

    2007-02-08 Avner Shahar-Kashtan Miscellaneous Debris
    Gaaah! Who, in the name of all that is holy, thought that naming a feature in Sharepoint "Features" would be a good idea? Sure, it describes it, but it also describes practically everything else. It's impossible to find on Google and makes …
  • Outlook Calendar as your Windows Desktop

    2007-02-01 Avner Shahar-Kashtan Miscellaneous Debris
    In a Channel 9 conversation, user Dr. Herbie expressed his long-standing desire to see his Outlook calendar as a desktop wallpaper. This, I admit, has never once occured to me. The nice thing about it is that it's so amazingly simple to …
  • Exposing add-in errors in VSTO for Word 2007

    2007-01-21 Avner Shahar-Kashtan Miscellaneous Debris
    One of the most annoying things about writing add-ins for Office is that it tends to swallow any and all errors that occur. All exceptions are silently thrown into the trash heap without even a statusbar flag. Nothing. This meant that we …
  • Zune Desktop Theme - A Warning

    2007-01-08 Avner Shahar-Kashtan Miscellaneous Debris
     A few days ago, Microsoft released a new Desktop Theme for Windows XP named the "Zune Desktop Theme" – even though it looks a lot like Vista, all in black and orange. It fits in with Office 2007's Black skin, so I gleefully installed it. …
  • VSTO for Outlook 2007 - Building the Add-in (part 2)

    2007-01-03 Avner Shahar-Kashtan Miscellaneous Debris
    Writing the Outlook add-in described in my previous post was composed of the following steps: 1) Creating the project Ah, the wonders of VSTO. Saving us all the unnecessary hassle of adding COM references, implementing interfaces and …
  • VSTO for Outlook 2007 - New Features, More Fun (part 1)

    2007-01-03 Avner Shahar-Kashtan Miscellaneous Debris
    Introduction Outlook has always been a bit of a latecomer to the VSTO game, being a step behind and a version later than Word and Excel. I'm glad to see that with Outlook 2007 and VSTO 2005SE it's gotten simpler and easier to write …
  • Wrapping the RAS

    2006-12-13 Avner Shahar-Kashtan Miscellaneous Debris
    A couple of years ago I had a need to automate dialing a RAS connection and retrieving the IP address allocated by the server. I found myself writing a small, rather limited wrapper around the RAS P/Invoke calls. Far from complete, it only …
  • Crossing the line - Reflection and Reality

    2006-12-12 Avner Shahar-Kashtan Miscellaneous Debris
    When we're working Reflection, we tend to think in different terms than we do when we're actually calling methods. There's an extra level of abstraction in everything we do. Translating between these levels of abstraction isn't always easy …
  • Code Generation, SharedContracts and The Sneaky Bug

    2006-08-16 Avner Shahar-Kashtan Miscellaneous Debris
    A short discussion ensued today on the topic of Code Generation tools like CodeSmith. Like Unit Testing, code generation is a topic that some people swear by and some reject out of hand. I'm sure this is mostly a question of getting used to …
  • Creating CustomBindings programatically

    2006-08-10 Avner Shahar-Kashtan Miscellaneous Debris
    I had another revelation earlier, when going over Nicholas Allen's explanation of the GetProperty method and BindingContexts: The Binding objects supplied by the WCF framework are only a wrapper. They have no logic in them. They mean …
  • Aggregated Interface Implementation

    2006-08-08 Avner Shahar-Kashtan Miscellaneous Debris
    I've been struggling around the aggregation used in WCF's Binding object model, as implemented in the GetProperty method (see relevant discussions with Nicholas Allen from the WCF team here and here), and I'm struck by how the need for a …
  • WCF: Navigating the Binding maze

    2006-08-07 Avner Shahar-Kashtan Miscellaneous Debris
    A few days ago I ranted a bit about the Binding object model in WCF and how restrictive it feels when I want to imperatively describe my service bindings without being tied down to a specific transport. If I want to disable security or set …
  • WCF Serialization Part 2d: A Solution, a Conclusion and a Contribution

    2006-08-03 Avner Shahar-Kashtan Miscellaneous Debris
    This is the last part of my continuing saga of serializing dictionaries over WCF and beyond. Quick recap: While WCF allows me to serialize an IDictionary easily, trying to serialize that dictionary later for other uses fails - specifically, …
  • WCF Serialization Part 2c: Hacking the NameValueCollection (unsuccesfully)

    2006-08-02 Avner Shahar-Kashtan Miscellaneous Debris
    As we mentioned here and here, I've been struggling to get the NameValueCollection object to pass through WCF serialization. Please read the first two posts first for some context. In the previous episodes, we saw that we can't get …
  • WCF Serialization Part 2b: WCF Collection Serialization

    2006-08-02 Avner Shahar-Kashtan Miscellaneous Debris
    As we mentioned here, I'm currently struggling with getting WCF to serialize my NameValueCollection object on a service operation. The previous post goes over the general details, while here I'll dive a bit deeper. It's …
  • WCF Serialization Part 2a: NameValueCollection Denied!

    2006-08-02 Avner Shahar-Kashtan Miscellaneous Debris
    As we all know, IDictionaries aren't serializable. This is has been a cause of much concern and consternation throughout the years. Throughout these trying times, however, we had one shining beacon in the night - the NameValueCollection …
← Newer
4 / 10
Older →

Bits and Pieces — Tools and Code by Avner Shahar-Kashtan