Questions tagged [dde]

Dynamic Data Exchange (DDE) is a form of interprocess communication on Windows that uses shared memory to exchange data between applications. Applications can use DDE for one-time data transfers and for ongoing exchanges and updating of data.

The DDE protocol is a set of messages and guidelines. It sends messages between applications that share data and uses shared memory to exchange data between applications. Applications can use the DDE protocol for one-time data transfers and for continuous exchanges in which applications send updates to one another as new data becomes available.

The preferred method for using DDE in your own application is with the Dynamic Data Exchange Management Library. DDEML provides an interface that simplifies the task of adding DDE capability to an application. Instead of sending, posting, and processing DDE messages directly, an application uses the functions provided by the DDEML to manage DDE conversations

MSDN article for DDE: http://msdn.microsoft.com/en-us/library/ms648711(v=VS.85).aspx

Wikipedia: http://en.wikipedia.org/wiki/Dynamic_Data_Exchange

251 questions
5
votes
1 answer

Why does my DDE call from Excel hang after I have got the Rendering Tier of .Net App using Thread Pool?

I have found a very strange issue where if I get the Rendering Tier of a .Net App using the ThreadPool it will hang a very simple DDE call from Excel. The issue was seen when running a complex WPF app at the same time as the DDE call from Excel. I…
Tom Webster
  • 350
  • 1
  • 9
5
votes
1 answer

Dynamic Data Exchange (DDE) - Still Relevant?

Is there any reason to use Dynamic Data Exchange (DDE) in a modern Windows application? If not, what alternative technology would you use instead?
Justin Ethier
  • 131,333
  • 52
  • 229
  • 284
5
votes
2 answers

Where can I download DDESpy?

I am looking for the old DDESpy tool. Does anyone know where I could download it or something similar?
Tarnay Kálmán
  • 6,907
  • 5
  • 46
  • 57
4
votes
3 answers

Making DDE calls from Java

Wondering if anyone has experience and/or sample code for making DDE calls from Java. I've done DDE using win32 calls from the stddde library (DdeInitialize, DdeClientTransaction), and could write a JNI wrapper for this, but I was thinking that it…
Kevin Day
  • 16,067
  • 8
  • 44
  • 68
4
votes
5 answers

What are windows IPC methods

Question: I have a dll that I can load in another program. Now the dll has access to all data/functions in the other program. Which technology can I use that now an external program can send data/commands to that dll, to steer the other program, or…
Stefan Steiger
  • 78,642
  • 66
  • 377
  • 442
4
votes
2 answers

DDE SAS to run VBA code

I can't get Excel 2010 to execute a macro from SAS. I'm exporting data from some SAS tables to Excel, which works fine, and when I run the VBA macro manually it also does what it should, but it just won't execute automatically. The Excel file is…
NHansen
  • 101
  • 2
  • 8
4
votes
1 answer

Is there a list of Bloomberg DDE commands?

I'm trying to interface with Bloomberg Pro using DDEExecute but I'm having trouble finding a list of valid DDE commands. In particular what I'm hoping to do right now is enter specific non-character keystrokes (e.g. "right arrow")
slifty
  • 13,062
  • 13
  • 71
  • 109
4
votes
2 answers

Time stamp on formula based cell change triggered by DDE update

I have data in column A and would like a time Stamp in column B when data changes in column A. Now here is the tricky part: Column A's values are formula based, from a Vlookup table. This Vlookup table has dde links. So there is no manual entering…
4
votes
1 answer

How to get running DDE servers on the computer

I want to see a list of all DDE servers (and topics if possible) currently active on my computer. How can I do that? Is there some service started for each DDE server? I search the Internet and stackoverflow for some time and did not find anything.
Dmitrii I.
  • 696
  • 7
  • 16
4
votes
1 answer

Fix Protocol with Excel VBA

I have already created code in Excel VBA which collects data by dde link and executes them according to some rules. Shortly, this Excel VBA code will send me messages about buying or selling stocks that I am tracking. Now, I want to execute these…
user1531024
  • 41
  • 1
  • 2
3
votes
2 answers

Extracting dynamically changing data in excel via php

I have an open excel sheet that's constantly being updated by another program via DDE. I wish to have a php script that accesses some of the data in this excel sheet. I have tried using PHPExcel and it seems that I cannot have the changes I make …
KS1
  • 165
  • 1
  • 10
3
votes
2 answers

Which Interprocess Communication methods work on a Terminal Server?

In a terminal server session, some standard IPC technologies might not work like in a single user environment, because the required resources are not virtualized. For example, TCP/IP ports are not virtualized, so applications in different sessions…
mjn
  • 36,362
  • 28
  • 176
  • 378
3
votes
0 answers

How do I get the browser's current url in Linux?

In Windows it is easy to get the current url from most browsers using simple DDE commands. Likewise with DDE you can tell the browser to go to another location. How do I do a similar task in Linux? I need to retrieve the url the browser is pointing…
marlar
  • 3,858
  • 6
  • 37
  • 60
3
votes
1 answer

How to listen to DDE data continuously

Looking for either a python or R solution. In R, I am able to retrieve DDE data into R from a third-party application using the following request: library(tcltk2) tk2dde.request(service = 'prortdde',topic='MNQXXXX', item='last') "12262.75" I'd…
gaut
  • 5,771
  • 1
  • 14
  • 45
3
votes
0 answers

How to get live data from a DDE link in R?

I have an application that gives =MTX|DATA!'OTKAR.GUN.F%' when asked for DDE link. It works perfectly fine with Excel. There seems to be only tcltk2 but I couldn't get it to work.
Voerch
  • 51
  • 2
1
2
3
16 17