Microsoft KB Archive/251133

= PRB: Run-Time Error When You Call the ExecWB Method =

Article ID: 251133

Article Last Modified on 5/11/2006

-

APPLIES TO


 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01

-



This article was previously published under Q251133



SYMPTOMS
When you call the ExecWB method in the Microsoft Web Browser Control, you may receive one of the following error messages:

Run-time error '-2147417848 (80010108)':

Method 'ExecWB' of object 'IWebBrowser2' failed

-or-

Run-time error '-2147221248 (80040100)':

Method 'ExecWB' of object 'IWebBrowser2' failed

Run-time error '-2147221248 (80040100)':

Trying to revoke a drop target that has not been registered



CAUSE
This behavior is by design.



MORE INFORMATION
The following OLECMDID values are not defined for use by the IWebBrowser2::ExecWB method:


 * OLECMDID_NEW


 * OLECMDID_SAVECOPYAS


 * OLECMDID_PRINTPREVIEW


 * OLECMDID_SPELL


 * OLECMDID_PASTESPECIAL


 * OLECMDID_HIDETOOLBARS


 * OLECMDID_STOPDOWNLOAD


 * OLECMDID_ONTOOLBARACTIVATED


 * OLECMDID_FIND


 * OLECMDID_DELETE


 * OLECMDID_HTTPEQUIV


 * OLECMDID_HTTPEQUIV_DONE


 * OLECMDID_ENABLE_INTERACTION


 * OLECMDID_PROPERTYBAG2


 * OLECMDID_SHOWSCRIPTERROR


 * OLECMDID_SHOWMESSAGE


 * OLECMDID_SHOWFIND


 * OLECMDID_SHOWPAGESETUP


 * OLECMDID_SHOWPRINT


 * OLECMDID_CLOSE


 * OLECMDID_ALLOWUILESSSAVEAS

