Visual Basic Reference

Visual Studio 6.0

OLERequestPendingTimeout Property

See Also    Example    Applies To

Returns or sets the number of milliseconds that must elapse before the Component Request Pending dialog box (or an alternate message) can be triggered by mouse or keyboard input received while an automation request is pending. Not available at design time.


object.OLERequestPendingTimeout [= milliseconds]

The OLERequestPendingTimeout property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
milliseconds A Long integer representing the number of milliseconds that must elapse before a busy message can be triggered.


The default value of this property is 5000 milliseconds (five seconds).

Important   This time-out value also affects documents you link or embed using the OLE Container control or the Toolbox. If you are using linked or embedded documents and you change this property before an automation request, it is a good idea to reset the value afterward.