A .net 2002 Error

J

Jim Burns

Just reserved this error. I get it every time I use the ImageList. If I hit
run with no images in control No Error.
After putting 1 Image in control and not even using it When I hit run I get
This Error.

"An unhandled exception of type
'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Additional information: Exception has been thrown by the target of an
invocation."

It just started happening today has any one herd of this before.
 
H

Herfried K. Wagner [MVP]

Jim Burns said:
Just reserved this error. I get it every time I use the ImageList. If I
hit
run with no images in control No Error.
After putting 1 Image in control and not even using it When I hit run I
get
This Error.

"An unhandled exception of type
'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Additional information: Exception has been thrown by the target of an
invocation."

If you are using a manifest file with the "devenv.exe"
("devenv.exe.manifest") to enable visual styles inside the IDE; remove this
file and recreate the forms containing the imagelists.
 
J

Jim Burns

Thank you that was it.
Herfried K. Wagner said:
If you are using a manifest file with the "devenv.exe"
("devenv.exe.manifest") to enable visual styles inside the IDE; remove this
file and recreate the forms containing the imagelists.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top