Solved

VS2012 to VS2013 ImageList bug

Posted on 2014-03-03
7
520 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

710 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