Hello everyone. I am using wxPython and Py2exe to create my application and my only problem is loading for example bitmaps.
Ok so lets say I want to add an image to my application, and thats fairly easy using wxPython, and lets say it is on the same directory of my .py so for example:
image = wx.StaticBitmap(self, -1, wx.Bitmap('image....
Hi,
I've been meaning to start a library of reusable code snippets for a while and never seem to get round to it. At the moment I just tend to have some transient classes/files that I drag out of old projects.
I think my main problems are:
Where to start. What structure should
my repository take? Should it be a
compiled library (wher...
Hi,
i have a strange (?) error in my android application. I have defined some arrays in values/arrays.xml the following way:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="perimeter">
<item>10 miles</item>
<item>20 miles</item>
<item>30 miles</item>
</array>
<array name="regvalues">...
I am currently working directly with Cocoa for the first time to built a screen saver. Now I came across a problem when trying to load resources from within the .saver bundle. I basically have a small C++ wrapper class to load .exr files using freeImage. This works as long as I use absoulte paths, but that's not very useful, is it? So, b...
Hi!
I have a ListView and an adapter that sets alternating background colors to the list items overwriting getView Method in my adapter.
I want to go further and I would to set to each row a Resource background. I try in getView call the method setBackgroundResource:
private int[] messages = new int[] {R.layout.message,R.layout.messag...
Hi everybody,
I'm decommissioning a meeting room scheduling [web] tool in favor of the same Outlook's functionality.
I'd like, however, to publish (read-only) a "Group Schedule" view in a web page.
To make the idea more clear:
On Outlook's Calendar view, select Actions / View Group Schedules and then create a new group for say, Confere...
Can resources be extracted from a compiled iPhone app that is released to the iTunes store? I'm particularly interested in the security of XML files... if I have copyrighted data in an XML document in my resource directory, how likely is it for someone to extract that information and paste it around the internet?
If it's as easy as usi...
I've followed Tim Heuer's video for dynamically loading other XAP's (into a 'master' Silverlight application), as well as some other links to tweak the loading of resources and am stuck on the particular issue of loading style resources from within the dynamically loaded XAP (i.e. the contents of Assets\Styles.xaml). When I run the maste...
Hi folks,
What's the proper way of disposing resources when a method in the controller returns filestream or file or filecontentresult objects ?
For ex when doing something like below:
using CrystalDecisions.CrystalReports.Engine;
public ActionResult Report()
{
ReportClass rptH = new ReportClass();
rptH.FileName = Server....
Hi, I'm working on an update for an already existing iphone app. The existing version contains a .sql database file which is used in the app.
I would like to use a new version of this file in the update of the app. On the first startup of the existing app the .sql file is placed in the caches directory of the users iphone. From what I c...
I'm having trouble when one of the jars that my web app depends on tries to load a properties file from within the jar. Here is the code in the jar.
static
{
Properties props = new Properties();
try
{
props.load(ClassLoader.getSystemResourceAsStream("someProps.properties"));
} catch (IOException e)
{
...
Hi all,
I have a custom spring validator which has the following default message:
public @interface FieldMatch {
String message() default "au.com.xxx.website.FieldMatchValidation";
...
The problem I'm having is that the message code is not being resolved and <form:error...> is simply displaying the code rather than the message (W...
My application will have some customisation for each company that uses it. Up until now, I have been loading images and strings from resource files. The idea is that the default resources will be distributed with the application and company specific resources will be loaded from our server after they click on a link from an email to laun...
I'm using the inherited resources plugin in a 2.3.5 Rails application and was wondering how to change the flash[:notice] (or any other flash) based on the success OR failure in my create and update actions.
So given the below, how do I add flash[:notice] = "All good" if success ... and flash[:notice] = "All bad" if failure?
Thanks
cla...
Hi,
I have a set of buttons inside a stack panel. I want them all to have a background image. How can i do it using styles? since i don't want to set manually the Background image for each button.
Here is a code snippet:
<StackPanel Orientation="Horizontal" Height="100px" VerticalAlignment="Top">
<StackPanel.Resources>
...
I have a problem with the CICS connection in my J2EE application. I am trying to install the cicseci.rar for the ECI Resource Adapter through the Admin console in WAS 6.1.
The question is why am I receiving the following error while trying to install the cicseci.rar:
Errors occurred during installation of
the RAR file. Refer to t...
Hi all,
I would like to get a byte array from an jpeg image located in my res/drawable file ?
Does anyone know how to do that please ?
...
I have an existing application that I'm supposed to take and create a "mini" version of. Both are localized apps and we would like to reuse the resources in the main application as is. So, here's the basic structure of my apps:
MainApplication.csproj
/Properties/Resources.resx
/MainUserControl.xaml (uses strings in Properties/Resour...
Hi,
I have 1 minute wav file recordings. To check whether there is no voice present in the file, I am using Goldwave to trim the silence which lefts the file size very small in few Kbs. This tells me that there is no sound in most part of the file.
But I am not able to do this via Command prompt using the Command line utility,
Does Go...
I haven't found a comprehensive list of the steps that are required to use a private API from the iPhone Library.
In particular, I would like to know how to get header files, if they are even required, how to get it to compile (when I simply add the header, it complains that the functions aren't defined), and what resources one can use ...