Stand-alone .exe to convert .doc to .html 
Author Message
 Stand-alone .exe to convert .doc to .html

Hello Bill,

You can do what you want in either VB or VC++.
Before you get into either language, please see and familiarize yourself
with the Word Object Model. There is a valuable Microsoft Knowledge Base
article that will help. It is Q222101 - How to Find and Use Office Object
Model Documentation

You can retrieve it from the web using the address:

If you are proficient in both VB and VC++, consider using VB, and look at
the Web site
On that page note the link to
Q184974 - How to Use (OLE) Automation With Word

If you are proficient in only VC++ look at the web page
On that page start with the first article on the page - Q178149 - HOWTO:
Create Automation Project Using MFC and a Type Library,
then look at any of the articles in the section titled "Automating Word"

None of the articles written for the VB programmer or the VC++ programmer
show you exactly what you want to do. All of them are meant to help solve
more complex application needs. But you can see many of the concepts for
which you're looking.

All you need to do is create the instance of Word, use that instance to
open the particular document, then save it using SaveAs... with a filetype
of HTML, then release all the object references and close Word.

VC++ doesn't understand VB named variables, so you need to follow the
advice in the article Q222101 - How to Find and Use Office Object Model
Documentation  to see how to get the numeric equivalents to the VB named

Microsoft does not support nor recommend automating any of the Office
applications in an unattended mode. The applications are all desktop
applications, so you need to have a real person monitoring your application
when it automates Word.  Please see the Knowledge Base article Q257757 -  
INFO: Automation of Office for Unattended Execution is Not Recommended or
Supported. There is a link to that article on either of the pages

Hope this helps.

Sun, 05 Oct 2003 21:41:44 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Stand-alone HTML browser

2. Stand alone exe.

3. How to get a STAND ALONE EXE FILE ??

4. How to get a STAND ALONE EXE FILE ??

5. Compile Option Achieve Stand Alone EXE?

6. Stand alone Exe's?

7. Running EXE.(QuickBasic4.5) on stand-alone Microcomputer

8. Help: Make an stand alone exe...

9. Stand-Alone .EXE

10. Stand-Alone EXE File

11. Stand Alone EXE ?

12. Stand alone VB .exe?


Powered by phpBB® Forum Software