soloscript.com
Home | Contact Us | Log In | Help
HOME New Listing Script NEW LISTING Most Popular Script MOST POPULAR High Rated Script HIGHEST RATED Script SCRIPTS Add Script ADD SCRIPT Download Tutorial DOWNLOADS Forums FORUM
TUTORIALS
   ASP.Net & C#
   ASP
   Perl and PHP
   Java Scripts
   C and C++
   Ajax Tutorials
   J2ee, J2Me, Java
   Python & Ruby Rail
   Crystal Report
   Sap
   CGI
   XML
   Cold Fusion & CFML
   HTML, DHTML & CSS
   Dreamweaver
   FLASH
   Photoshop/Web Designing
   Tools & Utilities
   Oracle/D2K
   Sql Server
   MySql
   Domain Name Registration
   Remotely Hosting
   Web/Server Application
   Hotel Marketing
   Internet and Law
   Search Engine Optimization/SEO
   E-Commerce
   Interview Questions
Previous < 9 10 11 12 13 14 15 16 17 >Next
ASP 13
ASP Content Rotator (ASP 3.0)

The ContentRotator object calls the Server.MapPath method to map the specified path to a physical directory. The ASP Content Rotator component creates a ContentRotator object that displays a different HTML content string each time a user enters or refreshes a page. A text file, called the Content Schedule File, includes the information about the content strings.

The content strings can contain HTML tags so you can display any type of content that HTML can represent: text, imagess, colors, or hyperlinks.

ASP Content Rotator Visit Site
ASP The Global.asa file

The Global.asa file is an optional file that can contain declarations of objects, variables, and methods that can be accessed by every page in an ASP application. All valid browser scripts (JavaScript, VBScript, JScript, PerlScript, etc.) can be used within Global.asa.

The Global.asa file can contain only the following:

  • Application events
  • Session events
  • <object> declarations 
  • TypeLibrary declarations
  • the #include directive

Note: The Global.asa file must be stored in the root directory of the ASP application, and each application can only have one Global.asa file.

Global.asa file Visit Site
What is an ASP file?

Your ASP file will invariably be a mixture of text, ASP, and HTML tags. Have a look at the code below. In black is the HTML, in red is the text and in blue is the ASP(VBscript) code.

Just in case you haven't noticed ASP pages end with the file extension .asp as opposed to HTML files that have the .html or .htm extension.

ASP file Visit Site
Test if your server supports ASP
Copy the code below and paste it into a text editor such as notepad or wordpad. Save the file as 'test.asp'. Do Not save this with an .html or .htm or .txt file extension. With Notepad select "All Files" in the "Save as type" drop-down menu to avoid having your file renamed to test.asp.txt.
Next simply FTP the file to your web server. Type the URL address into your browser, this will be a URL like http://www.yourwebsite.com/test.asp. If the page displays the current system date and time without any error messages then your server supports ASP.
server supports ASP Visit Site
FOR and NEXT Loops

FOR/NEXT loops are used when you want to execute a piece of code a set number of times. If, for example, you want to output the world 'Hello' 10 times, you could either code it manually or you could use:

FOR and NEXT Loops Visit Site
Previous < 9 10 11 12 13 14 15 16 17 >Next
  Copyright 2000-2006 © SoloScript.com, All rights reserved.