Adding HTML code to project.

G

Guest

Hi EveryBody:

In Vb.Net 2003 :
How can I add HTML Code to windows application project ?

for example:
<HTML>
<HEAD>
<title>WebForm1</title>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
</form>
</body>
</HTML>

Any help or redirection will be appreciated

regard's

Husam
 
H

Herfried K. Wagner [MVP]

Husam said:
In Vb.Net 2003 :
How can I add HTML Code to windows application project ?

for example:
<HTML>
<HEAD>
<title>WebForm1</title>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
</form>
</body>
</HTML>

Where would you like to add it? What exactly do you expect?
 
G

Guest

Hi EveryBodi:

I want to add the HTML code in any where in the project class

or add new class to the project I can add the HTML code inside it ?

Any help or redirection will be appreciated

And please If you don't know do not ask any question to make your self funny.

Regard's

HUsam
 
H

Hal Rosser

Husam said:
Hi EveryBody:

In Vb.Net 2003 :
How can I add HTML Code to windows application project ?

for example:
<HTML>
<HEAD>
<title>WebForm1</title>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
</form>
</body>
</HTML>

Any help or redirection will be appreciated

You could write it to a file, name it with '.html' extension, and have vb
open it in a browser.
 
H

Herfried K. Wagner [MVP]

Husam said:
I want to add the HTML code in any where in the project class

In the project or in the class?
or add new class to the project I can add the HTML code inside it ?

What exactly do you want to do with the HTML code at runtime? Display it in
a control as formatted HTML, ...
And please If you don't know do not ask any question to make your self
funny.

I feel sorry, but I still do not understand what you want to archieve...
 
J

Jameson King

Your going to need to use the Webbrowser control or......

Load the HTML from a file on the HDD into a variable.



I' m not sure what your tyring to do so there you have it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top