CreateObject Function

Creates a UNO object. On Windows, can also create OLE objects.

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

தொடரமைப்பு:

oObj = CreateObject( type )

எடுத்துக்காட்டு:


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

Please support us!