Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Spell Check Problem


Message #1 by "SARGHI Mircea Ionut" <syms@f...> on Mon, 17 Mar 2003 16:42:35 +0200
I am using the MS Word Spell Check to check users input. However i use it
for a html editor and i would like when i open the MS Word document to open
it as html so that the user cannot see the html tags/code.
How do i specify to Word that the text he gets is a HTML string?

Set objWordobject = CreateObject("word.Application")
objWordobject.WindowState = 2
objWordobject.Visible = True

Set objDocobject = objWordobject.Documents.Add(,,1,true)
objDocobject.Content=TextValue
objDocobject.CheckSpelling

Is there a property like ContentType or something to specify this should be
treated as HTML?





  Return to Index