Home All Groups Group Topic Archive Search About

Adding HTML code to project.

Author
28 Mar 2006 6:55 PM
Husam
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

Author
28 Mar 2006 7:09 PM
Herfried K. Wagner [MVP]
Show quote Hide quote
"Husam" <Hu***@discussions.microsoft.com> schrieb:
> 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?

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
29 Mar 2006 1:31 AM
Husam
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

Show quoteHide quote
"Husam" wrote:

> 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
Author
29 Mar 2006 10:52 AM
Herfried K. Wagner [MVP]
"Husam" <Hu***@discussions.microsoft.com> schrieb:
> 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...

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
29 Mar 2006 5:10 PM
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
Author
29 Mar 2006 4:19 AM
Hal Rosser
Show quote Hide quote
"Husam" <Hu***@discussions.microsoft.com> wrote in message
news:7D55EC37-3AA8-44A3-A22E-E04C5763617B@microsoft.com...
> 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.