473,606 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASPX and Word question

Hi 2 all,

I have a question and hope that some of you might been able to give me a
hint or something.
I am bulding a web application where i need to provide the functionality to
start a word document and to fill on some places some data, like name adress
etc...
So people can select from a listbox a type of word document "Template"a nd
automaticly the word document is filled in with the right information and
ready to print.

Is there on the internet or a good book some kind of examples i can use, for
my problem or does any have a idea how to tackle this problem...

Thanx in advance,
Mike
Nov 19 '05 #1
2 1131
Hi Mike,
I have this on my web site. I have a default Word document where it is like
.. Dear &user, blah blah blah ... From: &me...
then the program opens the word document and replaces &user with the
person's name and the &me with another name... and saves it as a new
document...
i can email you the code if you'd like
Nov 19 '05 #2
You might be able to use one of these techniques:
http://SteveOrr.net/articles/ExportPanel.aspx
http://SteveOrr.net/Articles/ExcelExport.aspx

If you have more advanced needs, I'd recommend going with a 3rd party
component, such as one of these:
http://www.SteveOrr.net/Reviews/AsposeWord.aspx
http://officewriter.softartisans.com...riter-189.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Mike" <me**@writeme.c om> wrote in message
news:46******** *************** **@news.versate l.nl...
Hi 2 all,

I have a question and hope that some of you might been able to give me a
hint or something.
I am bulding a web application where i need to provide the functionality
to start a word document and to fill on some places some data, like name
adress etc...
So people can select from a listbox a type of word document "Template"a nd
automaticly the word document is filled in with the right information and
ready to print.

Is there on the internet or a good book some kind of examples i can use,
for my problem or does any have a idea how to tackle this problem...

Thanx in advance,
Mike

Nov 19 '05 #3

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

Similar topics

0
1068
by: Jerwin | last post by:
I have successfully embedded a Word document in my ASPX. I can view an write onto the Word document, as if the word document was pasted on the page It's like a 4"x3" area where u can view a word document - scroll, select, cut and paste However, my problem is i want to default the Standard Toolbars on th embedded Word Object. Coz inititally there aren't any toolbars on top of th embedded Word - just the scrollbars. What I do is right click...
4
989
by: mark | last post by:
i currently have some code that creates a word document on the client side in an intranet environment - this works fine but i need to take it a step further - id like the word document to be autopopulated by data thats in the pages text boxes - is this possible ? the code i use for creating and opening the document is :- <SCRIPT language="VBScript"> Dim objWord Sub OpenDoc() Set objWord = CreateObject("Word.Application")
2
1828
by: Alex Maghen | last post by:
Hi. I've seen several KBs on using .NET for MS Office Automation. But I have a particular question: I am developing a somewhat stand-alone .ASPX page which will need to do some relatively simple MS Office Automation (Office 2003+). The .ASPX page is not part of a Web Forms Visual Studio project. It's just a stand-alone file. And therefore, there is not "References" setting or anything because there's no Visual Studio project. My...
3
4912
by: =?Utf-8?B?QnJhbmRvbg==?= | last post by:
Hi, I have an aspx page that has the "include" code in it which includes another page that displays information. I also have an upload page that allows users to upload a simple html document onto the server. The include code calls that html page to display the text on that page. The problem is when the user uploads that html page, the aspx page does not refresh to reflect those changes, even if the user hits refresh in their browse....
0
8009
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, 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...
0
7939
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8078
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,...
0
8299
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6753
agi2029
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...
0
3919
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...
0
3964
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1548
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1285
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.