Solved

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

Posted on 2014-10-15
4
130 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
  • 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now