Error loading resource stream in Windows 2000
From: Michael Hoehne (MichaelHoehne_at_discussions.microsoft.com)
Date: 03/21/05
- Next message: Michael Kairys: "How to get PropertyValueChanged from a Collection editor?"
- Previous message: Herfried K. Wagner [MVP]: "Re: Placing a .NET Form/UserControl inside a VB Form"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Mar 2005 06:33:11 -0800
Hello,
I've developed a huge solution with the .NET Framework 1.1 on Windows XP.
Everything is running as expected but when installing the app on a Windows
2000 system, a single form could not be loaded. I debugged into the code and
actually found that an exception is thrown on the following line:
this.imageListConnectionStatus.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListConnectionStatus.ImageStream")));
Visual Studio.NET complained about an invalid ResX file when opening the
form in design mode and removed the images from the image list. I then added
exactly the same images and recompiled the application. From that point on
the application worked fine on W2K.
What could be the reason for this behaviour?
Thanks for any help.
Michael
- Next message: Michael Kairys: "How to get PropertyValueChanged from a Collection editor?"
- Previous message: Herfried K. Wagner [MVP]: "Re: Placing a .NET Form/UserControl inside a VB Form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|