IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
ASP Classic
Search ASP Classic Group:

Advanced
-Collapse +Expand ASP Classic Group Home
-Collapse +Expand Message Board
-Collapse +Expand ASP Classic KB
-Collapse +Expand ASP Classic To/From
To/FromCODEGuides
-Collapse +Expand ASP Classic Study Test
PRESTWOODCERTIFIED
-Collapse +Expand ASP Classic Store
-Collapse +Expand Members Only

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► KB ►► Website Scri...ASP Classic   All Groups   Print This   

ASP Classic Coding New and Updated KB Posts

Page Contents


Recently Created

(ASP Classic Coding Group)

  KB Article    

Mike Prestwood
1. ASP Classic Error 3709

Run-time error '3709':
Operation is not allowed on an object referencing a closed or invalid connection.

Posted to KB Topic: Language Details
34 months ago

Error
Nothing New Since Your Last Visit
4802
Hits

Mike Prestwood
2. ASP Classic Yes/No Function

The following function demonstrates one technique for coding a Yes/No dropdown. It uses a for loop which can be expanded to handle more than the 3 states (Y, N, and blank).

Example of calling the function:

Do you fish? <%=YesNoDropDown("ynFish", "")%>
Posted to KB Topic: ASP Classic
35 months ago

Code
Nothing New Since Your Last Visit
2289
Hits

Mike Prestwood
3. ASP Classic Array (x = Array())

Arrays in ASP Classic use a 0-based indice.

Use UBound to get the number of elements. UBound returns -1 if the array has no elements, 0 if it has 1, 1 if it has 2, etc.

Posted to KB Topic: ASP Classic
38 months ago, and updated 26 months ago

Code

KB Post
Nothing New Since Your Last Visit  
4732
Hits

Mike Prestwood
4. ASP Classic Edit Record (AddNew, Update, Delete)

In ASP, using ADO, you use RecordSet.AddNew to add a new record, Recordset.Update to post the record, and RecordSet.Delete to delete it. To edit a record, you open the RecordSet using an editable cursor.

Posted to KB Topic: ASP Classic
38 months ago

Code
Nothing New Since Your Last Visit
5728
Hits

Mike Prestwood
5. ASP Classic Sort Records (Sort)

In ASP, using ADO, you sort a set of records using the Sort property.

Posted to KB Topic: ASP Classic
39 months ago

Code
Nothing New Since Your Last Visit
2367
Hits

Mike Prestwood
6. ASP Classic Filter Records (Filter)

In ASP, using ADO, you filter a set of records using Filter.

Posted to KB Topic: ASP Classic
39 months ago

Code
Nothing New Since Your Last Visit
2578
Hits

Mike Prestwood
7. ASP Classic Find Record (Find, Seek)

In ASP, using ADO, you use Find and Seek to move a cursor of a RecordSet to a matching record.

Posted to KB Topic: ASP Classic
39 months ago

Code
Nothing New Since Your Last Visit
2218
Hits

Mike Prestwood
8. ASP Classic Record Movement (MoveFirst, MoveLast, MoveNext)

ASP uses MoveFirst, MoveLast, MoveNext, and MovePrevious to move a database cursor (a RecordSet).

objRecordSet.MoveNext
Posted to KB Topic: ASP Classic
39 months ago

Code
Nothing New Since Your Last Visit
5416
Hits

Mike Prestwood
9. ASP Classic Empty String Check (Len(s&vbNullString))

In ASP Classic, you have to add an empty string to the value being compared in order to get consistent results. For example, add &"" to your string varilable or it's code equivalent &vbNullString. Then compare to an empty string or verify it's length to 0 with Len.

Posted to KB Topic: ASP Classic
44 months ago, and updated 32 months ago
(3 Comments , last by Anonymous )

Code

Article
Nothing New Since Your Last Visit  
9781
Hits

Mike Prestwood
10. ASP Classic Member Visibility (Private, Public)

