C# ASP.Net interop with MsWord

  • Thread starter Thread starter Jason Huang
  • Start date Start date
J

Jason Huang

Hi,

I have no problem in creating or modifying a word document in ASP.Net, using
C#.
However, I don't know how to export database in SQL 2000 or MSAccess to
MSWord, given in the ASP.Net and C# environment.
I surfed the net and found some articles about interop ASP.Net with the
MSWord.
But I didn't find resource regarding using the MSWord as the ASP.Net C#
report.
Would someone give me some advice?
Any help will be appreciated.

Jason
 
You do not want to run run Word interop (for creating and modifying
documents) on the server.
Its not supported and has serious issues with stability (multithreading
etc.) and this is why you couldnt find any resources regarding using Word
interop in ASP.NET.
 
hi,

It is better to use the Office PIA's instead of using word Interop, office
PIA's are primarily developed for using office applications with ASP.net.
Check out this link
http://www.microsoft.com/downloads/...0C-D2F3-48BB-8E76-7C8892B5ED95&displaylang=en

There are a lot of resources on using word with C# and asp.net, just need do
some diggin into the links to get to then resources.

regards,
--
Kannan.V
Home : http://www.kannanv.com
Blog : http://kannanv.blogspot.com
Web : http://www.DotnetLounge.net

"Any one who has never made a mistake has never tried anything new" - Einstein
 
Kannan.V said:
hi,

It is better to use the Office PIA's instead of using word Interop, office
PIA's are primarily developed for using office applications with ASP.net.
Check out this link
http://www.microsoft.com/downloads/...0C-D2F3-48BB-8E76-7C8892B5ED95&displaylang=en

There are a lot of resources on using word with C# and asp.net, just need
do
some diggin into the links to get to then resources.

Where did you noticed that Office PIA "are primarely developed for using
office applications with ASP.net"????
They are needed when Managed code (C#, VB.NET ...) needs to access COM
servers like Office applications for automation. Office itself wasn't
designed to be used in server scenarios like asp, asp.net etc..., PIA's have
nothing to do with this.

Willy.
 
Back
Top