Solved

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

Posted on 2014-10-15
4
132 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

776 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