Prevent a user from running multiple instances of Air application - air

How can i prevent a user from running multiple instances of Air application?
somebody help me.. plz.
thanks.

It is not possible for a user to run more than one instance of an AIR application so you are already done!

Related

How does one interact with the user from a vb.net service?

I've got one for you thats been bugging me for a bit.
If you run a Windows Service as Local System, how can that service display forms or prompts on the user desktop?
I tried this in one of my previous apps and couldn't get it to work; I settled on having an 'invisible' app running in the user context to handle any user interaction. But as time has passed, I've seen some apps that have nothing more than a service running as local system and yet they produce prompts and forms on the user desktop.
Thanks in advance for any info :)

Testing QTP s Application Crash Recovery scenario

I need to VALIDATE the UFT(QTP) tool to use it in our Medical Automation testing projects. My Manual Test Lead has given a requirement that UFT must be able to recover from an Application Crash.
For this I have to use a sample application which is provided by UFT.
As of now everything is fine, as I can enable and create an Application Crash Recovery Scenario using Recovery Scenario Manager in UFT.
The problem is I have to prove them practically that UFT will recover from the application crash, for this, first I have to CRASH the sample application and then test UFT if it is able to recover from that crash.
So I have been googling about how to crash that wpf sample application provided by HP.
Please help me crashing the app.
Thanks in adv.
Is it sufficient to use Windows' taskkill command?

Testing Windows phone 7 Application

Forgive me for what may seem as a stupid question but, after some rummaging around on the web, I can't seem to find how to test my Windows Phone Application. I'm not referring to the guidelines, I'm actually referring to sending it to Microsoft for them to check if it's "okay" or checking it on Visual Studio as I think there is a way of doing that in VS.
Any help is highly appreciated.
Thank you.
This should help. Keep in mind that before you send it to microsoft (or appHub) your app needs to be fairly perfect. Submissions aren't free :)
edit: this is assuming you were asking how to submit it for review. When you submit your app, the review process starts.
For app testing you need the sdk... With the sdk you have a perfect emulator for test your apps. For app deploy on your device, after you've bougth the annual subscription to be a developer, you have to associate your phone and install zune on your pc (read here).
After you tests you can submit your app through this process (read here).

iOS Provisioning Portal Link

I have basically finished developing my App and I wanted to test it on the iPhone, however I wanted to know if this was possible without paying the 99€ fee. I dont plan to release it on the App store in the end...
Thanks,
Anthony
It's not possible unless you jailbreak your device.
You could have another developer who has registered, build your app, and then send you a signed developer copy to add to your phone. You would have to share the code with this developer though. If it is a one time deal, you can send to me, and I can build it.
Otherwise, Ole is correct, it is not possible.

Cocoa app system restart

Do you know any way to forcing restart an Mac OS computer from code? I tried an small applescript code without result. Applications ask for shutdown to the user so the user could stop the restarting procedure.
Regards
The official way is to send a system event to the login window process. Apple's Technical QA1134 even includes a code example.
It's an usual thing to want to force. If the user is willing to type in their password and are an administrator of the computer; perhaps you can run
sudo reboot
from your application.
Try using AppleScript/ScriptingBridge from your app to tell application "Finder" to restart.