by Mark E. (1 Submission)
Category: DDE
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (16 Votes)
This code retrieves the url and window title of any open instance of Netscape Navigator or Internet Explorer. It uses DDE (Dynamic data exchange) and WWW_GetWindowInfo and is much more reliable than the FindWindow Function. DDE is supported in Internet Explorer > 3.0 and in Netscape Navigator > 2.0.
Side Effects
A very minor bug, in which the window title becomes the url with some server parsed pages.