LinkTimeout Property

See Also24HTL0Q

Applies To

Label3MNIZ8D, picture box31MYIWX, text boxYPYZDG.

Description

Determines the amount of time a control waits for a response to a DDEDEFDDE message.

Usage

[form.]{ label|picturebox|textbox}.LinkTimeout[ = duration ]

Remarks

By default, the LinkTimeout property is set to 50 (equivalent to 5 seconds).  You can specify other settings in tenths of a second.

DDE response time from sourceO9K12R applications varies.  Use this property to adjust the time a destinationHF8UZ8 control waits for a response from a source application.  This helps avoid generating an error by Visual Basic if a given source application takes too long to respond.

 

Note   The maximum length of time that a control can wait is 65535 tenths of a second, or about 1 hour 49 minutes.  Setting LinkTimeout to -1 tells the control to wait the maximum length of time for a response in a DDE conversation.  The user can force the control to stop waiting by pressing the Esc key.

 

Data Type

IntegerDOKXHY


See Also

Help:

LinkClose Event17O5TU0

LinkItem Property2NMGNS5

LinkMode PropertyM1RK6S

LinkOpen EventM1TL81

LinkSend MethodH24SKI

LinkTopic PropertyEVWV3S

Using DDEHOWDDE

 

Programmer's Guide:

Chapter 20, "Communicating with Other Applications"