I'm working on a C# XNA project that requires me to display information based on the platform the game is on.
Is there a way to detect the platform (XBox, Windows, Zune) during run-time?
When running a custom environment with grails via grails -Dgrails.env=custom run-app it appears that the auto reload / hot deploy is turned off, does anyone know how to arbitrarily enable this for any given environment, not just dev, which appears to be the only env where it is actually on by default?
Hi,
By default nunit tests run alphabetically. Does anyone know of any way to set the execution order? Does an attribute exist for this?
Any help would be greatly appreciated.
Thanks
Zaps
I'm using GlassFish v3. The following field is declared in a class:
@Resource
private javax.sql.DataSource _data_source;
The following is declare in web.xml:
<data-source
<namejava:app/env/data</name
<class-namecom.mysql.jdbc.Driver</class-name
<server-namelocalhost</server-name
<port-number3306</port-number
<usermyUser</user
<passwordmyPass</password
</data-source
At run-time _data_source is empty. What am I doing wrong?
Hi,
I am using the Apache commons logging library and log4j to generate my log files.
Now I want to create a new file every time I run my program. The current count should be appended to the log file's name.
For example:
program_1.log
program_2.log
program_3.log
Do you know how I could achieve this?
Is there a way to run a shell script using spot light on Mac OS X 10.6? I would like to be able to invoke a shell script with directly from Spotlight without opening up a terminal
It is weird that app shows two table views when I run the app. I have several values on my table view. I scroll down a bit then I see another table that have same values starting at the end of previous one. It is so weird that I took a look at my xib file , there is only one table view.. What am i missing?
I can't figure this out and I thought that someone might run through the same thing.
I have XCode 3.2.3 (Pre Release with OS 4 beta) and I started to create my application, after the final touches and everything worked ok, I changed the Simulator - 4.0 to Simulator - 3.1.3 (latest iPhone OS) and I could never start my app again :-(
Does anyone know what I should do?
I created a simple Screencast of the problem so everyone can see what I'm writing about.
Thank you for all the help.
Hi.
I want to run some commands every time a user of an ubuntu 9.10 machine logs out or shuts down. What is the best way to do this? Every user uses gnome if that helps.
I've implement my activeX control in Delphi. I've build a c# application to embed it. It runs fine on my computer. After that, I copy and paste all c# solution with the my ocx file to another computer, register by regsrv32.exe succeed, add to COM components on visual studio toolbox, compile and run again. It consistently complains '
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
What's problem I'm dealing with? What may I do wrong?
Hi,
I've been searching for ways to run a GTK+ application on a browser.
WebKit and its associated GTK+ port seem to do the opposite - making applications more Web-friendly, but the opposite would also be nice.
There seems to have been some activity to realize that for XCode, with Cappuccino and Atlas, that can translate NIB files into CIB files.
If anyone can point me in the right direction, I'd really appreciate it!
Thanks!
mike
Using Visual Studio 2008 to create an msi to deploy my program with a setup project. I need to know how to make the msi run the exe it just installed. A custom action? If so please explain where/how. Thanks.
Possible Duplicate:
A puzzle - a program printing its own source
In your favorite programming language, write a program that, when run, will print out its own source code!
Sounds interesting, now let's go!
ps: Literally, there is "NO" use case for this, just plain curiosity!
Hello guys.
I have a problem.
How i can run my java-applet directly without embedded in my web page?
I know appletViewr can execute applet without a browser but I need to get java applet without html page.
Hi everyone,
I am writing an application for Windows Mobile 6.1, and I would like the application always run on landscape mode, regardless of the screen rotation. Does anyone have any idea?
Thanks :)
I love running as a standard user for its security pluses, my admin account is password protected.
The problem appears when I need to run a program that requires admin rights, is there a way to include the password somehow so I won't have to type it every time ? Without changing my current setup: admin password protected account and I log on to a limited standard user account.
I'm thinking of script or something like that ?
hi
i got this error:
CLR Error: 80004005
when i try to run my C# program on Windows XP.
when i try to install FrameWork 2.0 - i got this error:
there is a problem with this windows installer packege.
what can be the problem ?
thank's in advance
We have splitted our grails application into several inplace-plugins.
Now we want to have the tests in the same plugin like the classes which they test.
Is it possible to configure our application (e.g. in BuildConfig.groovy) so that the tests in the plugins are executed too when we run "test-app"?
I have a PHP script that I don't want anyone to be able to run through their browser.
It sends emails and is called via curl by my server's cron, yet needs to be in the public www directory. What permissions or owner do I need to set the file to to allow only my server's curl to execute (or do I mean read) the file?
I'm on centos.
Thanks!
Hi
I can open a .dot template from a hyperlink fine,
but it opens read-only and does not run the autonew macro.
Is there a setting or something obvious Im missing?
thanks
DD