Friday, August 22, 2008

Tips n Tricks To Keep Ur PC UpToDate

DMA Mode on IDE Devices

Changing the CD – ROM setting to DMA will reduce the number of CPU cycles the CD – ROM consumes. Go to Device Manager > IDE ATA / ATAPI Controllers > Primary IDE Channel. Set the Device I setting to “DMA if available”. Repeat for Secondary Channel if you have device attached.

Turn Off System Restore

XP keeps a backup of system files in the System Volume Information folder. This eats up valuable space on your hard, drive. If you don’t want Windows to back them up; Go to Control Panel > System > System Restore. Check “ Turn of System Restore”. Delete the System Volume Information Folder.

Control Your Mouse Using Your Keyboard

You can control your mouse pointer using the numeric keypad. Press Alt + left Shift + Num Lock. Click the Setting button in the Dialog Box the appears. Check “Use MouseKeys”. Click Settings again and change them as desired. With Mousekeys on, pressing 5 simulates a left click.

Windows Explorer shortcuts

Alt+ Enter View and objects properties.

Shift + Delete Deletes and object immediately (Bypasses the Recycle Bin)

F6 Switches between left and right panes on a window.

Ctrl + Esc Displays the Start Menu

Windows Key Shortcuts

Ctrl + WIN + F Display Find: Computer

WIN + Break Display the System Properties dialog box

WIN + Tab Cycle through buttons on the taskbar

WIN + F Display Find: All Files

Speed Up the Start Menu

Go to Start > Run > Regedit. Navigate to the following key. HKEY_CURRENT_USER \ Control Panel \ Desktop. Scroll down in the right panel and double-click on ‘mensuhowdelay’. In the Value Data box, change the defoult value for the menu speed from 400 to a lesser number.

Add or Romove Destinations in the Send to menu

The Send To menu appears when you right-click on an object. You modify this menu by modifying the Send To folder. Generally this folder is found in “C:\Documents and Settings\\’. (It may be hidden). Add / remove shortcuts here to add / remove destinations in the menu.

Disable list of startup programs

To disable the list of startup programs,go to User configuration > Administrative Templates > System > Logon and enable “Do not process the run once list”. This prevents programs from starting up automatically, thus giving you a faster boot up time.

Clean Your Prefetch to Improve Performance

Prefetch is a new technique in XP. However, after using XP for some time, the prefetch directory can get full of junk and obsolete links in the Prefetch catalog, which can slow down your computer noticeably. Open (system drive): / windows / prefetch, delete those junk and obsolete files, reboot.

Disable MSN Messenger form starting automatically

Go to Start > Run > gpedit.msc. Navigate to User configuration > Administrative Templates > Windows Components > Windows Messenger. Click on ‘Do not automatically start windows messenger initially’ and enable this rule. This will shorten your boot up time, and also save memory.

Remove the shortcut arrow from desktop icons

Go to Start > Run > Regedit. Navigate to HKEY_CLASSES_ROOT \ Inkfile. Delete the Is Shortcut registry value. You may have to restart Windows XP

Internet Explorer
Internet Explorer Shortcuts

Shift + CLICK Open link in new window

Ctrl + TAB Move forward between frames

F6 Change Address bar and page focus

Alt + Home Go to your Home page

More Internet Explorer Shortcuts

CTRL + F Find on this page

CTRL + D Add the current page to your Favorites

CTRL + W Close current browser window

CTRL + N Open a new window

Customise Internet Explorer Interface

Go the Start > Run > gpedit.msc. Navigate to User configuration > Internet Explorer Maintenance > Browser User Interface. Add the name you want to see on the browser. You can add a customized animated logo and change the background of the toolbar by going to ‘Browser toolbar costomisation.

Load Internet Explorer Fast

Edit your link to Start IE to have –nohome after it. “<>: \ Program Files\Internet Explore\IEXPLORE.EXE” –nohome. This will load IE very fast because it dosent’t a web page while it is loading. To go to your homepage after it has loaded, just click on the home button. (Or hit Alt + Home)

Fire Fox Shortcuts

New Tab Ctrl + T

Next Tab Ctrl + Tab or Ctrl + Page Down

Previous Tab Ctrl + Shift + Tab or Ctrl + Page Up

Open Address in New Tab Alt + Enter

Suffixing extensions in Firefox

IE automatically suffixes. Com to an address if you press Ctrl + Enter.

Firefox expands this feature to include. Net and. Org extensions as well.

For complete. net address Shift + Enter

For complete. org address Ctrl + Shift + Enter

Cut and Paste

You can highlight any text anywhere using the mouse and instantly pastely paste it by pressing mouse button 3 ( or both buttons on two button nice).

Applications also support selecting text and pressing Ctrl + C to copy it or Ctrl + X to cut it to the clipboard. Press Ctrl + V or Shift – Insert to Paste.

Some more Cut and Paste

When using the full screen window manager screen you can enter “scroll back mode” with Ctrl + A + Exc. You can move the cursor with the arrow and mark text by pressing the Space Bar at the beginning and end of the text you want. The text you selected can now be paseted with Ctrl + A

***Microsoft Office

Cut and Paste

To quickly select and entire sentence in Word, hold down Ctrl and left-click anywhere in the sentence, or just triple-click anywhere to do the same. Double-clicking just selects a single word.

Adding Footnotes

