Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit word doc from VFP and save as HTML
Message
 
To
20/03/2009 16:44:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01390085
Message ID:
01390233
Views:
51
>>I would like to allow my users to edit a doc in MS Word from VFP and then save it as HTML. I already have a program that calls Word to create form letters so that much I got. What I need now is to allow a user to create or edit a doc and save it as HTML so it can be inserted into a Web Page. The Word automation code I have is very old. Does anyone have something new that does the HTML stuff? Is the Word HTML going to work in a page on a standard LAMP server?
>
>It is, provided nobody looks inside :).
>
>The HTML generated by Word is ugly, inefficient and not sure to pass a validator (not that I tried :). Just export one yourself and try to read it. I remember being at a session on a conference dedicated to purging the stool out of Word html. A fairly serious project in its own right.

Dragan,
Just after I posted the question above I tried creating a short one page Word doc with some text colored and one URL and saved it in HTML. I was amazed at how much code it created. I think I'll look for another method. I'm going to start a new thread to see if anyone knows of a lightweight, simple editor that can save in HTML.

Thanks.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Reply
Map
View

Click here to load this message in the networking platform