I.T. Discussion Community!
-Collapse +Expand
ASP Classic
Search ASP Classic Group:

Advanced
-Collapse +Expand ASP Classic Store
   ► KBWebsite Scri...ASP ClassicTool Basics   Print This     

ASP Classic KB: Tool Basics Topic



17 Articles Found in the Tool Basics Topic 

  KB Article    

Mike Prestwood
1. A 10 Minute ASP Classic Quick Start

An example of using ASP's Response.Write and creating functions.

16 years ago

Article
Nothing New Since Your Last Visit
17411
Hits

ASP Classic Coding

Mike Prestwood
2. ASP Classic Assignment (=)

ASP Classic uses = for it's assignment operator.

10 years ago, and updated 10 years ago

Code
Nothing New Since Your Last Visit
5715
Hits

ASP Classic Coding

Mike Prestwood
3. ASP Classic Code Blocks (End Xxx)

In .ASPhtml pages, you embed ASP code between <% and %>.

ASP Classic code blocks are surrounded by statement ending keywords that all use End such as End Sub, End If, and WEnd.

10 years ago, and updated 9 years ago

Code
Nothing New Since Your Last Visit
6577
Hits

ASP Classic Coding

Mike Prestwood
4. ASP Classic Comments (' or REM)

Commenting Code
ASP Classic, like all the VB-based languages, uses a single quote (') or the original class-style basic "REM" (most developers just use a quote). ASP Classic does NOT have a multiple line comment.

Preprocessor Directives - @ and #
An @ is used for preprocessor directives within ASP code (within <% %>) and a # is used for HTML-style preprocessor directives.

Note: ASP Classic does not support VB Classic's #If directive.

10 years ago, and updated 9 years ago
(15 Comments , last by Jane.H2 )

Code
Nothing New Since Your Last Visit
32049
Hits

ASP Classic Coding

Mike Prestwood
5. ASP Classic Comparison Operators (=, <>)

Save as VB Classic.

10 years ago, and updated 9 years ago
(3 Comments , last by Sven.M )

Code

KB Post
Nothing New Since Your Last Visit
23344
Hits

ASP Classic Coding

Mike Prestwood
6. ASP Classic Deployment Overview

With ASP Classic, you simply copy your files to a web server that is capable of running ASP pages. This includes your .ASP pages along with supporting files such as images, include files, and database files.

Optionally, you can also deploy a global.asa file which is used to code certain events like application start, application end, session start, and session end.

9 years ago

Code
Nothing New Since Your Last Visit
6420
Hits

ASP Classic Coding

Mike Prestwood
7. ASP Classic Development Tools

Languages Focus: Development Tools

Primary development tool(s) used to develop and debug code.

ASP Classic Development Tools

Microsoft Visual Interdev was popular for several  years but isn't used as much any more. Any good editor such as Microsoft Expression Web, etc. will work but debugging is left up to interactive skills.

10 years ago, and updated 9 years ago

Code
Nothing New Since Your Last Visit
6392
Hits

ASP Classic Coding

Mike Prestwood
8. ASP Classic End of Statement (Return)

Languages Focus: End of Statement

In coding languages, common End of statement specifiers include a semicolon and return (others exist too). Also of concern when studying a language is can you put two statements on a single code line and can you break a single statement into two or more code lines.

ASP Classic End of Statement

A return marks the end of a statement and you cannot combine statements on a single line of code. You can break a single statement into two or more code lines by using a space and underscore " _".

10 years ago, and updated 9 years ago

Code
Nothing New Since Your Last Visit
6624
Hits

ASP Classic Coding

Mike Prestwood
9. ASP Classic Literals (quote)

Literals are quoted as in "Prestwood".  If you need to embed a quote use two quotes in a row.

10 years ago, and updated 9 years ago

Code
Nothing New Since Your Last Visit
9704
Hits

ASP Classic Coding

Mike Prestwood
10. ASP Classic Overview and History

Language Overview: Class-based language. Although you can create classes, ASP is not fully OOP. It is a traditional language with a few OOP extensions. You code in a traditional approach using functions, procedures, and global data, and you can make use of simple classes to help organize your reusable code.

Target Platforms: ASP Classic is most suitable for creating websites targeting any browser (IIS Web Server with ASP Classic installed or equivalent).

10 years ago, and updated 9 years ago

Code
Nothing New Since Your Last Visit
6601
Hits

ASP Classic Coding

Mike Prestwood
11. ASP Classic Report Tools Overview

Because ASP Classic targets a client browser (a document interfaced GUI), a common solution is to simply output an HTML formatted page with black text and a white background (not much control but it does work for some situations).

10 years ago, and updated 10 years ago
(4 Comments , last by maria.k )

Code
Nothing New Since Your Last Visit
9014
Hits

ASP Classic Coding

Mike Prestwood
12. ASP Classic String Concatenation (& or +)

Although you can use either a & or a + to concatenate values, my preference is to use a + because more languages use it. However, if you use & then some type conversions are done for you. If you use + you will sometimes have to cast a value to concatenate it. For example, you will have to use CStr to cast a number to a string if you use the + operator as a concatenation operator.

10 years ago, and updated 9 years ago
(3 Comments , last by Zac.M )

Code
Nothing New Since Your Last Visit
14037
Hits

ASP Classic Coding

Mike Prestwood
13. ASP Classic Unary Operators

An operation with only one operand (a single input) such as + and -.

10 years ago, and updated 9 years ago

Code
Nothing New Since Your Last Visit
7373
Hits

ASP Classic Coding

Mike Prestwood
14. ASP Classic Variables (Dim x)

ASP Classic is a loosely typed language. No variable types in ASP (all variables are variants). Declaring variables is even optional unless you use the Option Explicit statement to force explicit declaration of all variables with Dim in that script. Using Option Explicit is strongly recommended to avoid incorrectly typing an existing variable and to avoid any confusion about variable scope.

For example, at the top of my common include file, I have the following:

<%@LANGUAGE=VBScript%>
<%
Option Explicit
'...more code here.
%>
10 years ago, and updated 9 years ago

Code
Nothing New Since Your Last Visit
7580
Hits

ASP Classic Coding

Mike Prestwood
15. Can ASP edit Access/SQL views? Can you edit Access and MS SQL Server views?
10 years ago

FAQ
Nothing New Since Your Last Visit
9382
Hits

ASP Classic Coding

Adam Lum
16. Creating a Class in ASP Create a basic Class in ASP
12 years ago, and updated 10 years ago
(2 Comments , last by assignment.h )

KB Post
Nothing New Since Your Last Visit
8350
Hits

ASP Classic Coding

Mike Prestwood
17. Response.Write Assignment Operator This is a simple example of passing a value to a JavaScript function. You can pass values to JavaScript the same way you pass values to HTML.
10 years ago

Code
Nothing New Since Your Last Visit
6272
Hits

ASP Classic Coding

Icon Legend:
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).

New ASP Classic Coding Knowledge Base Post...

Share your knowledge with the WORLD! In addition to adding comments to existing posts, you can post knowledge you've acquired. We welcome full articles (intro with screen shots), general posts (shorter), and tidbits (tips, FAQs, definitions, etc.).

Post New...

Tidbit Post: Short Flashcard FAQ Definition Quick Tip Code Snippet
Longer Post: Full Article General Post File Link Error News
Other: Blog Topic
Or, if YOU have a question...
  ASP Classic Coding Message Board
-
   Contact Us!
 
PrestwoodBoards.com was developed and is maintainted by me. Do you have a question or suggestion? Do you see a problem? Contact me now. My goal is to build an ad-free and spam-free source of I.T. information with many contributers (ok to promote your website/company in your bio). Yes, my company Prestwood IT Solutions is mentioned in my bio which shows with every post, but you can contribute and promote your pet project too!

4,138 People Online Now!!  
Sign In to see who's online now!  Not a member? Join now. It's free!
Show more stats...


©1995-2018 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech