PC Review


Reply
Thread Tools Rate Thread

Broken ImageLists in every project?

 
 
Mitchell Vincent
Guest
Posts: n/a
 
      13th Aug 2005
I've had this problem for a week, and it's just now getting to where I
can't work on a project because of it.

Every single project I load up in VS.NET 2003 that has an imagelist in
it gives me a compile error
"'System.Reflection.TargetInvocationException' occurred in mscorlib.dl"
on lines like "Me.imgAppointments.ImageStream =
CType(resources.GetObject("imgAppointments.ImageStream"),
System.Windows.Forms.ImageListStreamer)"

It seems the GetObject call is returning the error - but it does it
regardless of project and language!

Does anyone have any idea what I might have broken? I just installed
some of the N Software components, but I can't imagine those breaking
every imagelist!

--
- Mitchell Vincent
- kBilling - Invoices Made Easy!
- http://www.k-billing.com
 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      14th Aug 2005
"Mitchell Vincent" <(E-Mail Removed)> schrieb:
> Every single project I load up in VS.NET 2003 that has an imagelist in it
> gives me a compile error "'System.Reflection.TargetInvocationException'
> occurred in mscorlib.dl" on lines like "Me.imgAppointments.ImageStream =
> CType(resources.GetObject("imgAppointments.ImageStream"),
> System.Windows.Forms.ImageListStreamer)"
>
> It seems the GetObject call is returning the error - but it does it
> regardless of project and language!


Are you using a manifest file ("devenv.exe.manifest") with "devenv.exe" to
enable Windows XP Visual Styles within the IDE? If you are doing so, delete
the file and recreate the forms.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Project properties in vs2k8 is broken; how to fix Jeremy Microsoft C# .NET 1 13th Dec 2008 12:02 AM
referring to imagelists Doug Glancy Microsoft VB .NET 6 5th Mar 2007 03:40 PM
Database or project contains a missing or broken reference to the =?Utf-8?B?Q2hhcmxpZQ==?= Microsoft Access 0 11th Jan 2006 01:00 PM
RE: Broken References when uninstalling VB .NET 2003 Project =?Utf-8?B?R3JlZyBH?= Microsoft Dot NET 0 29th Aug 2005 05:23 PM
png files and imagelists eaglei Microsoft VB .NET 1 10th Jun 2004 01:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:36 AM.