Well, we live and learn, the hard way sometimes. I developed my .net application targetting 2010 and ended up using some 2010 api changes without knowing it. For example I used the Internal.Utils.SelectObjects, which is apparently new and I used TextStyleId to set the textstyle objectid. So now I'm looking at ways to downgrade these things to 2009 and I'm stuck with these 2 issues.
1. I can't seem to find a way to select/highlight objects without using interop.
2. How do I check for current application version? so that I can test and use the proper property since TextStyle is not availablein 2010 and TextStyleID is not available in 2009.
Thanks,
Viktor.