The member visibility modifiers are Private and Public. If not specified, the default is Public. Private and Public have the usual meaning. Private members are visible only within the class block. Public members are visible within the class and outside of the class.

Posted to KB Topic: OOP
50 months ago

Code

Article
Nothing New Since Your Last Visit
3684
Hits




Recently Updated

(ASP Classic Coding Group)

  KB Article    

Mike Prestwood
1. ASP Classic Array (x = Array())

Arrays in ASP Classic use a 0-based indice.

Use UBound to get the number of elements. UBound returns -1 if the array has no elements, 0 if it has 1, 1 if it has 2, etc.

Posted to KB Topic: ASP Classic
38 months ago, and updated 26 months ago

Code

KB Post
Nothing New Since Your Last Visit  
4732
Hits

Mike Prestwood
2. Associative Arrays in ASP Classic

What is the syntax in ASP Classic for using an associative array?

Posted to KB Topic: Language Details
59 months ago, and updated 30 months ago
(1 Comments )

FAQ
Nothing New Since Your Last Visit
9644
Hits

Mike Prestwood
3. ASP Classic Empty String Check (Len(s&vbNullString))

In ASP Classic, you have to add an empty string to the value being compared in order to get consistent results. For example, add &"" to your string varilable or it's code equivalent &vbNullString. Then compare to an empty string or verify it's length to 0 with Len.

Posted to KB Topic: ASP Classic
44 months ago, and updated 32 months ago
(3 Comments , last by Anonymous )

Code

Article
Nothing New Since Your Last Visit  
9781
Hits

Mike Prestwood
4. ASP Classic Error 3709

Run-time error '3709':
Operation is not allowed on an object referencing a closed or invalid connection.

Posted to KB Topic: Language Details
34 months ago

Error
Nothing New Since Your Last Visit
4802
Hits

Mike Prestwood
5. ASP Classic Edit Record (AddNew, Update, Delete)

In ASP, using ADO, you use RecordSet.AddNew to add a new record, Recordset.Update to post the record, and RecordSet.Delete to delete it. To edit a record, you open the RecordSet using an editable cursor.

Posted to KB Topic: ASP Classic
38 months ago

Code
Nothing New Since Your Last Visit
5728
Hits

Mike Prestwood
6. ASP Classic Yes/No Function

The following function demonstrates one technique for coding a Yes/No dropdown. It uses a for loop which can be expanded to handle more than the 3 states (Y, N, and blank).

Example of calling the function:

Do you fish? <%=YesNoDropDown("ynFish", "")%>
Posted to KB Topic: ASP Classic
35 months ago

Code
Nothing New Since Your Last Visit
2289
Hits

Mike Prestwood
7. Clear Application and Session Variables Using ASP classic

Use Application.Contents.RemoveAll and Session.Contents.RemoveAll

Posted to KB Topic: Language Basics
6 years ago, and updated 36 months ago

KB Post
Nothing New Since Your Last Visit
12263
Hits

Mike Prestwood
8. Response.Flush and Response.Buffer

Response.Flush sends the contents of the buffer to the browser. This command is useful for showing a visitor something while slow loading pages load.

Posted to KB Topic: Language Details
7 years ago, and updated 37 months ago

KB Post
Nothing New Since Your Last Visit
15647
Hits

Mike Prestwood
9. ASP Classic Sort Records (Sort)

In ASP, using ADO, you sort a set of records using the Sort property.

Posted to KB Topic: ASP Classic
39 months ago

Code
Nothing New Since Your Last Visit
2367
Hits

Mike Prestwood
10. ASP Classic Filter Records (Filter)

In ASP, using ADO, you filter a set of records using Filter.

Posted to KB Topic: ASP Classic
39 months ago

Code
Nothing New Since Your Last Visit
2578
Hits
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).
-
  Load Time=less than 1 second.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


1,234 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


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