I've been following Apple's documentation on writing unit tests for the iPhone, and out of the box, the routine doesn't seem to work. I'm not sure I understand where the unit test is going to get the reference to the application delegate.
My Dependencies are like the following:
My_Program_target -> UnitTesting_target -> UnitTests_bundl...
I am trying to view a .resx file in the resource editor in Visual Studio, but Visual Studio is unable to open it with this program. I right clicked on the .resx file and then chose Open With. It gave me a list of different programs I could choose to open my .resx file with, including XML Editor, HTML Editor, Binary Editor and Resource Ed...
I am starting a project that will include live video broadcasts from all over the world and it is expected to have at least 1000 users viewing those videos in real time.
After looking around a bit i have decided to use RED5 to handle all the video streaming/recording, based on the fact that it is free and open source, but i am still ope...
I come from an IT/business background, but I'm not a programmer. Recently, I've been aproached to head up projects that require software development.
On the same token, this has led me to spend more time developing business ideas that revolve around a developed software or web development.
Because I'm not a programmer, but am technica...
Hi,
I'm using some imgages in JFrame, I have given a path to load image into panel of the frame, but when i made jar of the application its not dispalying images.
Where should I place the image?
How should I specify the path?
setIconImage(Toolkit.getDefaultToolkit().getImage(
"D:\RFT\src\dailogBox\dump.jpg"));
like this i have do...
I create my solution by using Asp.net MVC pattern which has at least 4 projects.
App.Models
App.Globalization
App.Controllers
References : App.Model and App.Globalization
App.Views
References : App.Model, App.Globalization and App.Controller
I need to create .net resources file for using by both App.Controller project and App.Vie...
In my C# application I need to create a resx file of strings customized for every customer.
What I want to do is avoid to recompile the entire project every time I have to provide my application to my customer, so I need to dynamic access to this string.
So, how can I access (during the app execution) to a resx file if I kwow the file na...
Since there is no finally clause to the try-catch block in MATLAB, I find myself writing lots of code like the following:
fid = fopen(filename);
if fid==-1
error('Couldn''t open file');
end
try
line = getl(fid);
catch ME
fclose(fid);
rethrow ME;
end
fclose(fid);
I find having the fclose function in two places ugly and err...
Suppose I want to show list of objects where each object should have a name and a suitable image (for example MenuItems with Icons, or buttons with text and image).
All examples and programs exposed the image in the viewmodel as a path to a PNG file and then bound the Source of an Image to that. But what if I want to use vector images (...
How do you get the .resx file the page is currently using? For example, if I set culture to fr-FR on Default.aspx, it should give me Default.aspx.fr.resx or Default.aspx.fr-FR.resx or Default.aspx.resx depends on which one exists.
Do they have something like that in ASP.NET or I have to write it myself?
...
I'd like to learn regex better so that it becomes a more natural option for me. Often problems that could be solved easily by regex I don't even consider using it.
Can someone direct me to a resource that gives challenging regex problems like the one in the python challenge that goes something like this but in more of a riddle like fash...
I have a super pom defined in which I specify a "resources" directory for resources. In one of my projects, my pom extends that super pom, and I would like to add an additional resource. I tried:
<resources>
<resource>
<targetPath>/</targetPath>
<directory>additionalDir</directory>
</resource>
</resources>
But that res...
Hi, I have a class in my asp.net proj, I would like to get access GetGlobalResourceObject (that page exposes), from anywhere in the site, possible?
In other words I wanna access the global resources from a class that is not a page I don't care how.
...
I have a compiled .NET assembly with a specific resource file embedded (named 'Script.xml'). I need to programmically change it out for another.
Is this possible to do without recompiling from source?
Currently, I do a search for text I know is in the file and it works well. But I need to do it for another project where I don't know an...
I've developed a series of classes that are called from an asp.net website to create HTML from templates. A pair of the main methods create a pre-styled HTML box. Like so:
<%=ContentBox.DrawTop( title, textColour, backgroundColour )%>
<p>This is the content inside the box</p>
<%=ContentBox.DrawBottom()%>
This code works fine. Howeve...
I am interested in learning more about data warehousing. I see terms like "dimension", "snowflake schema" and "star schema" thrown about. Where would one start in learning about this stuff? Are there good books or Internet resources?
ETL is in this space too right?
...
Hi every one!
I am developing an ASP.NET project with C#, and I wrote a page named gs.aspx which just writes resources like JS and CSS to the response according to the request and i's query strings. I have the header like this:
<head runat="server">
<title></title>
<asp:Literal runat="server" ID="litHead" EnableViewState="false...
Hi All,
How do you ensure that your javascript includes get included properly for all files everywhere using a particular layout? Basically I have some non-restful actions that I've added. I haven't added any ROUTES for them, however, using normal text rendering works fine. It's when I start requiring different "swf" and "js" files (...
I need to have a custom UI element that can be changed, such as the colour and text used in the application but as a resource - in WPF I can use a DynamicResource to assign brushes, strings etc, however I need to implement this in Silverlight 3 - how can I do this as a StaticResource will not do, and as another question I have a resource...
Hey guys I'm relatively new to Xcode and one thing that has bothered me is that when I add a resource it gets added to the top level directory of my project directory. So for example, at the moment, all of my images are at the top level directory and it makes things look messy. I rather would've liked, for example, to have an images/ fol...