Hi all...
i want to save the word document in .HTML format using
vb.net .I am writing this code
".ActiveDocument.SaveAs(SaveFileDialog1.FileName,
FileFormat:=Word.WdSaveFormat.wdFormatHTML)" ,the document
is saved in html format but when i insert some pics and
then save it ..it saves but when i double click it open it
does not shows the picture .
where i am wrong?
Rinks
Cindy M -WordMVP- - 30 Sep 2004 12:27 GMT
Hi Rinks,
> i want to save the word document in .HTML format using
> vb.net .I am writing this code
[quoted text clipped - 3 lines]
> then save it ..it saves but when i double click it open it
> does not shows the picture .
A lot depends on
- the version of Word
- the Web Options settings (in the
UI, via Tools/Options/General)
- whether the graphics were embedded or linked
- the original graphics formats of the files
Depending on the Web Options settings, the graphics may or
may not be exported to a sub-folder and linked back into the
file. Generally, you want to make sure VML and PNG support is
activated.
I recommend you experiment a bit in the UI until you find the
combination of Web Options settings that work reliably.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun
8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)