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
63
votes
3 answers

What is the difference between COM and OLE?

What is the difference between COM and OLE, if any?
TASNEEMUDDIN
18
votes
8 answers

How do I send a string from one instance of my Delphi program to another?

What is the best and easiest way to send a string from one instance of my program to another instance of my program? The receiving program has to execute a procedure, using the received string as a parameter. I started reading about DDE but I got…
Arthur
  • 3,376
  • 11
  • 43
  • 70
18
votes
3 answers

MATLAB hangs when I try to use the java package jdde, but only for the first time after a system reboot

I'm using the external java package jdde in MATLAB. Please note that for the following example, the DLL file that comes with the package needs to be on the MATLAB librarypath. The method to do this is different depending on your MATLAB…
user1719360
  • 193
  • 6
14
votes
3 answers

Calling a MATLAB function from C#

I developed a MATLAB function, and I'm looking for a way to call that function from another C# application and pass some parameters to it and get the results in the C# program. I heard that I can use Dynamic Data Exchange (DDE) or COM objects, but…
Wassim AZIRAR
  • 10,823
  • 38
  • 121
  • 174
14
votes
2 answers

How does Windows' 'Open with' work?

I was under the impression that when you double click a file (or choose 'Open With' from the right click menu), Windows simply calls the application with the filename as the parameter. Something like this: C:\> App.exe file.abc However, I just…
G S
  • 35,511
  • 22
  • 84
  • 118
13
votes
2 answers

Get data via DDE in Python by bypassing Excel

I have a data provider who provides a DDE link (that I can use in Excel) and an exe file that runs in the background which serves as a Data Manager (not sure if this is what called as a DDE Server) and the DDE link connects to that exe file. I want…
uday
  • 6,453
  • 13
  • 56
  • 94
10
votes
6 answers

DDE control TeXnicCenter

I use TeXnicCenter for LaTeX and would like to have the DDE controls working to easily view the pdf versions. Acrobat X seems to have changed the servername and this is breaking things. I tried "AcroViewR10" or "acroviewR10" and other combination,…
Bill
  • 5,263
  • 6
  • 35
  • 50
10
votes
3 answers

Does DDE still matter? Which are the alternatives?

I'm working on a stock exchange information platform and we are thinking in provide a link between our platform and home-made Excel files. The financial market is still bound to the old DDE server approach, now does it still matter today? Which are…
Edwin Jarvis
  • 5,980
  • 6
  • 36
  • 41
10
votes
4 answers

How to open a specific bloomberg terminal page programmatically?

Is there a reliable way to open a specific bloomberg terminal page programmatically (e.g. "MSFT Equity")? I am open to any suggestions and code samples: Start process with path to bloomberg terminal executable and ticker in the arguments Bloomberg…
Idriss
  • 939
  • 1
  • 9
  • 16
7
votes
1 answer

C# Win Api DDE connection multithread

I have function implementation of DDE client using Win Api in C#. Everything works fine in case that I call DdeInitializeW and DdeConnect in single thread. Specifically, these are wrapper definitions: [DllImport("user32.dll")] protected…
Majak
  • 1,543
  • 1
  • 14
  • 28
6
votes
2 answers

What is the appropriate technology to pull data to into excel spreadsheet via a formula from a .NET source?

I would like to be able to allow a user to enter a custom formula in a cell in Excel which will subscribe to data provided by an external .NET application. For example, the user might enter... =getCurrentValue("ABC") There is an external .NET (C#)…
John C
  • 238
  • 2
  • 8
6
votes
1 answer

Retrieve data with DDE in R using tcltk2 library

Connecting Excel with 'ABC' throught Excel works, connecting R with Excel by DDE works also, but how to connect R with 'ABC' application ? I have application providing DDE interface, from Excel I could retrieve value from it with this DDE reference…
Qbik
  • 5,885
  • 14
  • 62
  • 93
6
votes
2 answers

Open an Excel file in exclusive mode using VBScript

I have a simple question, but I've searched for this and couldn't find any helpful topics.. I'm working on a VBScript that opens an Excel file and modify a few stuff in it.. so I'm using this code: Set objXLApp =…
6
votes
4 answers

Embed an application (exe file) into another exe file (mozEmbed like)

I would like to embed mozilla firefox into my application WITHOUT using any activex control (TWebBrowser wrapper, mozilla ActiveX...). I tried using TWebBrowser (actually bsalsa's embedded webBrowser wich is by far better), but all versions of IE…
M0-3E
  • 1,012
  • 2
  • 13
  • 22
6
votes
2 answers

Connect to ThinkOrSwim using NDDE in .Net

I am successfully receiving DDE data from the ThinkOrSwim trading platform into excel using this cell formula: =TOS|Last!AAPL However, when I try to connect to ThinkOrSwim DDE using the NDDE library in a .Net C# application, I receive the…
bboyle1234
  • 4,859
  • 2
  • 24
  • 29
1
2 3
16 17