LibreOffice SymbolLibreOffice Symbol

Please support us!

CreateObject Function

UNO বস্তু তৈরি করা হয়। উইন্ডোজেও, OLE অবজেক্ট তৈরি করা যায়।

এই মেথডটি একটি ধরনের জন্য দৃষ্টান্ত তৈরি করে যা প্যারামিটার হিসেবে পাস করা হয়।

Syntax:

oObj = CreateObject(type)

Parameters:

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

Example:


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