I need sites that provide a lot of sample questions about collections and generics and swing and etc. I have checked a lot but I couldn't find those sites.
Can you help me?
...
Hey guys,
I need to read "A Practical Introduction to Data Structures and Algorithm Analysis" by Shaffer for class but the code examples in the book are all in C++ which I do not know. I know C and Java already and was wondering if you knew any resources that helped learn enough C++ to understand these examples fast if you already know ...
Hi. I do not know how to use a defined Application Style Resource in code.
I have defined:
<Application.Resources> <Style x:Key="OrangeButton" TargetType="{x:Type Button}">
I am using this resource in the XAML section of my application like:
<Button Name="Button_Start" style="{StaticResource OrangeButton}" Margin="0">
and it is wor...
I want to suppress the "The resource name 'X.Y' is not a valid identifier" warnings in Visual Studio 2008.
I cannot find the warning number to supress it in the project's properties. Is there another way of achieving this, or better still, does anyone know the warning number?
Thanks :)
...
Hi,
I have 1 client where a call to Application.GetResourceStream returns a StreamResourceInfo object where the ContentType property is empty.
All other clients return a StreamResourceInfo object with ContentType = "image/png".
Does anyone have any idea, why this 1 client does not populate the ContentType property?
The Stream property...
I have a Python project in which I am using many non-code files. Currently these are all images, but I might use other kinds of files in the future. What would be a good scheme for storing and referencing these files?
I considered just making a folder "resources" in the main directory, but there is a problem; Some images are used from w...
Different resource files meaning i have different resource files having with no culture,they are not english,french,german files.
I get an exception when i try to do:
Dim res As System.Resources.ResourceManager = New System.Resources.ResourceManager("Resources.myres", System.Reflection.Assembly.GetExecutingAssembly(), Nothing)
res.get...
I'm working on a Silverlight templated control (i.e. it derives from Control and has its look implemented as a ControlTemplate in generic.xaml) and came across the need for a ValueConverter in one of my bindings. Normally I'd just create an instance of the ValueConverter in the Resources of the control working with but I can't figure ou...
Is it possible to include an event handler reference in a data template that is not associated with the code-behind where the event handler is defined? I'm getting a PARSER-BAD-PROPERTY-VALUE when trying to pull this off.
For example, let's say I have this very simple XAML.
page.xaml
<DataTemplate x:Key="ItemsTemplate">
<Hyperli...
I have a manifest embedded as a Windows resource. But what's the right way to apply it?
More specifically:
I have my .manifest file. It's the standard one to make an app use controls in the Windows XP/Vista visual style. When applied by being in the same directory as the .exe and suitably named, it works.
However, this approach is ...
I have a listbox with a datatemplate that contains a number of comboboxes.
I've currently got a datatrigger on the datatemplate to change the bindingsource (to a different objectdataprovider resource declared in my xaml) of one of the comboboxes depending upon the selectedvalue of another combo.
What I'd like to do is have a parameter...
Is there any command line tool for Linux (FreeBSD, etc) which can modify like Resource Hacker versioninfo in exe file?
There are some utils for that purpose under Windows, but I'm doing cross-building of Windows Tcl Starpacks on FreeBSD.
Of cource it is possible to recompile TclKit with my versioninfo and icons but I don't want to do i...
I need to do some coding on iPhone and I am new to this field. A good forum or tutorial will be of great help. So I am here for some best iPhone resources, can some one help?
Thanks in advance ~
(If you have any experiences of developing on iPhone and you'd like to share with us, please do not hesitate:)
...
I've run into a problem that's driving me crazy, hopefully someone will be able to shed some light on it. As part of my build process I have a separate .exe that updates the VersionInfo for the file. I literally use this on more than 20+ programs, but for some reason on one of them it is removing all the existing resource information f...
I'm writing a Linux application which observes other applications and tracks consumption of resources . I'm planning work with Java, but programming language isn't important for me. The Goal is important, so I can switch to another technology or use modules. My application runs any selected third party application as child process. Mostl...
I'm trying to understand how to ensure that a specific action completes in a certain amount of time. Seems like a simple job for java's new util.concurrent library. However, this task claims a connection to the database and I want to be sure that it properly releases that connection upon timeout.
so to call the service:
int resultCou...
There is a 2d-game based on Direct3D. This game has a lot of graphics and animations. What is the best way to extract animation image sequences from the running game (e.g. using memory dump)? Is there any special tools for such purposes?
...
Hi there,
I have several resources in my iPhone app and when they get compiled they all get added to the root of the resources folder in the app regardless of the Xcode grouping structure. This is fine for most things, however there is a set of files that I need to have structured in folder in the app's resources folder.
At the moment,...
I have resources in separate assemblies to be used by multiple WPF apps and this is working fine. Now I am creating a Silverlight 3 app and am trying to use the same assembly to get the same resources. I get an error at the time of adding a reference, saying only Silverlight assemblies can be referenced.
What's the best way for me to do...
I have a Windows.Forms application and I change the resources at runtime with this code:
Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture = new CultureInfo("it-IT");
What happens is that new forms appear correctly with the new culture, while Properties.Resources.* strings always appear with the neutral cultur...