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 13 1257 http://www.aspose.com/Products/Aspose.Words
<ya******@gmail .comwrote in message
news:11******** **************@ d57g2000hsg.goo glegroups.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
"Aidy" <ai**@noemail.x xxa.comwrote in message
news:Mf******** *************@b t.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...!
"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comwrote in
message news:D1******** *************** ***********@mic rosoft.com...
They got bit by the IWannaDoOfficeA utomationOnMyWe bServer 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.
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.goo glegroups.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
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netw rote in
message news:B4******** *************** ***********@mic rosoft.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...?
I believe so, yes.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider http://SteveOrr.net
"Mark Rae" <ma**@markNOSPA Mrae.netwrote in message
news:uB******** ******@TK2MSFTN GP06.phx.gbl...
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netw rote in
message news:B4******** *************** ***********@mic rosoft.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...?
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netw rote in
message news:EA******** *************** ***********@mic rosoft.com...
>I believe so, yes.
In which case, it could be a serious competitor to Aspose...
Yes, other than the price difference.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider http://SteveOrr.net
"Mark Rae" <ma**@markNOSPA Mrae.netwrote in message
news:ed******** ******@TK2MSFTN GP04.phx.gbl...
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netw rote in
message news:EA******** *************** ***********@mic rosoft.com...
>>I believe so, yes.
In which case, it could be a serious competitor to Aspose... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
into the generated page, so that when loaded into Word it forces a page
break, I cannot manage:
No matter if I use:
<p STYLE="page-break-after: always"></p>
|
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 using templates, wich
are defined by user (with GUI frontend). The main problem is how to
generate Word (or Excel) document with C#? Using COM automation seems
to be very clumsy and resource consuming? Is there any way to generate
Word document...
|
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 user. I'm using Visual Studio .Net 2003 for my IDE
I am familiar enough with VBA to be able to write all the code to generate the document, it is just that I'm not certain how to create the word document in memory and not have Office pop-up on the...
|
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!
|
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 started doing it in crystal report and finally i will
export that crystal report to ms word format.
| |
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 .. its real
urgent .. i m currently using Visual Studio 2003 ... and MS SQL server
2003
thanks in advance
|
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 PDF and PCL format
- our email system will only take PDF and the fax system only PCL,
Apache FOP is spot on for this. However it is choking on whatever I
feed it, I think because not all the tags have been implemented.
Can anyone recommend me...
|
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 clicked and it opens word
and fills in the blanks of my template appropriately, with the
exception of 2 areas. These areas of the letter need to be pulled from
subforms of the existing form, and in the word document they need to be
a list or...
|
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 footer in word
along with the page number. i got the code for generating tables and
it is fine now i am trying for header and footer but i am failing
here. i am sending my code , just check it.
StringBuilder sbTop = new StringBuilder();
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |