Solved

Display the content as HTML page

Posted on 2004-08-13
3
165 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now