Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Word documents with ASP...
Message
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00334482
Message ID:
00334663
Vues:
31
>Hi all...
>
>I'm tring to figure out how to create a new MS Word document from a pre-existing template and save it to a UNC path on the fly with ASP. The name of the saved file will be driven by the prime key in a FoxPro database. Any assistance would be appreciated. The web server is NT 4.0 running IIS4.
>
>Thanks,
>
>Mark L. Pullen
>DST Systems, Inc.
>mark@thepullens.com

You can't create a Word object directly from VBScript because Word is an out of process server.
You can create a COM object in VB, C++ or other language that will create and use the Word object.

Now, the question is : What about traffic ?
If you have lots of hits, you'll have to forget using Word from your ASP pages. Just imagine dozens and dozens of Word instances running on your Web server. Your server will crash.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform