473,804 Members | 3,509 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with imageStream in resx.

Hello,
my problem is that after I wrote application uses ImageList with
enabled .manifest file I cannot run the application on windows 2000.
When i removed *.manifest file from the VS directory and rebuild
solution i got following error :

"Resource transformation for file 'main.resx' failed. Exception has
been thrown by the target of an invocation."

When i trying to convert this file by regenresx I got following:

"Invalid ResX input. ---> System.Reflecti on.TargetInvoca tionException:
Exception has been thrown by the target of an invocation. --->
System.InvalidO perationExcepti on: Failed to load ImageList..."

Do You know any tool or solution which can convert ImageStream to the
old format (working without .manifest file)?

Thanks in advance
kromek

Nov 17 '05 #1
3 4303
I resolved it by myself.
Create 2 projects : first (compiled with devenv.exe.mani fest file)
which reads resx and write all images from imagelists to folders and
second (compiled without devenv.exe.mani fest) which write imagelists
builds from images to resx file.

This solution is'not perfect but save a lot of my time.

Nov 17 '05 #2
2. kromek 19 Paz. 13:59 pokaz opcje

Grupa dyskusyjna: microsoft.publi c.dotnet.langua ges.csharp
Od: "kromek" <kro...@gmail.c om> - Znajdz wiadomosci tego autora
Data: 19 Oct 2005 04:59:09 -0700
Lokalna: Sr. 19 Paz. 2005 13:59
Temat: Re: Problem with imageStream in resx.
Odpowiedz | Odpowiedz autorowi | Przekieruj | Drukuj | Wiadomosc
prywatna | Pokaz oryginalna wiadomosc | Usun | Zglos naruszenie
prawa lub regulaminu

I resolved it by myself.
Create 2 projects : first (compiled with devenv.exe.mani fest file)
which reads resx and write all images from imagelists to folders and
second (compiled without devenv.exe.mani fest) which write imagelists
builds from images to resx file.
This solution is not perfect but saved a lot of my time.

Nov 17 '05 #3
I resolved it by myself.
Create 2 projects : first (compiled with devenv.exe.mani fest file)
which reads resx and write all images from imagelists to folders and
second (compiled without devenv.exe.mani fest) which write imagelists
builds from images to resx file.
This solution is not perfect but saved a lot of my time.

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
507
by: Bill | last post by:
Hi Everyone, I am having some difficulty in using the Windows Resource Localization Editor (WinRes.exe) on several Visual Basic .NET forms (.resx files) in two different projects. The editor gives an error when loading the .resx files. When attempting to load a .resx file using WinRes under Visual Studio .NET 2003, the following error is displayed in the client area of the editor: "An error occurred while loading the document. Fix...
1
2069
by: Sreekanth | last post by:
Hi, I am trying to globalize my application by separating out all the strings into resource files. For testing purpose, I have created two resource files. MyApp.resx, MyApp.en-US.resx. These resx files are built into binary resource files(.resources) and embedded into MyApp.exe by my make script. The problem, Even after setting my machine culture to English -United states, my application is always picking from the nuetral resource file....
0
1456
by: Severino | last post by:
Hi all, we have developed a .NET component for use inside Windows Forms: this component has been written using VC++.NET (2003) and is working perfectly when inserted inside VC#.NET or VB.NET projects; its generated assembly is inside MyAssembly.dll When used inside a VC++.NET project it appears correctly over forms at design time but when trying to compile the project we get the following error:
2
1953
by: Rob Garfoot | last post by:
I'm hoping someone here can help with this one as I've been looking all around for a solution to this and I've yet to find one that is satisfactory. I'm trying to add support for different languages to my ASP.NET project. I have read the docs in MSDN and several sites and newsgrops but still can't get this working as advertized. I have created string resources in both a .txt and a .resx
4
1309
by: Krzysztof Swiezynski | last post by:
Hello, I've made a simple web application which display a welcome string based on the choosen language selected (values: "pl" or "en") from a DropDownList. My code is: protected ResourceManager gStrings; private void Page_Load(object sender, System.EventArgs e) { gStrings = new ResourceManager("ResTest.ResTest",
0
1049
by: Rob | last post by:
I am having a major problem with my application. I am using Visual Studio and I have one deployment project and one "regular project". My problem is that when I compile and run my application in my "regular project" my UI-Thread selects the correct resx-files, but when I build an installation file with my deployment project and install and run it doesn't seem to find my resx-files. I know that the resx-files are included in both project and I...
0
1644
by: Brian Henry | last post by:
Ok whats going on here... got a couple problems... this is relevant now to this group since .NET 2.0 is finally RTM 1) draws really slow when making it a large form (resizing speed is jerky) to a res from 100x100 to 1280x1024 once it gets above 500x500 it starts jerking you can see the screen refreshing as it paints 2) sometimes the background selection when you select multiple items then move the mouse around on the screen dissapear...
0
1284
by: Miguel Dias Moura | last post by:
Hello, I know that in Asp.Net 2.0 the file MyResources.resx is for en-US and is the base file. For example, MyResources.fr-FR.resx is for french culture. My questions are: 1. How to I set my base file to be named "MyFile.resx" and use fr-FR as the base culture.
8
14953
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to cut and paste code that MSDN recommends for playing a simple wav file from inside an embedded file, like presumeably the 'resources' file .resx is. I want to embed the .wav file in a 'resource file' since I don't want the user storing the file on...
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10589
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10327
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.