Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Display the content as HTML page

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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