>>why not create your new command button from a class you've built that has the desired method? if you can do that, you don't need to use writemethod...
>
>You're right, that would work...but my question is, where is WriteMethod, WriteExpression, etc used?
i'd guess that they're used internally when we add a method or property to an object...