Dear All,
I wrote an application in C# which will create a report in word doc. For that I have taken the reference of Microsoft office 11.0 object library and Microsoft Word 11.0 object library because I have only Office 2003.
Now if i run the project in that machine which have 2007. Its creating a lots of problem. and showing error messages.
Is there any logic to resolve this? I would like to set the object programmetically. so that when it will find 2003 it will take the object model of 2003 and when it will find 2007, it will take the object model of 2007.
I am having a problem on this issue. Can any body send me some code snippets to resolve this issue. Help will be highly appreciated.
Regards,
Biswajit