\
Source Code
VBSCRIPT
VBSCRIPT Functions - For Imbedded VB
Html2Text()
The purpose of this function is to convert HTML to text.
The function takes these parameters:
- The HTML, the function converts this to text which
is returned by this function.
By default this function converts some simple html text strings
(which you can add to), but it can be told to use IE automation.
It doesn't do IE automation by default as IE is too flakey to be reliable.
If you are prepared to kill "IEXPLORE.EXE" if it hangs (piece of cr.p) then
you can add the following line to your configuration
(see "msi.mmh" for other options):
#define MSI_HTML2TEXT_FUNCTION_USES_IE_AUTOMATION Y