The CreateObject method creates an instance of a server component.
Server.CreateObject( progID )
By default, objects created by the Server.CreateObject method have content file scope. This means that they are automatically destroyed by the server when it finishes processing the current content file.
<% Set MyChart = Server.CreateObject("SuperChart.Pie") %>
The preceding example creates a server component, MyChart
, as a SuperChart.Pie
component that can be used to render a pie chart within an html content.