Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM Interop Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00896216
Message ID:
00896238
Vues:
16
See if this helps you:

http://www.ftponline.com/vsm/2003_12/magazine/features/reynolds/default_pf.aspx

>I have a question about using Com Interop with .NET, for interacting with Word. I've added to part of an application that ability to generate Excel spreadsheets from a Dataset, and then use the spreadsheet with a Word document and have it run a Mail Merge, to create a document with different pages for each row in the Excel spreadsheet.
>
>
>The problem, I'm running into is that other developers are using the code that I've written, and they have different versions of Office, and the Interop that is created using Visual Studio .NET, has a different number of parameters for the Open Method, and for the OpenDataSource method.
>
>How do I wrap it so I can use it with different versions of Office? It works at compile w/ the different versions of Office, I'm just getting errors at compile time.
>
>Any suggestions?
>
>Morgan
Hector Correa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform