Execute DDE commands from client side script?
Posted on 2006-11-22
I need to execute DDE commands from the client side of an asp application (I know, it is not asp anymore, but since VScript is almost the same ...).
How can I send these commands? Is using an ActiveX my only solution (i never did one and I ama tryng to avoid it) ?
This is how the DDE commands are supposed to be run from VB or VBA:
Dim Chanl As Long
On Error Resume Next ' Set up error handling.
Chanl = DDEInitiate("AGNTPLUS", "SYSTEM") 'Establish link.
If Err Then Exit Sub ' If error, exit.
' Dial the Phone Number
DDEExecute Chanl, "DIAL," & PhoneNum
' Terminate DDE link.