Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Report to HTML

$
0
0

hi All,

I'm using Visual Basic 2012. Is there a way to display the following string using a PrintDocument and PrintPreviewDialog control? Some other control maybe? I'll need to print it to.

this string is what I need render (displayed) in a control:

M_BodyText = _
            "<HTML>" & vbCrLf & _
            "<HEAD>" & vbCrLf & _
            "<TITLE>" & "" & " " & "" & _
            "</TITLE>" & vbCrLf & _
            "<BODY>" & vbCrLf & _
            "<B>Explanation:</B>" & vbCrLf & _
            "<BODY>" & vbCrLf & _
            "</HTML>"

Maybe open in a web browser? it that possible and how do I do it?

Thanks, ADawn


ADawn




Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>