dde

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 the alternatives to make automatic online data updates on Excel files, OLE DB queries? I ...

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 confused. What other options do I have, and what is the easiest way to implement this? ...

DDE Server Window - Application Error

I have a c# application that opens up a COM instance of excel and dumps some data from an Access 2000 database via oleDB onto the sheet then releases the excel object, but I get a window after I close the program with the title bar: DDE Server Error: [applicationName.exe] - Application Error I think I've narrowed this down to be an i...

How do I bring my window to the front after a DDE event?

On a DDE event my program loads a file in and should pop to the foreground. I was using show; It only seems to be working like then when i have hidden the window. So i added bringtofront; Again this worked if it was hidden, closed, minimized or in the icon tray but not if it was open just under another window. I even tried some ...

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 which try to listen on the same port will cause a port conflict. Which IPC technology wil...

Get data from custom app into EXcel

I would like to be able to link some data from a custom application to a cell in Excel. What tech would you use to do that? I'm primarily a Unix-developer, and don't know win32 technologies in depth. But as far as I understand DDE would be the easiest, even though it is very old tech. Being able to use it with other office suites such ...

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 might be nice to do it from JNA I also have some concerns about the fact that DDE calls n...

DDE problem: Windows cannot find path....

Hi, I have problem with handling DDE if I want to show CDialog before creating CFrameWnd. I do it in two ways: 1) create MyApp (CWinApp) which has overriden OnDDECommand. Inside MyApp::InitInstance() I create MainFrame (CFrameWnd). DDE works well, OnDDECommand handles DDE calls. 2) before MainFrame I want to show MyDialog (CDialog), bu...

how to tell when a dde response is complete?

I'm talking to a DDE server I don't have very much documentation for using the NDde .NET library. I've attached handlers for both the Advise and Disconnected events and am receiving data successfully. I never see a Disconnected event raised nor do I see anything in the response stream that seems to signal that all the data has been ret...

Java interface to Windows communications? (OLE, OPC, DDE)

I need to integrate an off-the-shelf Windows application with a Java application. At a few key points, I need the Windows application to send an "event" and some data to the Java application. The Windows application anticipated this need, and can be configured to "Poke a DDE Item", "Set an OLE Auto-Property" or "Write an OPC Item". I'...

classes or wrapper for working with dde in .net?

Can anyone point me to classes or wrapper to use when working with DDE in .NET? yeah yeah, I know it's supposed to be obselete etc etc :) Just sometimes necessary to work with. ...

ActiveDocument.MailMerge with DDE leaves excel open

How to close excel opened by Word mail merge macro? With ActiveDocument.MailMerge .MainDocumentType = wdCatalog Connection:="Entire spreadsheet", SubType:=8, ReadOnly:=True .Destination = wdSendToNewDocument .Execute End With 'Activedocument DDETerminateAll ...

XLL plugin's DDEConnect() fails when connecting to Excel?

I have a problem with connecting to Excel, there's a plugin that reads from db and tries to fill excel sheet with data across DDE, and it seems to be failing sometimes on DDEConnect function with error number 16390 - DMLERR_INVALIDPARAMETER Invalid parameter to DDEML function call. What is more interesting it is failing more often when...

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 seem incompatible with some features of popular javascript framework and libs (JQuery, ExtJS...

DDE - Get Multiple Topics - .Net

If I am working on creating a watch list. What is the best way through DDE to get the name, volume, bid, ask, and last trade? I am going to be using Think or Swim's Desktop software, which only supports DDE. I am using NDDE. I am looking for an answer from this website: http://ndde.codeplex.com/Thread/View.aspx?ThreadId=63269 I am...

trying to launch a macro when the value of a DDE range changes

Hi there, I'm a novice in VBA but still I need yo execute a macro every time the value of a range changes. The marco is already written but if someone can help me with this issue, I will be very grateful. Just as you know the changing range is a DDE link updating the range with a continuous flow Thxs for your help ...

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 double clicked an .xls file and then checked the PEB of the Excel instance that sprang up. To...

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? ...

Queries about DDE communication under Powerbuilder

I have a third party tool that can send or receive DDE pokes. I have been using DDE spy to monitor communications between it and a 3rd party DDE server emulator, with a view to replicate this using Powerbuilder. As far as I can tell, this is using warm links. I tried using openchannel, followed by execremote, but the type of call is d...

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 get data from it ? I mean, in the past that meant DDE, I think that was back in Windows ...