Using VB Express 2008, I would like to display HTML in a textbox. I
see there are lots of editor utilities, however, I am unclear on how
to include a pre-compliled function in a WinForms application
especially VB Express 2008 which allows only the VB development
language. Is there a simple function analogous to the following, but
that handles more complex HTML including tables that could be included
inline? Thanks

    Private Function StripTags(ByVal HTML As String) As String
        ' Removes tags from passed HTML
        Dim objRegEx As  _
            System.Text.RegularExpressions.Regex
        Return objRegEx.Replace(HTML, "<[^>]*>", "")
    End Function

Reply via email to