We have ourselves something of a problem.
We've built an application using C# (Visual Studio .NET).
In it we're making interactions with both MS Excel and MS Word [creating Word documents and reading spreadsheets].
On our development machines we have MS Office 2000 installed and as such have made the code work with these versions of Word and Excel.
One of our clients only has MS Office 97 installed on their machines.
If we run our version of the application on their client machines we get 'exception' messages when these elements of the code are run. [we're guessing the interaction now works differently]
We are now having to set up a development machine with (outdated) MS Office 97 installed on it in order to create re-builds of the application.
Is there any means by which we can create a version of the source code that builds the correct code dependent on the machine on which it is compiled ?
A conditional build of sorts ?
We don't really want to be in a position whereby we're tied down to one development machine (with Office 97 on it).
How can we best work around this issue ?
Thanks in advance.
Steve
We've built an application using C# (Visual Studio .NET).
In it we're making interactions with both MS Excel and MS Word [creating Word documents and reading spreadsheets].
On our development machines we have MS Office 2000 installed and as such have made the code work with these versions of Word and Excel.
One of our clients only has MS Office 97 installed on their machines.
If we run our version of the application on their client machines we get 'exception' messages when these elements of the code are run. [we're guessing the interaction now works differently]
We are now having to set up a development machine with (outdated) MS Office 97 installed on it in order to create re-builds of the application.
Is there any means by which we can create a version of the source code that builds the correct code dependent on the machine on which it is compiled ?
A conditional build of sorts ?
We don't really want to be in a position whereby we're tied down to one development machine (with Office 97 on it).
How can we best work around this issue ?
Thanks in advance.
Steve