Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Run-time error '-2147221248 (80040100)'??


Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2004, 07:07 AM
Blaaboy Blaaboy is offline
Freshman
 
Join Date: Jun 2003
Posts: 38
Default Run-time error '-2147221248 (80040100)'??


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
Reply With Quote
  #2  
Old 05-12-2004, 08:39 AM
Iceplug's Avatar
Iceplug Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: California, USA
Posts: 16,583
Default

Have you tried adding MsgBoxes to your application to try to find which line the error occurs on in your code?
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #3  
Old 05-13-2004, 06:55 AM
Blaaboy Blaaboy is offline
Freshman
 
Join Date: Jun 2003
Posts: 38
Default

The message boxes worked up to this line and then program produced the error above:

WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER

Thanks, Blaaboy
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Brief History of Time (and Date) BillSoo Tutors' Corner 1 11-11-2003 03:36 PM
is it possible to run real time in Windows ? anotherbrick General 4 08-22-2003 10:00 AM
Run time Error 35601 Element not found ashish908 Installation / Documentation 3 05-22-2002 03:10 AM
Drag pictures during run time Bernard General 10 10-12-2000 02:53 PM
Run Time Error (Method '~' of object '~' failed) waghani General 1 09-26-2000 05:33 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->