Article ID: 189634
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
- Microsoft Windows 2000 Standard Edition
- Microsoft Internet Client Software Development Kit 4.0
- Microsoft Internet Client Software Development Kit 4.01
This article was previously published under Q189634
SUMMARY
When hosting the Internet Explorer 4.0x WebBrowser control, it is possible
to move the control to both virtual and file folders on the user's
local computer. These are folders such as the desktop and My Computer. The
problem is that when the user opens a folder in the control, a new Internet
Explorer window is opened to display the contents of the selected folder.
This might not always be the desired behavior.
To solve this problem, the host application must respond to and handle a
Dynamic Data Exchange (DDE) conversation that is initiated by the control
when the control calls ShellExecuteEx. WebApp.exe is a sample application
that hosts the Internet Explorer 4.0x WebBrowser control that is initially
set to the user's desktop. It demonstrates how to establish the DDE
conversation, get the DDE command string, parse the DDE command string, and
access and free the PIDL that is included in the DDE command. It also
handles the special cases described in the MORE INFORMATION section.
Keywords: kbdownload kbfile kbinfo kbwebbrowser KB189634