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

Blaaboy
05-12-2004, 07:07 AM
Hi all,

I have a webbrowser form in my project which produces the following error BUT ONLY when running as a .exe. Design mode works fine! Any ideas?

Run-time error '-2147221248 (80040100)':
Trying to revoke a drop target that has not been registered

Regards,

Blaaboy

Iceplug
05-12-2004, 08:39 AM
Have you tried adding MsgBoxes to your application to try to find which line the error occurs on in your code?

Blaaboy
05-13-2004, 06:55 AM
The message boxes worked up to this line and then program produced the error above:

WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER

Thanks, Blaaboy

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum