ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel C# programs with Visual Studio .NET on Windows XP Family Edi (https://www.excelbanter.com/excel-programming/320166-excel-c-programs-visual-studio-net-windows-xp-family-edi.html)

Hugues Joly

Excel C# programs with Visual Studio .NET on Windows XP Family Edi
 
Hi,
I'm trying to configure an Excel sample written with C# on Visual Studio
2002. I just can't on Windows XP Family Edition but I could on Windows XP
Enterprise Edition. Does it makes sense to you or could there be another
cause?

The program use Office XP via a reference to its COM library: the "Microsoft
Excel 10 Object Library". You can download it from
"ftp://ftp.sybex.com/4320/4320ch05.zip". The project is located under
"Chapeter05/StartExcel". My problem on Windows XP Family Edition is that the
program throws a COMException when invoking
Excel.Application.Workbooks.Add(1).

Hope you can help...



All times are GMT +1. The time now is 06:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com