473,385 Members | 1,772 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.

Help ASP.NET 2.0 and WORD

Hi,
I am needing some help/advice on how to display a word document in my
ASP.NET web pages that can update itself from a word document located
on the server. The idea here is that when the user makes changes to the
document and uploads it to the website, that a refresh of the page will
load the changes. Ideally what I would like would be to render the
document as HTML because of the hyperlinks in the document that work
nicely as HTML but may not as a displayed word document.

I am not interested in purchasing any third party products to get this
done, and I don't mind doing the work myself if someone can just give
me a starter or idea or recommend where I might find the answer.

Thanks for your help
SteveM

Dec 6 '06 #1
6 1142
Couldn't you just have Word save it to HTML on the server?

SteveM wrote:
Hi,
I am needing some help/advice on how to display a word document in my
ASP.NET web pages that can update itself from a word document located
on the server. The idea here is that when the user makes changes to the
document and uploads it to the website, that a refresh of the page will
load the changes. Ideally what I would like would be to render the
document as HTML because of the hyperlinks in the document that work
nicely as HTML but may not as a displayed word document.

I am not interested in purchasing any third party products to get this
done, and I don't mind doing the work myself if someone can just give
me a starter or idea or recommend where I might find the answer.

Thanks for your help
SteveM
Dec 6 '06 #2
Sorry, I am unsure how to do that code wise. I of course know how to do
it manually and assume that there is an API or clever code way of doing
it, but I am unaware of it. This would solve my problem nicely if you
can give me a hint
Thanks for the response :-)
-SteveM

Jacob wrote:
Couldn't you just have Word save it to HTML on the server?

SteveM wrote:
Hi,
I am needing some help/advice on how to display a word document in my
ASP.NET web pages that can update itself from a word document located
on the server. The idea here is that when the user makes changes to the
document and uploads it to the website, that a refresh of the page will
load the changes. Ideally what I would like would be to render the
document as HTML because of the hyperlinks in the document that work
nicely as HTML but may not as a displayed word document.

I am not interested in purchasing any third party products to get this
done, and I don't mind doing the work myself if someone can just give
me a starter or idea or recommend where I might find the answer.

Thanks for your help
SteveM
Dec 6 '06 #3
You wrote in your first post that the user makes the changes and then
uploads the document. The easiest non-programmatic way is to have the
web server's document folder accesible, and then merely tell the user
to save the document as HTML in Word to that folder.
SteveM wrote:
Sorry, I am unsure how to do that code wise. I of course know how to do
it manually and assume that there is an API or clever code way of doing
it, but I am unaware of it. This would solve my problem nicely if you
can give me a hint
Thanks for the response :-)
-SteveM

Jacob wrote:
Couldn't you just have Word save it to HTML on the server?

SteveM wrote:
Hi,
I am needing some help/advice on how to display a word document in my
ASP.NET web pages that can update itself from a word document located
on the server. The idea here is that when the user makes changes to the
document and uploads it to the website, that a refresh of the page will
load the changes. Ideally what I would like would be to render the
document as HTML because of the hyperlinks in the document that work
nicely as HTML but may not as a displayed word document.
>
I am not interested in purchasing any third party products to get this
done, and I don't mind doing the work myself if someone can just give
me a starter or idea or recommend where I might find the answer.
>
Thanks for your help
SteveM
Dec 6 '06 #4
I thought about that and can keep that in mind for a "last resort"
plan, but I would really prefer to make it less work on the user, and
would also like to learn to do this for other things I wish to
implement down the road. I did this with Excel already but used a
datagrid control to render the excel data, I was hoping for a similar
solution with Word

Thanks
-Steve

Jacob wrote:
You wrote in your first post that the user makes the changes and then
uploads the document. The easiest non-programmatic way is to have the
web server's document folder accesible, and then merely tell the user
to save the document as HTML in Word to that folder.
SteveM wrote:
Sorry, I am unsure how to do that code wise. I of course know how to do
it manually and assume that there is an API or clever code way of doing
it, but I am unaware of it. This would solve my problem nicely if you
can give me a hint
Thanks for the response :-)
-SteveM

Jacob wrote:
Couldn't you just have Word save it to HTML on the server?
>
SteveM wrote:
Hi,
I am needing some help/advice on how to display a word document in my
ASP.NET web pages that can update itself from a word document located
on the server. The idea here is that when the user makes changes to the
document and uploads it to the website, that a refresh of the page will
load the changes. Ideally what I would like would be to render the
document as HTML because of the hyperlinks in the document that work
nicely as HTML but may not as a displayed word document.

I am not interested in purchasing any third party products to get this
done, and I don't mind doing the work myself if someone can just give
me a starter or idea or recommend where I might find the answer.

Thanks for your help
SteveM
Dec 6 '06 #5
I believe you can access word documents (post Word 2003) using the dll
files which are installed with Office. You can try and search through
the available dlls with Visual Studio and see if that works for you.

