Generating a word document

Y

yasodhai

Hi,
I developed a web application which contains a text box and a
command button. Once if i enter some text and then if i click the
command button, the contents in the textbox should be displayed in the
header and the footer of the word document. But this is to be done
without using the word object. Kindly let me know how to do this. Also
provide me with some documents so that i can do this.


Thanks and Regards,
Yasodhai
 
M

Mark Rae

They got bit by the IWannaDoOfficeAutomationOnMyWebServer bug...

Guess so...
Doods, it really is Unsupported, not recommended, and if you take the time
to RTFM, you will not even WANT to try it.

As I was responding to yet another of these poor folks earlier today, it
suddenly occurred to me *why* people think that they can do this until, that
is, it all stops working when they go into production...

As has been mentioned ad nauseum in here, server-side Office automation is
highly likely not to work.

However, and here's the thing, most ASP.NET developers currently develop
their apps with VS.NET 2005, IIS 5.1, SQL Server Developer Edition (maybe),
Office 2003 and IE...

.... ALL INSTALLED AND RUNNING LOCALLY ON THE SAME INSTANCE OF XP....

And in that particular scenario only, Office automation works perfectly!!!

Think about it - it would do, woudn't it!

That, my friends, is where this misconception comes from.
 
S

Steve C. Orr [MCSD, MVP, CSM, ASP Insider]

I'm not sure which code samples you're talking about. The link you gave
doesn't really point to much.
I'm pretty sure it can use the XML file format to avoid interop.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top