473,386 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to get sorted data from .resx file using ResXResourceReader?

Hi

i have created one .resx file for adding 38 Images...............
after creating it when i open it and reads it through
IDictionaryEnumerator or by using DictionaryEntry structure i am not
getting images in order i have added in resource it means following

resx file is created with A B C D.... images
when i read resx file i am not getting in A B C D .... order it is in
any order but it has all images

please any one can tell me how do i come out with this problem

thanks in advance
---------------
Hitendra Patel

Nov 17 '05 #1
1 3252
Hiten,

Why not name the images in such a way that you can order them to your
liking? Then, you can order the list of images, and process them
accordingly.

The list isn't ordered the way you add it because it is a dictionary,
which doesn't maintain the order in which elements are added (the idea is
that they are accessed by key, not order, which is more like a list).

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Hiten" <hi********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi

i have created one .resx file for adding 38 Images...............
after creating it when i open it and reads it through
IDictionaryEnumerator or by using DictionaryEntry structure i am not
getting images in order i have added in resource it means following

resx file is created with A B C D.... images
when i read resx file i am not getting in A B C D .... order it is in
any order but it has all images

please any one can tell me how do i come out with this problem

thanks in advance
---------------
Hitendra Patel

Nov 17 '05 #2

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

Similar topics

1
by: Buddy | last post by:
Hello, I need to know how can I generate a .resx file from code for different language culture. Basically the .resx file is in binary, is there anyway that I can generate a text file contains...
1
by: Dennis C. Drumm | last post by:
Is there a way to force VS to generate a new resx file? I notice that there are some invalid entries left in the file referencing controls that no longer exist. Thanks, Dennis
4
by: JezB | last post by:
I want to quickly get a count of the number of entries in a resource file (.resx). Using a ResXResourceReader and counting manually seems extremely slow. Is there a quicker way ?
0
by: Oleg Ogurok | last post by:
Hi all, I'm planning on storing my application settings in SQL. What would be the best format? I'm thinking of using resource file (.resx) format. It seems ResXResourceReader and...
3
by: al | last post by:
Hi, I use a resource file (.resx) to store user's settings such as language and other strings. The problem i'm facing is that when the user changes one of the strings in the resource file, ...
0
by: Darrel | last post by:
I'm trying to get my web app to run on my remote server. It runs fine on my machine, but on the server, I get redirected to my login page (as I should due to my forms authentication settings) but...
6
by: ad | last post by:
I wnat to load a file in an .resx file and transfer the file to a stream. How can I do?
0
by: Darrel | last post by:
Anyone know what would cause this error. It's not a typical error, it's text that is shown instead of what my usercontrol is supposed to render. ---------------------------- text/microsoft-resx...
8
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.