CreateObject Function
UNO ๊ฐ์ฒด๋ฅผ ๋ง๋ญ๋๋ค. Windows์์๋ OLE ๊ฐ์ฒด๋ฅผ ๋ง๋ค ์๋ ์์ต๋๋ค.
์ด ๋ฉ์๋๋ ๋งค๊ฐ ๋ณ์๋ก ์ ๋ฌ๋๋ ์ ํ ์ธ์คํด์ค๋ฅผ ๋ง๋ญ๋๋ค.
๊ตฌ๋ฌธ:
oObj = CreateObject( type )
์:
Type address
Name1 As String
City As String
End Type
Sub main
myaddress = CreateObject("address")
MsgBox IsObject(myaddress)
End Sub