Mar
28th

Playing FLV files in Windows Media Player 11

Posted by

FLV fileLately, i’ve downloading lots of FLV files off of multiple websites. I have both K-lite and VLC installed on my laptop, witch pretty much does the trick.

Today, i wanted to play an FLV file in Windows Media Player 11, but as you might have noticed, WMP does not support FLV playback. So here’s what i did:

To play FLV files, we need to have a splitter because of the way it encodes two streams. I chose the FLV Splitter from the Guliverkli2 project.

1- Download the Splitter, you’ll have to register the file manually.
2-Place the “FLVSplitter.ax” file in your preferred directory, i chose c:\windows
3-Launch the Run service, and run the following line:

regsvr32 C:\WINDOWS\FLVSplitter.ax

Congratulation, Windows Media Player 11 now supports FLV playback on your PC

P.S: The Guliverkli2 project provides support for many other file types then FLV, includin: ogg, mov, rm…..Make sure to check it out

Mar
12th

Automatically add/delete input field text with Javascript

Posted by

Javascript While working on The Linker, it was suggested to me by the good people of FreeWebSpace.net to add some javascript that would automatically delete the text inside the input box. So here’s how i did it:

At first i had a simple input field wictch says “Write Your Preferred Shortcut Name”:

<input name="name" value="Write Your Preferred Shortcut Name" style="width: 390px" type="text"/>

That’s the html part, on to the javascript,For the Javascript i used the two built-in events: onfocus and onblur.The onfocus event occurs when an object gets focus, in the input field case, it means that when the field is selected.The onblur event occurs when an object loses focus, in the input field case, it means that when the field is unselected.

So what do we want to do these two events?

What i would like the script to do is automatically delete “Write Your Preferred Shortcut Name”, and when the input field is unselected while still empty the text should return. To do that, i included to if statments in the both events:
onfocus: if (this.value == ‘Write Your Preferred Shortcut Name’) {this.value = ”;} onblur: if (this.value == ”) {this.value = ‘Write Your Preferred Shortcut Name’;}

There end result would be something like this:

 <input name="name" value="Write Your Preferred Shortcut Name" style="width: 390px" type="text" onfocus="if (this.value == 'Write Your Preferred Shortcut Name') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Write Your Preferred Shortcut Name';}">

That’s it, you can use this as a sample and work your way from it.

Mar
7th

All About $NTUninstall folders

Posted by

What are the $NTUninstall folders?

$NTUninstall is a folder that appears everytime you download on of Windows XP updates. For example, if you download KB924667, a $NtUninstallKB917953$ will appear in your WINDOWS directory.

These folders contains the information on how to remove the update, the same information used by “Add/Remove program” utility.

How to safely delete the $NTUninstall folders?

As i said before, these folders containing the uninstall information of windows updates, to delete them means that you can no longer roll back those updates. Nevertheles, these folders tend to take up space. So if you’re running out of disk space, you might consider deleting that data.

To find out the nature of the update in question, simply check Microsoft website, by copy/paste the id into the following link

http://support.microsoft.com/?kbid=(paste id here)

Ex: $NtUninstallKB917953$ > http://support.microsoft.com/?kbid=917953

Now that you know what the update does, you can make your decision on whether you might uninstall it in the future or not. I recommend waiting a couple weeks after installation before making your decision. After that period, if you feel that your system is stable, odds are that you wont need to unistall the update anymore, you are good to go.

I recommend making a backup of everything before deleting.

Now, that you delete the folder, you might want to remove the entry from Add/Remove Programs.

To do that, launch the application and then attempt to uninstall the update.Add or Remove Programs will realize that the backup files already been delete and will automaticly remove the listing.