Solved

Display the content as HTML page

Posted on 2004-08-13
3
171 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
[X]
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
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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

623 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