Previous in Contents Next in Contents

Load Method

The Load method creates an instance of the Project class and loads a specified project (that is, invokes the Project.Load method).

VBScript Syntax

ICDFGenHelper.Load Name

Parameters

Name

The name of the project to load.

Remarks

The Load method should normally be called within an ASP application's global.asa file within the Application_OnStart subroutine after an instance of the object is created.

Example

VBScript in a global.asa file

Sub Application_OnStart
  Set ICDFGenHelper = CreateObject("Push.CDFGenHelper")
  ICDFGenHelper.Load "ProjectName"
  Set Application("ProjectName") = ICDFGenHelper
  ...
End Sub

© 1997-2000 Microsoft Corporation. All rights reserved.