If you use Footnotes a lot in Microsoft Word, you don’t need to reach to your mouse and click Insert / Footnote each time you want to add one. Just hold down the Alt and the Ctrl keys and press F.

Selecting Cells in Word Tables

. To select a column, hold down the Alt key and click in the column you want to select

. To select a row, click in the fist cell of the row you want to select and them press Alt. + Shift + End.

Add Accents to Character

Go to Start>All Programs>Accessories>System Tools>Character Map. Select thecharacter and click Select. Copy it into your document. In M*cros*ft Word, dry holding down Ctrl key and hit ‘(single quote) key. Type the letter to be accented. E.g. a for a`, d for o`, e for e`, I for I`, u for u`, y for y`.


Determine the length of all audio CD tracks, Very fast with Excel

This macro will list the duration of all the tracks on an audio CD inserted in your CD ROM.

Open Excel
On the Tools menu, point to Macro, and then click Visual Basic Editor (or Alt F11)
Copy text between the lines below:
Option Explicit

Private Declare Function mciSendString Lib "winmm.dll" _
Alias "mciSendStringA" (ByVal lpstrCommand As String, _
ByVal lpstrReturnString As String, _
ByVal uReturnLength As Long, _
ByVal hwndCallback As Long) As Long

Sub AudioCD_InsertTime()

Static S As String * 30
Dim Cmd As String
Dim Counter As Integer, Answer As Integer
Dim Min As Integer, Sec As Integer
Dim NrTracks As Integer, Track As Integer
Dim TrackLength() As String

Answer = MsgBox("The audio CD must already be in the CD-rom drive." & vbCrLf & _
"No other software may use the audio CD.", vbExclamation + vbOKCancel)
If Answer <> vbOK Then Exit Sub

mciSendString "close all", 0, 0, 0
mciSendString "open cdaudio alias cd wait shareable", 0, 0, 0
mciSendString "status cd number of tracks wait", S, Len(S), 0
NrTracks = CInt(Mid$(S, 1, 2))

ReDim TrackLength(1 To NrTracks)
Dim i As Integer
For i = 1 To NrTracks
Cmd = "status cd length track " & i
mciSendString Cmd, S, Len(S), 0
TrackLength(i) = S
Next i

Counter = Counter + 1
Min = CInt(Mid$(TrackLength(Counter), 1, 2))
Sec = CInt(Mid$(TrackLength(Counter), 4, 2))
With ActiveCell.Cells(Counter, 1)
.Value = "00:" & Format(Min, "00") & ":" & Format(Sec, "00")
.NumberFormat = "[mm]:ss"
End With
If Counter = NrTracks Then Exit Do

mciSendString "close all", 0, 0, 0

End Sub
In the Visual Basic Editor:
Insert > Module
Paste the code.

Go back to Excel (use tab on Windows' Task bar) or close the Visual Basic Editor.
Put an audio CD in your CD ROM
Select any cell (suggest a cell on row 1 for this try out)
Then...... Tools > Macro > Macros (or Alt F8)
With your macro selected click .
You can copy the cells and paste into any text document.
Save the workbook for use next time.


How to exit a Java App cleanly!

Exit Java Application

Have you ever started a java app from an SSH session and when you are done you try to exit the SSH session and it's not exiting. Another symptom would be to call the java app from a script and the script never regains contol from the Java App. The solution is simple...

Your program still has descriptors for stdin, stdout and stderr open and sshd is waiting for them to close. Either have your program close those descriptors or redirect them to /dev/null. You probably also want to use "nohup" to prevent the program from exiting on SIGHUP. Here is an example that should help you....

nohup java -cp . Test /dev/null 2>&1 &


Instant Restore Point

Instant Restore File

Here it how to make your own instant Restore button that you can make a
instant Restore of your system anytime you want. (It is 2 lines long)

1. Open Notepad
2. Type this in below
3. Save it with extension of .vbs
4. Make shortcut to the file (Or save it to your Desktop)
5. Double click it on when ever you want to make a restore point

rp="Scripted Restore Point by "&WScript.ScriptName
GetObject("winmgmts:\\.\root\default:Systemrestore").CreateRestorePoint rp, 0, 100


How to connect your home computer from Remote location?

How to connect your home computer from Remote location?

Using the Remote Desktop feature, you can connect your home computer (host) from any other remote computer (client) and can access all computer resources (installed programs, data and any network resources). You can run any computer application on the remote computer as you were running actually sitting in front of home computer.

Follow the given steps to configure your computer to connect remote computer:

To use this feature, you will need to be logged into your computer with administrative rights.

To perform this task, first make sure your both computers are connected to the internet.

First you have to configure the host computer that allows the users to connect it remotely. On the host computer, right click on "My computer" and click on Properties option.

Under the Remote tab, select the option "Allow users to connect remotely to this computer" and click Ok button.

Now get the IP address of host computer (type the "ipconfig /all" on the command prompt of host computer to find IP address).

Now make a connection on remote or client computer, click on Start button, go to All Programs> Accessories, and Communications, then click on Remote Desktop Connection, option. A Remote Desktop Connection, dialog box will appear.

Click on Options button for detail configuration, under the General tab, type the IP address of host computer in the Computer box and also type username and password of host computer then click on Connect button to make a connection to remote computer.

If your username and password is correct then a remote desktop windows will appear.

credits : NFT TEAM