CreateObject Function

Loob UNO-objekti. Windowsis saab luua ka OLE-objekte.

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

Süntaks:

oObj = CreateObject( type )

Näide:

Type address

    Name1 As String

    City As String

End Type

 

Sub main

    myaddress = CreateObject("address")

    MsgBox IsObject(myaddress)

End Sub