EZK CreateActiveX function


This function enables the developer to create ActiveX objects to be used in the script code.
Objects such as ADODB, DAO, and many others are allowed.

If no object is found (ex: not installed) the function returns "Nothing"

Example:

<%

set myrec = ezk.CreateObject("ADODB.Recordset")

myrec.cursorlocation = 1
myrec.open "select * from files", ezk.database.ActiveConnection
ezk.output myrec.recordcount & " records found"


%>

It is recomended that after using the object, unload it with Set obj = nothing .

This function has the same behaviour as server.createobject() used in ASP.