Wiki - SwyxPEDIA

 

PBXScript.CreateObject

Creates an instance of the given COM object.

Dim fso
Set fso = PBXScript.CreateObject ("Scripting.FilesystemObject")
...
Set fso = Nothing

This function directly calls the CreateObject function of the VBScript engine.

Do not forget the set an object explicitly back to Nothing once you don't need it any longer. With this you notify the scripting engine that it's memory can be reused/deleted immediately. Thus you help the scripting engine in it's memory management job.

 

Server Script API




 |   | View Topic History  |
Wiki Help
Sponsors
bluvo AG
logic-base GmbH
Swyx Solutions AG, Germany

 

Charity

German Aid for Afghan Children

Swyx Forum supports the German Aid for Afghan Children (Kinderhilfe Afghanistan)