CreateObject Function

Izveido UNO objektu. Uz Windows, var arī izveidot OLE objektus.

This method creates instances of the type that is passed as parameter.

Sintakse:


oObj = CreateObject( type )

Piemērs:


Type address
    Name1 As String
    City As String
End Type
 
Sub main
    myaddress = CreateObject("address")
    MsgBox IsObject(myaddress)
End Sub

Please support us!