I am currently building an Excel 2007 Add-in using VSTO (latest version + sp1) and .Net 3.5
The code simply takes the position a chart using the Top and Left properties and stores it in an XML file.
The problem im facing is that when the xml is generated using a Vista Ultimate + Excel 2007 + English environment the code works perfectly. When i move this to a Windows Server 2003 + Excel 2007 + French environment it crashes when I try to set the Top and Left properties. Further more it always returns 4 for both values on the server machine.
I have tried to play with the region and language settings but it has not changed anything so far.
I have also tried to store the values as integers instead of the float values being returned by the VSTO objects.
If someone has sone sort of idea what may be going wrong please point me in the right direction.
I will edit once ive traced some more...