Yeah check out [1] and you will see that Chris did a little doodad for
this. Of course it does cause a few minor problems.

Scott

[1] http://www.sellsbrothers.com/tools/default.aspx

-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Mark Boulter
Sent: Tuesday, April 30, 2002 10:15 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] ImageLists and
System.Reflection.TargetInvocationException?!?


So you guys having been adding a manifest to devenv.exe?

-----Original Message-----
From: Chris Sells [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 10:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] ImageLists and
System.Reflection.TargetInvocationException?!?

Oh my lord, that's it! I swear I've used imagelists since I added that
manifest file. Thanks!

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

> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of
> Scott Densmore
> Sent: Tuesday, April 30, 2002 12:02 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] ImageLists and
System.Reflection.TargetInvocationException?!?
>
> 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.

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.

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