Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Example: ASP Content Rotator Component ChooseContent Method

The following example gets a new tip from the Content.txt file in the /Tips/ virtual directory.

<%
 Set NextTip = Server.CreateObject("MSWC.ContentRotator") 
 Tip = NextTip.ChooseContent("/MyApp/Tips/Content.txt")
 Response.Write Tip
%>


ContentsPreviousNextIndex