another file called "MyFirst.asp" and enter the corresponding
code shown to the left.
Again, save this file
into your web server's local root directory as
you did with "MyFirst.htm".
Note the entire contents
of "MyFirst.asp" are within <% ... %> tags. Make sure no spaces or ascii exist before or after tags!!!!!
"MyFirst.asp" contains ASP code (VBScript)
which creates a ProEssentials component via the
CreateObject method. CreateObject's only argument
is a ClassID. In this case, PEGOE.Pegoectrl.1
is the ClassID for the ProEssentials Graph Object.
Note, Standard users use PEGOFSTD.PegofStdCtrl.1
the code sets the control's MainTitle and SubTitle properties.
and Points properties are set and define the amount
of data the control will contain.
a nested for-next loop passes 48 random data points
into the YData(s,p) two dimensional property array.
Next, FontSize is set to 0 which denotes large font.
You will likely use our ProEssentials ASP Include
file and then prototype your ASP code within Visual
Basic. This lets you copy and paste your Visual
Basic code directly into an ASP page because the
include file holds the declarations for property