SteveM wrote:
I thought about that and can keep that in mind for a "last resort"
plan, but I would really prefer to make it less work on the user, and
would also like to learn to do this for other things I wish to
implement down the road. I did this with Excel already but used a
datagrid control to render the excel data, I was hoping for a similar
solution with Word

Thanks
-Steve

Jacob wrote:
You wrote in your first post that the user makes the changes and then
uploads the document. The easiest non-programmatic way is to have the
web server's document folder accesible, and then merely tell the user
to save the document as HTML in Word to that folder.
SteveM wrote:
Sorry, I am unsure how to do that code wise. I of course know how to do
it manually and assume that there is an API or clever code way of doing
it, but I am unaware of it. This would solve my problem nicely if you
can give me a hint
Thanks for the response :-)
-SteveM
>
Jacob wrote:
Couldn't you just have Word save it to HTML on the server?

SteveM wrote:
Hi,
I am needing some help/advice on how to display a word document in my
ASP.NET web pages that can update itself from a word document located
on the server. The idea here is that when the user makes changes to the
document and uploads it to the website, that a refresh of the page will
load the changes. Ideally what I would like would be to render the
document as HTML because of the hyperlinks in the document that work
nicely as HTML but may not as a displayed word document.
>
I am not interested in purchasing any third party products to get this
done, and I don't mind doing the work myself if someone can just give
me a starter or idea or recommend where I might find the answer.
>
Thanks for your help
SteveM
Dec 6 '06 #6
Unfortunately I am using word from office 2003, I did try and add a
reference for the Microsoft.Word.Object but was unable to find any
examples as of yet on what to do with it ;-)
Thanks for your response
-Steve

Jacob wrote:
I believe you can access word documents (post Word 2003) using the dll
files which are installed with Office. You can try and search through
the available dlls with Visual Studio and see if that works for you.

SteveM wrote:
I thought about that and can keep that in mind for a "last resort"
plan, but I would really prefer to make it less work on the user, and
would also like to learn to do this for other things I wish to
implement down the road. I did this with Excel already but used a
datagrid control to render the excel data, I was hoping for a similar
solution with Word

Thanks
-Steve

Jacob wrote:
You wrote in your first post that the user makes the changes and then
uploads the document. The easiest non-programmatic way is to have the
web server's document folder accesible, and then merely tell the user
to save the document as HTML in Word to that folder.
>
>
SteveM wrote:
Sorry, I am unsure how to do that code wise. I of course know how to do
it manually and assume that there is an API or clever code way of doing
it, but I am unaware of it. This would solve my problem nicely if you
can give me a hint
Thanks for the response :-)
-SteveM

Jacob wrote:
Couldn't you just have Word save it to HTML on the server?
>
SteveM wrote:
Hi,
I am needing some help/advice on how to display a word document in my
ASP.NET web pages that can update itself from a word document located
on the server. The idea here is that when the user makes changes to the
document and uploads it to the website, that a refresh of the page will
load the changes. Ideally what I would like would be to render the
document as HTML because of the hyperlinks in the document that work
nicely as HTML but may not as a displayed word document.

I am not interested in purchasing any third party products to get this
done, and I don't mind doing the work myself if someone can just give
me a starter or idea or recommend where I might find the answer.

Thanks for your help
SteveM
Dec 7 '06 #7

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

Similar topics

10
by: Elizabeth Harmon | last post by:
Hi All I am attempting to open a Word App from a web page on the client and so far everything works (After reconfig of dcomcnfg for Microsoft Word Document). I have one minor problem, i cannot...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
66
by: genestarwing | last post by:
QUESTION: Write a program that opens and read a text file and records how many times each word occurs in the file. Use a binary search tree modified to store both a word and the number of times it...
4
by: naknak4 | last post by:
Introduction This assignment requires you to develop solutions to the given problem using several different approaches (which actually involves using three different STL containers). You will...
1
hpbutterbeer
by: hpbutterbeer | last post by:
We have a Machine Project and my brain is currently in a clouded state. Sorry, I'm just a beginner in C Programming... Text twist is a windows game whose main objective is to form words out of the...
2
by: Bsnpr8 | last post by:
I need help guys, i have to many stuff to do, because i am in my last 2 weeks of the university, my last assignment is to do a spell checker in C++, i have an idea but nothing is coming out. I really...
9
by: weidongtom | last post by:
Hi, I've written the code that follows, and I use the function add_word(), it seems to work fine *before* increase_arrays() is called that uses realloc() to allocate more memory to words. But...
6
Gaiason
by: Gaiason | last post by:
Hi XML/XSLT masters and gurus, I am a newbie in XML/XSLT and have been reading up XML/XSLT in order to convert a XML generated from a OCR engine to another format of XML. I am truly stuck at this...
5
by: alivip | last post by:
How can I get every Token (word) and PreviousToken(Previous word) From multube files and frequency of each two word my code is trying to get all single word and double word (every Token (word) and...
6
by: cj2 | last post by:
I need to create a cover letter in VB. It will have a customers account number at the top and be addressed to them by name for example (Dear Mr. Smith). After this it will be the same text for...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
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.