473,383 Members | 1,859 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,383 software developers and data experts.

dynamically create html from Word docs.

Hi, I'm sorry if this is the wrong place to ask this, please point me
in the correct direction and ignore if so..

I'm trying to figure out how to run a script on my server which will
go over a few folders of Word documents, and create html pages out of
them which I can then serve to my users. Preferably I want to do this
without installing anything else on the server, hopefully it's
achievable with a scripting language like VBscript/ASP?

Please excuse my ignorance, I am used to web programming in PHP,Perl,
Java, but for this I need to use ASP, on IIS. I've Googled & Yahooed
and not come up with much. Now I'm completely stuck for ideas of even
how to start! Links, ideas, all welcome. TIA, nicky
Jul 19 '05 #1
4 1608
"nicky j" <ni***@hotmail.com> wrote in message
news:55**************************@posting.google.c om...
Hi, I'm sorry if this is the wrong place to ask this, please point me
in the correct direction and ignore if so..

I'm trying to figure out how to run a script on my server which will
go over a few folders of Word documents, and create html pages out of
them which I can then serve to my users. Preferably I want to do this
without installing anything else on the server, hopefully it's
achievable with a scripting language like VBscript/ASP?

Please excuse my ignorance, I am used to web programming in PHP,Perl,
Java, but for this I need to use ASP, on IIS. I've Googled & Yahooed
and not come up with much. Now I'm completely stuck for ideas of even
how to start! Links, ideas, all welcome. TIA, nicky


You'll probably get a better response in an MS Word/VBA forum. There's no
other real good way to do this on a server, especially without a third-party
component installed on the server.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2
Two ways to achieve this
1] In asp, Create Word Object
Open file in Word object and save it as HTML in desired location

Or
2]
Write a COM component which will accept file name and path
Open Word file and save it as HTML in desired location

- Pravin Patil
Jul 19 '05 #3


From: Pravin Patil

Two ways to achieve this
1] In asp, Create Word Object
Open file in Word object and save it as HTML in desired location

Or
2]
Write a COM component which will accept file name and path
Open Word file and save it as HTML in desired location

- Pravin Patil

To: Pravin Patil

Hi, your solution 1] with a Word Object sounds promising, I will try it
when I'm back at work tomorrow. It seems like I could do that just with
some ASP/VBScript, and the right permissions. Thanks!

Cheers
Nicky

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #4
"nicky j" <ni***@hotmail.com> wrote in message
news:O6**************@TK2MSFTNGP11.phx.gbl...
From: Pravin Patil

Two ways to achieve this
1] In asp, Create Word Object
Open file in Word object and save it as HTML in desired location

Hi, your solution 1] with a Word Object sounds promising, I will try it
when I'm back at work tomorrow. It seems like I could do that just with
some ASP/VBScript, and the right permissions. Thanks!


Yeah, but it's a bad idea ...
http://support.microsoft.com/?kbid=257757

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #5

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

Similar topics

4
by: Gurry | last post by:
Hi there I would like to write a javascript function that creates a drop-down list dynamically. I read on the docs that most HTML controls can not be created on run-time. what kind of...
9
by: pablo | last post by:
Dear NGers, I would like to change the alt-text with the changing of the image during a mouseover action. Can document.images.altView be changed dynamically? TIA, pablo
5
by: john_williams_800 | last post by:
Hi; I am just starting to use the DOM to do some more advanced javascripting so please be patient with my question if it is an ignorant question. I would like to use the DOM to dynamically...
20
by: David | last post by:
I have a one-line script to add an onunload event handler to the body of the document. The script is as follows: document.getElementsByTagName("BODY").onunload=function s() {alert("s")} Now...
9
by: Michelle | last post by:
I have a div that is initially empty. Clicking on a button will add some text boxes and other controls so the user can add additional records. In IE all works fine but in Netscape 7.0 when I add...
1
by: ajk | last post by:
. Hi, All: I know how to insert files into a Word doc using C#. However, the program I've written to do this runs much too slowly. The "myObj".Application.Selection.InsertFile method executes...
2
by: KnotKnormal | last post by:
I would like to dynamically load a HTML page (or a Word document), which is embedded in a table when the user clicks on a hyperlink to go from HTML page one to HTML page two. For example, I would...
2
by: aric.bills | last post by:
Hello all, I'm a novice Javascript programmer, and I'm having browser compatability issues regarding dynamic generation of tables. The following content generates "hello" in Firefox 1.5, but...
0
by: Timothy Grant | last post by:
On Mon, Aug 11, 2008 at 10:05 AM, <anartz@anartz.cjb.netwrote: It looks to me like you are opening the url, but never retrieving the content of the url. I think you may have better luck...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...

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.