Solved

Display the content as HTML page

Posted on 2004-08-13
3
169 Views
Last Modified: 2010-04-23
In VB.net, windows application, Can I display the content as HTML page

Basically

I am trying to display the Help, or is there any better control for this

in Help I will be haveing static text

User Type1 (Super user)
  Function 1, Function 2.... Function n
User Type2 (read only user)
  Function 1, Function 2.... Function n

Basically I am displaying what are the different functions user can perform

Thanks


0
Comment
Question by:jra2002
3 Comments
 
LVL 10

Accepted Solution

by:
Clif earned 20 total points
ID: 11792560
If I understand what you're asking, yes you can.

Simply write pure html to a file using the streamwriter:
        Dim sw As StreamWriter = New StreamWriter("myFile.html")
        sw.WriteLine("<html><body>")
        sw.WriteLine("<h1>My HTML File</h1>")
        sw.WriteLine("</body></html>")
        sw.Close()

and then open it using:
System.Diagnostics.Process.Start("myFile.html")
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question