This is looking for the manifest file... Using common controls 6.0...
You probably have the manifest file for IDE???  It works ok but causes
some flakiness with new apps and completely hoses up the SQL Server
integration. (This is probably why they left it out).

scott

-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Chris Sells
Sent: Monday, April 29, 2002 11:50 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] ImageLists and
System.Reflection.TargetInvocationException?!?


All of a sudden, when I build a WinForms app with a non-empty imagelist,
e.g. this sample [1], it throws a TargetInvocationException on the
following code inside of InitComponents:

this.imageList1.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList
1.ImageStream")));

The entire app was generated with the wizard and the designer. What
could cause such a thing? I've repaired my OS (WinXP Pro) and repaired
VS.NET. Any ideas before I remove and reinstall the runtime?

Chris Sells
http://www.sellsbrothers.com/

[1] http://www.sellsbrothers.com/samples/ImageListTest.zip

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to