Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

vb.net 2005 error when access picture DISP_E_EXCEPTION Adding Image to Button

Posted on 2014-10-15
4
Medium Priority
?
144 Views
Last Modified: 2014-10-18
When attempting to add an image to a button using Windows Form VB.Net 2005 I receive the following error: Exception Occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION). Folder is set to Read/Write. This has worked fine in the past. Please help solve this problem. Thank you.
0
Comment
Question by:gcook17
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40384431
How are you adding the image to the button (runtime or design-time)?
0
 

Author Comment

by:gcook17
ID: 40385973
design time
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 40386777
What type of image file is it?  What is the pixel format?
0
 

Author Comment

by:gcook17
ID: 40389596
Ran Clean the rebuild and problem went away
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question