Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 17787, Passing files from Explorer to Delphi app via DDE

by Peter Below Email: Anonymous

Example for a Delphi app that registers itself as a DDE server for a file extension. Files opened from Explorer will be passed by DDE to the app.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 3.0  to 6.0 1431 downloads
Copyright: No significant restrictions

Size: 9,085 bytes
Updated on Sun, 14 Apr 2002 01:47:14 GMT
Originally uploaded on Sun, 14 Apr 2002 01:46:05 GMT
SHA1 Hash: D1AC4C1E6E68CED7CA611FA069D4B83D96291F62
MD5 Hash: E48C752C082B43E09D0A9C40186BC3BB

    Explore the files in this upload

Windows allows you to associate a file extension with an application that can then be used to open or print files directly from Explorer. However, if more than one file is selected in Explorer multiple instances of the application will be opened by default, one for each file. The way to get all files to be passed to the same application is to register the app as a DDE server for this file extension.
The source code for this article shows how to build such an application with Delphi. Please consult the comments in the source code for details of usage.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03