Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Display the content as HTML page

Posted on 2004-08-13
3
Medium Priority
?
172 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 80 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

Industry Leaders: 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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

705 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