Jump to content
  • PBXScript.CreateObject




    This function creates an instance of the given COM object.


    PBXScript.CreateObject ( sObjectName )



    This functions returns an object.


    This function is identical to the VBScript build-in function CreateObject.




    ' create an ADODB.Connection object
    Dim oDB
    Set oDB = PBXScript.CreateObject ("ADODB.Connection")


    Don't forget to release the object again, once it is not needed anymore.


    Set oDB = Nothing



    Tom Wellige


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.