473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Generating a word document

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

Apr 10 '07 #1
13 1241
http://www.aspose.com/Products/Aspose.Words

<ya******@gmail.comwrote in message
news:11**********************@d57g2000hsg.googlegr oups.com...
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

Apr 10 '07 #2
"Aidy" <ai**@noemail.xxxa.comwrote in message
news:Mf*********************@bt.com...
http://www.aspose.com/Products/Aspose.Words
You beat me to it...:-)

Looks like today is going to break the record for Office automation
problems...!
Apr 10 '07 #3
They got bit by the IWannaDoOfficeAutomationOnMyWebServer bug...
Doods, it really is Unsupported, not recommended, and if you take the time
to RTFM, you will not even WANT to try it.

:-)
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Mark Rae" wrote:
"Aidy" <ai**@noemail.xxxa.comwrote in message
news:Mf*********************@bt.com...
http://www.aspose.com/Products/Aspose.Words

You beat me to it...:-)

Looks like today is going to break the record for Office automation
problems...!
Apr 10 '07 #4
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:D1**********************************@microsof t.com...
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.
Apr 10 '07 #5
There are some good 3rd party products that would probably work for you.
Here are a couple that should work:
http://SteveOrr.net/reviews/AsposeWord.aspx
http://SteveOrr.net/reviews/OfficeWriter.aspx

VSTO should also work:
http://msdn2.microsoft.com/en-us/office/aa905533.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
<ya******@gmail.comwrote in message
news:11**********************@d57g2000hsg.googlegr oups.com...
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
Apr 11 '07 #6
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:B4**********************************@microsof t.com...
VSTO should also work:
http://msdn2.microsoft.com/en-us/office/aa905533.aspx
Does that allow Visual Studio to manipulate Office documents without
automation, then...?
Apr 11 '07 #7
I believe so, yes.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:uB**************@TK2MSFTNGP06.phx.gbl...
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:B4**********************************@microsof t.com...
>VSTO should also work:
http://msdn2.microsoft.com/en-us/office/aa905533.aspx

Does that allow Visual Studio to manipulate Office documents without
automation, then...?
Apr 11 '07 #8
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:EA**********************************@microsof t.com...
>I believe so, yes.
In which case, it could be a serious competitor to Aspose...
Apr 11 '07 #9
Yes, other than the price difference.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:ed**************@TK2MSFTNGP04.phx.gbl...
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:EA**********************************@microsof t.com...
>>I believe so, yes.

In which case, it could be a serious competitor to Aspose...
Apr 11 '07 #10
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:30**********************************@microsof t.com...
Yes, other than the price difference.
:-)
Apr 11 '07 #11
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:EA**********************************@microsof t.com...
>I believe so, yes.
Hmm - are you sure about this...?
http://msdn2.microsoft.com/en-us/office/aa718674.aspx

And all the code samples seem to refer to the Microsoft.Office.Interop
namespace...
Apr 11 '07 #12
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.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:On**************@TK2MSFTNGP04.phx.gbl...
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:EA**********************************@microsof t.com...
>>I believe so, yes.

Hmm - are you sure about this...?
http://msdn2.microsoft.com/en-us/office/aa718674.aspx

And all the code samples seem to refer to the Microsoft.Office.Interop
namespace...
Apr 11 '07 #13
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:22**********************************@microsof t.com...

http://www.microsoft.com/downloads/d...displaylang=en
If it requires Office, what does it actually require it for...?

http://msdn2.microsoft.com/en-us/lib...9k(VS.80).aspx
"You can programmatically access the features of Microsoft Office
applications by writing code that targets an application's object model, a
process known as Automation."

Aspose doesn't require Office - that's the whole point... :-)
Apr 12 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mark | last post by:
Hi - apologies in advance if this is not the correct forum - tried searching loads, and still to find a workable solution. Generating a word document from ASP - no problem. Inserting page breaks...
5
by: Rimantas Žukaitis | last post by:
Hi, we are developing server side report generation application with .NET. The problem is, that we have to present same data in diferent formats (HTML, PDF, WORD, EXCEL). This has to be done...
0
by: Novice | last post by:
Hi all, I'm a novice VB.NET and VBA programmer and am wondering if there is a tutorial out there on how to create a word document based on data in a database and then return that document to a web...
0
by: Vimal | last post by:
Hi , Can anyone tell me how to generate a Word document with Header and Footer using Microsoft Office Html and XML Reference. Thanks you so much!
10
by: Noor | last post by:
Hi all, I need to well formatted ms word document through vb.net. All the data that will make the word document will come from the database. and formatted dynamically. Currently i have...
3
by: zxc | last post by:
hi i want to ask how can we retrieve data from MS sql server table northwind and generate report of same data in formated form in MS word using VB.net ... i need its code can any one help please...
4
by: lorna.mitchell | last post by:
I hope I'm not repeating a question or missing any good resources but I really can't figure out the best way to progress with my problem. We'd like to use apache fop to generate documents in both...
2
by: dawnm.jordan | last post by:
Hi, I am working on a database used to store information, and then generate customized letters. I have most of it working, (Thanks to the posts in this group =)) I have a button which can be...
0
by: srk | last post by:
hi to all, i need some help , my problem is that i have to generate a word document withe the data from data base and it should be displayed as tables in word and i have to insert some header and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.