CreateObject Function

Syntax                  CreateObject(Class)

Group                   Object

Description           Create a new object of type Class.

Parameter              Description

Class                       This string value is the application's registered class name.  If this application is not currently active it will be started.

See Also               Objects.

Example               '#Language "WWB.NET"
SubMain
    Dim App As Object
    App = CreateObject("WinWrap.CppDemoApplication")
    App.Move 20,30 ' move icon to 20,30
    App = Nothing
    App.Quit       ' run-time error (no object)
EndSub