CreateObject Function

UNO オブジェクトを作成します。Windows では、OLE オブジェクトも作成できます。

このメソッドにより、パラメーターとして渡されるタイプのインスタンスが作成されます。

Syntax:

oObj = CreateObject( type )

Example:


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

ご支援をお願いします!