I am developing an application which need to interact with 2003, 2007, 2010 versions of MSWord and PPT. I read some articles and found that Late binding is the best option.

Could somebody post some sample code how to do it for word and PPT?

Like how to get the running instances of application irrespective of their version?