Click here to Skip to main content
12,512,515 members (42,318 online)
Click here to Skip to main content
Add your own
alternative version


23 bookmarked

DDE with Internet Explorer and Netscape

, 16 Dec 2003 CPOL
Rate this:
Please Sign up or sign in to vote.
DDE with Internet Explorer and Netscape.


DDE (Dynamic Data Exchange) is a wonderful (PRIMITIVE) way to exchange data between applications. With this information at hand, I started developing an application to get the loaded URLs in IE and Netscape.

I started by searching on the NET for some nice articles or sample code to start with, but I found absolutely nothing. So I decided if I managed to do it, I would certainly put it up somewhere so if someone STILL wants to do something like this, then I can be of some help.

Doing it with IE was simpler than ever.

DDE Server Name for IE is IExplore and I simply connected to the IExplore and subscribed to a service (WWW_RegisterURLEcho) and WALA, every time IE loads a URL, it called my callback function.

But Netscape was a real pain.

First off they change their DDE Server name every time they throw a new version in the market.

  • with Netscape4.X it was "Netscape"
  • with Netscpae7 it is "Netscape6"

And worse of all, the document says that it supports WWW_RegisterURLEcho, but from what I found out, it doesn't. But there is another service WWW_GetwindowInfo, which will give you the currently loaded URL in Netscape window.

The sample application that is available here gives the URL for all loaded IE windows and one Netscape browser (I can't do everything for you :))

I wrote some wrapper functions around the DDE API. I thought of making a CDDE class, but there is really not much to wrap.

Hope you all benefit from this code.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
India India
Programming Since the the Dreaded 286 Assembly Days

currently MFC and ATL NUT

Don't take life seriously because you can't come out of it alive.
-Warren Miller

You may also be interested in...


Comments and Discussions

GeneralVry Urgent Pin
Ashwini Hivarkar18-Feb-08 19:53
memberAshwini Hivarkar18-Feb-08 19:53 
GeneralRe: Vry Urgent Pin
Monty219-Feb-08 5:39
memberMonty219-Feb-08 5:39 
GeneralOn Vista not working Pin
Ashwini Hivarkar15-Feb-08 1:42
memberAshwini Hivarkar15-Feb-08 1:42 
GeneralFor FireFox Pin
shafqatmasood4-Jan-07 20:07
membershafqatmasood4-Jan-07 20:07 
GeneralIE7 Pin
bertram6664-Jan-07 10:17
memberbertram6664-Jan-07 10:17 
GeneralI can not get title Pin
Anonymous11-Nov-04 6:55
sussAnonymous11-Nov-04 6:55 
GeneralIt cannot work with Netscape6.x Pin
Anonymous9-Oct-04 3:30
sussAnonymous9-Oct-04 3:30 
GeneralRe: It cannot work with Netscape6.x Pin
mailMonty10-Oct-04 2:04
membermailMonty10-Oct-04 2:04 
GeneralWindow Text Pin
Collin Parker16-Aug-04 8:34
memberCollin Parker16-Aug-04 8:34 
GeneralNewnie Pin
HuaHsin16-Mar-04 23:51
memberHuaHsin16-Mar-04 23:51 
GeneralRe: Newnie Pin
mailMonty18-Mar-04 3:03
membermailMonty18-Mar-04 3:03 
GeneralDDE classes Pin
bryce18-Dec-03 15:48
memberbryce18-Dec-03 15:48 
Generalit Rocks Pin
Anonymous16-Dec-03 23:28
sussAnonymous16-Dec-03 23:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160929.1 | Last Updated 17 Dec 2003
Article Copyright 2003 by Monty2
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid