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

x
?
Solved

VS2012 to VS2013 ImageList bug

Posted on 2014-03-03
7
Medium Priority
?
538 Views
Last Modified: 2014-03-09
So the problem is like this. My project was in VS 2012

I installed to VS2013 and opened the project.

Any form which had ImageList inside it, the designer will no longer open

err

If i click the error it takes me to lines witgh imagelist
img
the errors are refferences root unavailable or index not found (for image list)

error

this all worker prior to 2013, and running the programalso works, but editing the forms in design mode does not work.

Please help
0
Comment
Question by:Ess Kay
  • 4
  • 2
7 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39900714
It looks like you had some issues converting the project. Do you have a References node available in your project? Are you able to expand it and see references? Same with resources?
0
 
LVL 15

Author Comment

by:Ess Kay
ID: 39900741
imagelist1 is never inside the refernces node. its probably pcked inside the references.dll somewhere



If i run the project, all the images work


the refernces root node unavailable points to this message

   Me.imageList1.ImageStream = CType(resources.GetObject("imageList1.ImageStream"), System.Windows.Forms.ImageListStreamer)


the images are clearly there, and you can see them at runtime

All 29 of them for this form
count of 29
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39902904
Yes I know imagelist would not be in References. I was basing my suggestion on error message.
0
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.

 
LVL 13

Expert Comment

by:ktaczala
ID: 39904951
Do you have option strict ON ? turn it off.
0
 
LVL 15

Author Comment

by:Ess Kay
ID: 39905140
Figured it out
0
 
LVL 15

Accepted Solution

by:
Ess Kay earned 0 total points
ID: 39905144
Had to close all IDEs,  reopen project
0
 
LVL 15

Author Closing Comment

by:Ess Kay
ID: 39915666
Thanks for playing
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

926 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