Visual Designer cannot load this class

Posted by jmls on 05-Jun-2009 07:03

Okay, time for my daily dose of "Visual Designer Fighting" (tm).

Been working on this program. Went for lunch, came back to chaos on the screen. Out of memory this, out of memory that. prowin32 was taking 1.4G memory, eclipse 499 MB.

Anyways, killed the tasks, restarted.

Now, I can't load my class into the designer. I get a

Visual designer cannot load this class

Specified argument was out of the range of valid values.

Parameter name: '0' is not a valid value for 'index'.

the class itself compiles ok, but when I run I get a similar error

HELP !

All Replies

Posted by jmls on 05-Jun-2009 07:53

Bad for replying to my own post, but hey - this may help someone else

My .resx file seemed corrupted. I reverted to an older version and it all loaded ok. Seems as if the imagelist data was mangled.

PSc - if you need, I have a copy of the damaged .resx if it would help

Posted by Admin on 05-Jun-2009 08:13

jmls schrieb:

PSc - if you need, I have a copy of the damaged .resx if it would help

Never experienced that myself - but one of my consulting customers reported a similar issue that I could not reproduce.

This thread is closed