Solved

VS2012 to VS2013 ImageList bug

Posted on 2014-03-03
7
510 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 12

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
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 …

773 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