unlock

How to unlock COM port

Hello, I've a application that must work after another application. This second application has a bug that causes COM ports not to be closed in specific circumstances. I would like to close all COM ports programmatically in my application to ensure, that there will be no bugs about close ports reported. Is it possible if I do not own o...

"Unlocker" equivalent for Vista64?

Cedrick Collomb's Unlocker is one of the most useful utilities I've ever come across - when I come across an issue in compiling that some file is locked I can just right click on the file, click "Unlocker", and it will tell me what has the file (similar to Who Lock Me?) and I can remove the handles, kill the process, whatever. It's reall...

How to force delete a file?

How can i force Windows XP to delete file that is currently being used by some application? ...

How to undo changes in tfs coming from unmanaged workspace?

I have a workspace that is lost forever. I have some files checked out from this workspace. I want to unlock them but I can't. I tried to do: TF UNDO $/MyProject/MyFolder/MyFile.cs /WORKSPACE:LOST;user /s:http://mysite:8080 But I got this message: The workspace LOST;user is not on this computer. Run get (get all if edits were...

Run a script at unlock?

Hey, I'd like to get a shell script to run everytime I unlock my computer, on KDE 4. I learned that I could run one by overwriting /usr/lib/kde4/libexec/krunner_lock with a shell script doing its thing, then the original krunner_lock binary, and I'd basically want to do the opposite: launch a script that "undoes" what the locking script ...

is there a notification when "slide to unlock" has occurred

I have an iphone game that plays background music using AVSoundPlayer - when someone locks the iphone the music stops which is fine. But when someone unlocks it, I don't want my music to start playing again while you're staring at the "slide to unlock" screen - I want it to start playing once you've actually slid the button and the app ...

how to unlock or log in windows by app itself

As we all know,we can use such api as "LockWorkStation()" in "user32.dll" to lock windows. But how to unlock it? For example, if i run an app at first, I want the app to unlock windows by itself after 30 second. How to do it? In another word, if auto-logging in, windows will read the username and password from regedit and then use an a...

Locking and Updating a File Accordingly

Note: I have read other posts on how to lock and unlock a file. I didn't find anything special that I wasn't aware of. So I am gonna put my scenario here so that someone can give some suggestions out. In my experience, FileChannel.lock doesn't guarantee the situation of locking and unlocking of a File when different Objects from multipl...

iPhone Unlock Slider With Mootools?

I try to make a slider similar to the iPhone unlock Slider, that forwards to a linked site, when complete, and returns to its initial position when the slider wasn't dragged to the end. This is not meant to be a iPhone webapp, i just want to put this to a general website as a effect. So far I've tried those two tests, but i'm stuck on ...

run command/script when lock/unlock windows station?

Hi, I have Windows 7 pro at work. my problem is i keep on forgetting to clock in/clock out (using the intranet timesheet system). is there a way to run a script or command to automatically open the timesheet page each time i lock/unlock my station? tyvm. ...

How do I write a Hero like unlocking app for the Milestone (Droid)?

I just got my Milestone (aka Droid in the US) and want to write a simple app to ulock the screen touching one of the soft buttons, ala Hero. I looked into the Android API and could not find a helpful one, could someone enlighten me? ...

How to run .net code when a user unlocks a Windows machine?

How do I run .net code when a user unlocks their machine? Windows versions: XP and 7 ...

Android - detect phone unlock event, not screen on

Is there a way to detect when a user unlocks the phone? I know about ACTION_SCREEN_ON and ACTION_SCREEN_OFF, but these seem to be fired when the screen switches on/off on pressing the power button, but not actually when the phone gets unlocked on pressing the Menu button... Edit: I am trying to detect the unlock/lock while an activity i...

Android -- What happens when device is unlocked?

I am trying to understand the intents that get launched when the device is unlocked. For eg: Say my activity is running, and I press the power button (screen off, to lock the phone). INTENT.ACTION_SCREEN_OFF is launched. The activity is paused and the screen goes blank. Now, when I press the power button again (INTENT.SCREEN_ON gets ...

Generating Device-Specific Serial Number

I would like to be able to generate unique serial numbers for each Android device for use in unlocking an application. How could I do this? EDIT: The reason is I want to revamp a paid application and provide users who have paid for the old version, which will have a different package name, a way to obtain the full version by downloadin...