Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 301496 - Last Review: August 31, 2005 - Revision: 2.0
How to use Notepad to create a document in Active Server Pages
This article was previously published under Q301496
These step-by-step instructions demonstrate how to use Notepad to create Active Server Pages (ASP) pages. This is not intended to be a guide on how to write ASP.
How to use Notepad to create a simple ASP page
- From the Windows Start menu, point to Programs, point to Accessories, and then click Notepad.
- Highlight the following code, right-click the code, and then click Copy. In Notepad, click Paste on the Edit menu to paste the following code into Notepad:
<HTML>
<HEAD>
<TITLE>Page Title goes here</TITLE>
</HEAD>
<BODY>
<%
ASP code goes here, between the opening and
closing delimiters
%>
</BODY>
</HTML>
The preceding code illustrates some of the standard tags that are frequently used with ASP page development. Note that you can place your ASP code anywhere in the document, including either before or after the <HTML></HTML> tags. Where you place the ASP code in your page depends on the purpose of the code. - In Notepad, click Save on the File menu. In the Save As dialog box, in the Save In drop-down list box, click C:. Browse to the root location of your Web server. Typically, this is C:\InetPub\Wwwroot.In the File name drop-down list box, type MyAspPage.asp). In the Save as type drop-down list box, click All Files. Finally, click Save.
- To view the page, start your Web browser, and type the HTTP location of the page in the Address bar. If you saved the file in the above-mentioned location, type the following address in the Address bar:
http://<servername>/MyAspPage.asp
Troubleshooting
You can use Notepad as an HTML or ASP editor if you know how to write code or are simply copying and pasting code to create a page. However, Notepad does not offer any help or tips on how to create these types of pages. If you need this type of editing support, use programs such as Microsoft FrontPage or Microsoft Visual InterDev. These programs also offer site management and publishing tools that can help you organize and publish your site content.
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
301392Â
(http://kbalertz.com/Feedback.aspx?kbNumber=301392/
)
How to create a virtual folder (subweb) in IIS 4.0 or in IIS 5.0
297943Â
(http://kbalertz.com/Feedback.aspx?kbNumber=297943/
)
INFO: Getting started with Active Server Pages
APPLIES TO
- Microsoft Active Server Pages 4.0
| kbcodesnippet kbhowto kbhowtomaster kbsample KB301496 |
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
wellington
- morexwell NOSPAM-AT-NOSPAM hotmail.com
|
Report As Irrelevant
|
| Written:
11/25/2005 7:29 AM |
|
|
|
jasmine aycock
- keke_aycock NOSPAM-AT-NOSPAM yahoo.com
|
Report As Irrelevant
|
| Written:
5/14/2007 2:10 PM |
|
|