CreateObject Function |
Syntax:
CreateObject(Class$)
Group:
Description:
Creates a new object of type Class$. Use Set to assign the returned object to an object variable.
Parameters
Parameter |
Description |
This string value is the application's registered class name. If this application is not currently active it will be started. |
Example:
Set App = CreateObject("WinWrap.CppDemoApplication")
App.Move 20,30 ' move icon to 20,30
Set App = Nothing
App.Quit ' run-time error (no object)
EndSub