Solved

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

Posted on 2014-10-15
4
126 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
Comment Utility
How are you adding the image to the button (runtime or design-time)?
0
 

Author Comment

by:gcook17
Comment Utility
design time
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
Comment Utility
What type of image file is it?  What is the pixel format?
0
 

Author Comment

by:gcook17
Comment Utility
Ran Clean the rebuild and problem went away
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 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

11 Experts available now in Live!

Get 1:1 Help Now