DDEShareAdd
(Engine-Level Function)
Description: | Adds a new DDE share name to the SYSTEM.INI file or the registry and returns its own error code. |
Returns: | Numeric |
Usage: | Script Only. |
Function Groups: | DDE |
Related to: | DDE | DDEPoke | DDEShareDel | SetDDEServer |
Format: | DDEShareAdd(Object, ShareName, Password) |
Parameters: |
Object |
Required. Any object expression giving the module instance whose variables' value will be shared. |
ShareName |
Required. Any text expression that gives the DDE share name other DDE enabled programs use to access the variables in Object. |
Password |
Required. Any text expression that gives the password required to access this DDE share name. If this is invalid, no password is required. |
Comments: |
Due to numerous security problems, DDE has been disabled by default in Microsoft Office applications since 2017. If you must use this technology, do so with extreme care! The return value of this function is true if successful, false if unsuccessful, and invalid if not attempted (i.e. invalid parameters). |