(Contents)(Previous)(Next)

SetAllowUI()

Description: Specifies whether the API should pop up any user interface dialog boxes or message boxes.
Syntax: object.SetAllowUI(bAllowUI)
Parameters:
object Required, the Session object
bAllowUI FALSE if UI should be turned off for this session
Remarks: Sometimes it is important that no user interface is used when using the API. One example of this is if you are using the API from within Microsoft Active Server Pages. In this example, the server machine runs the API and sends only HTML to each client program. Any UI which pops up simply halts the server machine. In this circumstance it is mandatory that UI not be used within an OfficeTalk session.
Returns: Nothing
Example: Nothing
Dim session As Object

Set session = CreateObject("OfficeTalk.Session")

session.SetAllowUI(False)


Next