Results 1 to 9 of 9

Thread: Unlock locked files (similar to Unlocker and WhoLockMe)

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Unlock locked files (similar to Unlocker and WhoLockMe)

    This code allows you to close the process(es) that keep a file locked, by simply specifying the locked file.
    This is similar to what Unlocker, ForceDel, WhoLockMe and UnlockIt do. I'm not taking credit for this code,
    because I downloaded it myself from a Chinese website here and only removed the unnecessary code and
    created the sample project. All credits go to the original author.

    Have fun with it.

    Attached Files Attached Files
    Last edited by Chris001; Dec 24th, 2007 at 02:27 PM.

  2. #2
    Lively Member
    Join Date
    Jun 2005
    Posts
    94

    Re: Unlock locked files (similar to Unlocker and WhoLockMe)

    This is a help for me to understand how this stuff actually works. Thanks so much for simplifying code.

    Regards,

    Ruturaaj.

  3. #3
    Lively Member
    Join Date
    Dec 2008
    Posts
    108

    Re: Unlock locked files (similar to Unlocker and WhoLockMe)

    I want to do the reverse of this function. Is there any way I could lock a certain application?

  4. #4
    Lively Member GhostRider888's Avatar
    Join Date
    Apr 2007
    Posts
    113

    Re: Unlock locked files (similar to Unlocker and WhoLockMe)

    Quote Originally Posted by Encoder View Post
    I want to do the reverse of this function. Is there any way I could lock a certain application?
    yes... one line...

    Code:
    Open File For Binary As #1

  5. #5
    Member
    Join Date
    Sep 2008
    Location
    Turkey
    Posts
    37

    Re: Unlock locked files (similar to Unlocker and WhoLockMe)

    ThanKs...

  6. #6
    Lively Member SNIPER.PS's Avatar
    Join Date
    Dec 2009
    Posts
    96

    Re: Unlock locked files (similar to Unlocker and WhoLockMe)

    Thanks

  7. #7
    New Member
    Join Date
    Apr 2012
    Posts
    8

    Re: Unlock locked files (similar to Unlocker and WhoLockMe)

    I want to do the reverse of this function.i want to get current file name in current wmplayer.exe proccess

  8. #8
    Lively Member
    Join Date
    Jun 2005
    Posts
    94

    Re: Unlock locked files (similar to Unlocker and WhoLockMe)

    Quote Originally Posted by amna_shahzad View Post
    I want to do the reverse of this function.i want to get current file name in current wmplayer.exe proccess
    I think what you're looking for is "Now Playing" feature. I think the only way for you to get the current playing song is by tracing the Window Handles using FindWindow and then get the text. Try using some sort of Window Spy tool to see if you can locate some specific component of Media Player GUI and then try getting the window text using hWnd of that component.

    Alternative is to find if there is any API that returns current playing song details. I did search quickly, but didn't find any appropriate results. Perhaps a better try with proper search phrase may yield something useful.

  9. #9
    New Member
    Join Date
    Oct 2013
    Posts
    1

    Re: Unlock locked files (similar to Unlocker and WhoLockMe)

    Do you have an ASP.NET version for these files?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width