Questions tagged [resourcemanager]

The resourcemanager is ambiguous. The main two subjects identified are the .net ResourceManager (related to resx), and the hadoop Resource Manager.

267 questions
0
votes
1 answer

How can i create a list of my resources so i can refer to an element using index? - VB.NET

Here's what i have : a simple windows forms application with a PictureBox and a TrackBar. So here's what i want : i want to be able to put any jpeg or png in the resources and refer to them by the TrackBar1.Value without having to specify their…
0
votes
1 answer

Can not work internationalization in spring mvc with thymeleaf

I have started a project with Spring MVC with thymeleaf. I want to that it is internationalize. I had copied official spring tutorial. But When I click tr button , words aren't changed. I am pasting my codes. I assumed that getLabel function of…
0
votes
1 answer

Load Image from Resources/ResourceManager

I have a picturebox that I want to load an image into at runtime depending on what a user types in a textbox. I have created a file named Formations.resx within my project and loaded my images into it. I am have tried both of the following but had…
blawford
  • 435
  • 5
  • 18
0
votes
1 answer

Hadoop Fail to Connect to ResourceManager

I am just testing out hadoop by running a wordcount example, but this error came up: 14/07/30 12:03:02 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 14/07/30…
user2590144
  • 281
  • 2
  • 7
  • 16
0
votes
1 answer

Need help to use resource manager to load an image from resource with same name as text in textBox

I need to load an image from resources with same name as text in a textBox. I have 2 problems with my actual code: -The name 'Assembly' doesn't exist in the context -I don't know how to use my string (index1) to add image from resources to a…
KoKoL
  • 53
  • 3
  • 9
0
votes
0 answers

How to create an instance of ResourceManager object to get WinNT object?

I am using ResourceManager in Sytem.Resources class of C#.ResourceManager has a protected constructor, so we cant create the instance directly. I want to use the GetObject function to get the object of WinNT. I want to do the following : …
cmm user
  • 2,426
  • 7
  • 34
  • 48
0
votes
1 answer

How to use .resx resource files in C#.net?

I would like to use resource files to internationalize my .net application. I'm trying a little test on a field of my Login page : Mot de passe : I created the resource file with visual…
user1948708
  • 43
  • 1
  • 2
  • 10
0
votes
0 answers

GetObject() method returns method prematurely

I'm writing a Windows Form card game and am having trouble assigning an image to my cards. When I debug my code below, the method seems to return unexpectedly as soon as it reaches the GetObject method. Am I using this method improperly? If so, can…
0
votes
3 answers

Error trying Hadoop Mapreduce example in hadoop 2.2.0

I have the following. Namenode and Datanode seem to work just fine. But Resourcemanager and Nodemanager seem to have some kind weird config problem i can't find. On first glance everything looks fine because every webgui is responding. But if I…
Daniel
  • 609
  • 2
  • 7
  • 17
0
votes
0 answers

.Net 2.0 get name of resource string from ResourceManager

What problem am I trying to solve? Pseudo-code using C# I have a list of error messages as resource string. The message may take parameters. Key Value ErrConnectionCount "Connections exceeded by {0}. Contact your network…
Ricker
  • 1
0
votes
1 answer

Write/Read resources with System.Resources.ResourceManager

I want to be able to write and read resources with the ResourceManager class in Visual Basic .NET (2010) instead of using the Win32 API (UpdateResources) I tried to first read resources like this: Dim ResMan As New…
Jeff Reed
  • 231
  • 1
  • 6
  • 23
0
votes
1 answer

TYPO3 file upload resource manager

I made file upload according to http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/ResourceManagement.html I have this error: Invalid type encountered: '\TYPO3\Flow\Resource\Resource' Code Controler: class…
tttpapi
  • 887
  • 2
  • 9
  • 32
0
votes
1 answer

Loading ResourceManager from separate assembly produces FileNotFound?

I have an assembly I'm trying to load with reflection and read a Resource string from. So, I use something like this: config.Extras="C:\dev\foo.dll"; string dir = Directory.GetCurrentDirectory(); string tmp =…
Earlz
  • 62,085
  • 98
  • 303
  • 499
0
votes
1 answer

Cannot use non-localized resource in C# application

As mentioned in a previous question, I have a set of string resources that do not change during the lifetime of the program, but can only be obtained through an expensive operation over a list of strings: public static class Patterns { …
Arithmomaniac
  • 4,604
  • 3
  • 38
  • 58
0
votes
1 answer

I'm getting an odd MissingManifestResourceException

I have a solution with several projects, a main project, a globalization project and a test project. When code in the main project retreives a message from the Messages.de.resx file of the globalization project everything works fine. But when I copy…
Ishiirou
  • 21
  • 1
  • 4
1 2 3
17
18