473,765 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding HTML code to project.

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
Mar 28 '06 #1
5 4074
"Husam" <Hu***@discussi ons.microsoft.c om> 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/>
Mar 28 '06 #2
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

"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

Mar 29 '06 #3

"Husam" <Hu***@discussi ons.microsoft.c om> wrote in message
news:7D******** *************** ***********@mic rosoft.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.
Mar 29 '06 #4
"Husam" <Hu***@discussi ons.microsoft.c om> 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/>

Mar 29 '06 #5
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

Mar 29 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
10904
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent the wheel, right? Everything so far is working well with the Active Directory. The problem I am having is with adding File Permissions to a directory. I am currently using some code courtesy of "Willy Denoyette "
3
3272
by: Helmut Wagensonner | last post by:
Hi, I have created a custom textBox within a C# project. I want to put that custom textBox on a form now. I heard about a way, to place that user control onto a form within the same project, without having to compile it seperately before. An example: 1. In Visual Studio create a new C# Windows Application
2
1158
by: Jaster | last post by:
Hi. i got some trouble including Managed C++. Refering to: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmg_overview.asp. There is no "Compile As Managed" property in the General folder under C/C++. Ive tried Adding /clr to the command line, but i recive: /clr incomatible to /rtc1 changing /RTC1 to something differnt seems not to take Effect, i still recive the same Error.
1
3296
by: Andrew | last post by:
Hey all, I am very new to ASP.Net (and .Net in general), but that isn't stopping the boss from wanting to begin new projects in it. This latest project has me kinda stumped and after a couple days of struggling, I figure asking you all (the experts) will keep me from going down some dark and dangerous road. The project I have is a fairly simple one, in theory anyway. The gist is to create a page where the user enters an IDNumber,...
6
2414
by: Leo_Surf | last post by:
Hello, I need your help adding user in Active Directory from ASP.net website. Could any one provide me the complete code for the html page. As this is my curriculam project and I dont have any Idea about ASP.net Please Help Thanks in Advance.
26
2823
by: Simon Jefferies | last post by:
Hello, I am trying to add an item to a checked list box, like: clbList.Items.add("Hello",true) I get an error back: Run-time exception thrown: System.ArgumentOutOfRangeException - Specified argument was out of the range of valid values. Parameter name: '-1' is not a
8
19940
by: Jason | last post by:
Hello, I am trying to utilitze the AJAX Control toolkit in my asp.net project. I have added a reference to AjaxControlToolkit.dll, and in my page, added these lines of code: <ajaxToolkit:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true" EnableScriptLocalization="true" ID="ScriptManager1" />
3
1320
by: =?Utf-8?B?QWxleGFuZGVyIFd5a2Vs?= | last post by:
I recently raninto major problems when I added the Exception namespace to the Project which has my DBML file attached to it. Once I renamed all the Exceptions instances to Syste.Exception the project would not recoginize any assembly which had been added to the project, even know they were all there, this happened to the designer.cs file that is attached to the dbml file. I have no clue as to why this is the problem. -- Alexander L....
6
2393
by: teddysnips | last post by:
I'm having trouble adding Access 2003 databases to Sourcesafe. I go to Tools, Sourcesafe, Add Database to Sourcesafe... at which point a message box appears saying "This database must be closed before you add it to Sourcesafe. Do you want Microsoft Access to close this database?" I click "Yes", and it displays the Sourcesafe Login screen. I log in, and select a location to add the project. And then nothing happens. Zilch. Nada. ...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.