CreateObject Function
Syntax
CreateObject(Class$)
Group
Description
Create a new object of type Class$. Use Set to assign the returned object to an object variable.
Parameters |
Description |
This string value is the application's registered class name. If this application is not currently active it will be started. |
See Also
Example
Sub Main
Dim Sys
Set Sys = CreateObject("FLEXOBJ.System")
' Assumes one or more open session
If 1 = MsgBox("Close all sessions?", 1) Then
Sys.Quit
End If
End Sub