Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

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

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
gcook17
Asked:
gcook17
  • 2
  • 2
1 Solution
 
Bob LearnedCommented:
How are you adding the image to the button (runtime or design-time)?
0
 
gcook17Author Commented:
design time
0
 
Bob LearnedCommented:
What type of image file is it?  What is the pixel format?
0
 
gcook17Author Commented:
Ran Clean the rebuild and problem went away
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now