CreateObject Function

መፍጠሪያ የ UNO object. በ Windows, መፍጠር ይቻላል የ OLE እቃዎች

ይህ ዘዴ ይፈጥራል ለ አይነት እንደ ደንብ ያለፈውን

አገባብ:

oObj = CreateObject(type)

ደንቦች:

type: the type of the object to be created, as a string.

ለምሳሌ:


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

Please support us!