| Important:
Dynamic Data Exchange is an extremely powerful and flexible
way to pass data or commands directly from one application
to another however this power and flexibility does not come
without a small price in additional complexity. The examples
provided here should help greatly to make the process easier.
One thing to consider is that there are many situations where
DDE may not be required and using WinWedge in "Send
Keystrokes" mode may be more suitable. Using the
Wedge in "Send Keystroke" mode is much easier and
much quicker to configure than using the Wedge "DDE Server"
mode.
For example if you are reading data from a simple instrument
like a bar code reader, electronic balance or an electronic
caliper and you simply want to input a small amount of data
into a spreadsheet or database, then using "Send Keystrokes"
mode may be a better and much simpler approach than using
DDE.
There may also be situations where it might be convenient
to input data from the Wedge using "Send Keystrokes"
mode and also send data out the serial port by sending DDE
commands to the Wedge.
The Wedge does not have to be in DDE Server mode in order
to accept and process DDE commands. You can still send
DDE commands to the Wedge to have it transmit data or prompts
out a serial port even when it is in "Send Keystrokes"
or "Log to Disk" mode. |