Solved

VS2012 to VS2013 ImageList bug

Posted on 2014-03-03
7
526 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Congratulations! You’re Certified – Now What?

Starting a new career can be overwhelming. Becoming certified in your field of expertise is a great start, but where do you go from here?  Here are some tips to help you on your career journey.

 
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

How To Reduce Deployment Times With Pre-Baked AMIs

Even if we can't include all the files in the base image, we can sometimes include some of the larger files that we would otherwise have to download, and we can also sometimes remove the most time-consuming steps. This can help a lot with reducing deployment times.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

628 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