Error loading resource stream in Windows 2000

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Michael Hoehne (MichaelHoehne_at_discussions.microsoft.com)
Date: 03/21/05


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



Relevant Pages

  • There are too many people accessing the Web site at this time - with only one user - and HTTP keep-a
    ... Windows 2000 Pro only supports 10 connections, ... updating of chart images ... When the user "stresses" the app by changing ... web server is a brand new fast PC with lots of RAM, ...
    (microsoft.public.inetserver.iis)
  • Re: OT: OK Flame Away Im Really Dumb
    ... I thought Windows 7 is doing the memory management, not the app. ... The difference when you're working with lots of images or .PSD ...
    (comp.sys.ibm.pc.games.action)
  • Re: Converting .JPEG Images to Video (.WMV) File?
    ... I tried running the .html app but it did not succeed in creating the movie. ... I have Windows XP Pro w/ Windows Media 9 Encoder. ... These images were .jpg files. ...
    (microsoft.public.windowsmedia)
  • Re: copy image to windows clipboard?
    ... from a tk application to the Windows clipboard? ... between my tk app and a Windows app such as powerpoint. ... I'm not looking for any other mechanism to get images into a Windows ...
    (comp.lang.tcl)
  • Re: Windows.. its like coming home!
    ... gradual transition, especially in going from OS 9 to OS X. ... They needed something that could compete with Windows, ... mean by the "2 of every app" comment before - Apple took whatever apps ... I've found that because the Dock shows applications rather than windows, ...
    (comp.sys.mac.advocacy)