_Global.DDETerminateAll Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes all dynamic data exchange (DDE) channels opened by Microsoft Word.
public:
void DDETerminateAll();
public void DDETerminateAll ();
abstract member DDETerminateAll : unit -> unit
Public Sub DDETerminateAll ()
Remarks
This method doesn't close channels opened to Word by client applications. Using this method is the same as using the DDETerminate(Int32) method for each open channel.
Dynamic data exchange (DDE) is an older technology that is not secure. If possible, use a more secure alternative to DDE.
If you interrupt code that opens a DDE channel, you may inadvertently leave a channel open. Open channels aren't closed automatically when a macro or program ends, and each open channel uses system resources. For this reason, it's a good idea to use this method when you're debugging code that opens one or more DDE channels.