I want to write a program, which will launch a child process. The child process may be windows mode or console mode program.
I want to monitor the child process status and resource usage. e.g. I want to know the child process is still running or terminated. If it terminated, I want to know the reason (is terminated normally or because o...
In short, I want to find windows equivalent way of unix setrusage() function.
Can I limit resource usage for particular process? For example, 10 seconds cpu time and 50mb memory size. If the process run more than 10 seconds or consumes more than 50mb memory, the process will be terminated by windows.
...
I've been using resx files for static strings in order to have a central place for changing them. The problem is that I can't change them after the project is built and deployed.
There are some strings that I would like to change after deployment, without restarting the process (so .config files are out).
It's possible to write code th...
How come I can load a local xml file from the main bundle, but I can't load images?
NSString *path = [[NSBundle mainBundle] resourcePath];
This gets loaded (i know because I can trace it)
/Users/me/Library/Application Support/iPhone Simulator/User/Applications/5B888456-40FF-4C72-A2ED-5D5CFA287777/MyApp.app/test.xml
This image never lo...
I have a bunch of flows and data processing applications that I occasionally need to spy on, meaning I need to know what files they read. This is mostly to aid in packaging testcases, but can also be useful when debugging.
Is there a way to run the executables in such a way that produces such a list?
I have two thoughts on this:
Ther...
Are there any good resources that anyone can provide with regard to jQuery? Also, I would like to know if in-depth Javascript knowledge is required to develop with jQuery. I have heard it said the developers do not need to have any JavaScript knowledge to use it but I have not had that experience and was wondering if I was missing someth...
Even though the title says it all, I would like to be able to enumerate the paths to the resources Qt has, for example :
:/new/prefix/blabla.jpg
...
I'm working on a SaaS project and mysql is our main database. Our applications is written on c# .net and runs under an windows 2003 server.
Considering maintainance, cost, options and performance, which server plattaform can I decide for MySQL hosting, windows or Unix/Linux/Ubuntu/Debian?
The scenario is as following:
The server I ru...
whenever i set a Resource limits for particular user/database/host does it spread through the hour? it'll delay queries or does it won't allow you to query would throw some sort of an error or something?
...
Hi folks,
I want to populate dropdownlist with values stored in a resource file. What's the best approach for this?
I can create a SelectList and push it in Model in which case dropdown would be populated automatically.
But can I access resource file from a View ? If yes, should I?
...
I want to set an application wide Value i.e. TextHeight (others as well) and I can't seem to find a reference. IOW, set the Text Height to a StaticResource in various styles, etc.
TIA
...
I'm looking for recommendations for good resources are there out there to learn WMI. Interested in all types; books, online, webcasts, etc.
...
Hi all,
I'm building a C# app that will likely contain a couple resource files to store strings for use in language translation. I'm trying to come up with a naming convention for the Keys in my resouce files, but thought I'd see if anyone has tackled this before me?
Thanks!
...
What materials do you recommend for an experienced ASP.NET to learn ASP.NET MVC?
...
Where can I get lecture of database managment system?
I need both the introduction and implementation video lectures.
Thanks.
...
I have a program that process several files, and for each file a report is generated. The report generating part is a separate function that takes a filename, then returns. During report generation, intermediate parts are cached in memory, as they may be used for several parts of the report, to avoid recalculating.
When I run this progr...
I've inherited a C# .net WPF application from a now ex-employee and am having some difficulties running the application. It all builds fine without a single error or warning, but before the GUI appears I get an error:
An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll
Additional information: Corrupt...
I've been doing localization for my WPF application by storing strings in .resx files. My default (english) string resource is strings.resx. For other languages are called strings.fr-FR.resx for French, strings.es-ES.resx for Spanish and so on.
This method of localization has been great as my app will automatically load up the right str...
Hi
I have a part of code like this
Assembly myAssembly = Assembly.GetExecutingAssembly();
string[] names = myAssembly.GetManifestResourceNames();
foreach (string file in names)
{
if (file.EndsWith(".dtd"))
{
// attach to stream to the resource in the manifest
...
There seems to be a lot of good references for learning how to write a compiler. But I haven't been able to find much in the way of how to write a debugger. Is each debugger completely unique, or are there common techniques used to implement them? I'm particularly interested in debugging interpreted languages, but at this point anything ...