Friday, 1 February 2013

Query Selector Demo
A1 A2 A3
B1 B2 B3
C1 C2 C3
Focus the button, hover over the table cells, and hit Enter to identify them using querySelector('td:hover').

Sunday, 27 January 2013

adbc

go to START and click than go to contol panel and again click now click on

"control panel"

than you have
<
img src="control panel.jpg" width="800" height="400"/>

"administator tools”

than you have administator tools

now click on

"ODBC Data Source"

than you have it

Click on either the

“User DSN”"

or the “System DSN” tab
•A “User DSN” is only visible and available to the user currently logged on to the current computer.
• A “System DSN” is available to any user logged on to the workstation.
• At this point you are in the “Create New Data Source” dialog box.

Double click on the ODBC driver for the data source (database) you want to access. For example,you might click on

“Microsoft Access Driver (*.mdb)”



ODBC driver Setup Dialog
• In the “Data Source Name” box, type in a name for the data source. This string does not have to be the actual name of your database or table.
• In the “Description” box, enter some description of the data source.
• In the “Database” box, click on the “Select...” button, and browse to find the database (or data source).

After finding your data source, click on “OK”, and back out of the “ODBC Data Source Administrator”.

Back to


Wednesday, 9 January 2013

How to change the serial number used in Windows XP, Valid for XP Corporate


Step 1

Open Start/Run... and type the command:




regedit and click "OK" (or press ENTER).


Go to HKey_Local_Machine\Software\Microsoft\WindowsNT\Current Version\WPAEvents,


on the right double click on "oobetimer" and change at least one digit of this value to deactivate windows.


Click "OK" and close the Registry Editor.

Step 2

Open Start/Run... and type the command:
%systemroot%\system32\oobe\msoobe.exe /a and click "OK" (or press ENTER).


This will bring up the "Activate Windows" window.

Check the option for "Yes, I want to telephone a customer service representative to activate Windows" and click "Next"


Step 3

Then click "Change Product Key" (don't enter any information on that screen)


Step 4

Type in the new key and click "Update"


The activate Windows by phone window will reappear at this point, just close it by clicking the X in the upper right hand corner

Step 5

Reboot your system and Open Start/Run... and type the command:
%systemroot%\system32\oobe\msoobe.exe /a and click "OK" (or press ENTER).

If you see "Windows is already activated" then everything is OK.

Keep Folders Hidden


first create a new folder somewhere on your hard drive
1. clickl rigt button of mouse  than new and click new folder






















2. when you name it hold down "Alt" and press "0160" this will create and invisible space so it will apper
 as if it has no name.
 after that you have




3. right click in and select "Properties" select the tab


"coustimize" and select "change icon" scroll




along and you should a few blanc spaces click on any one and click ok when you hav saved

the settings the folder will be invisible to hide all your personal files

How to open find XP’s hidden Administrator account


Step1: Click on "Start" >

run


type regedit

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList



(note that there is a space in the Windows NT). Right click in the right pane and select New, DWord value.
Give the value the same name as the Username on the Welcome Screen (it must match) for the account you wish to hide or show.
Double click the new value and set it to 1 to show the account on the Welcome Screen, or set it to 0 to hide the account.

Now what you have just done is told the computer to backup the command program
and the screen saver file, then edits the settings so when the machine boots the
screen saver you will get an unprotected dos prompt with out logging into XP.
Once this happens if you enter this command minus the quotes
"net user <admin account name here> password"
If the Administrator Account is called Frank and you want the password blah enter this
"net user Frank blah"
and this changes the password on franks machine to blah and your in.

note---------
dont forget to copy the contents of temphack back into the system32 dir to cover tracks
Any updates

How to Use God Mode in Windows 7 God Mode in Windows 7


Foll the following steps to create god mode folder:
1. Create a new folder
2. Rename the folder to GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
You can change word GodMode to any other word you like your name or your friends name
3.The folder icon will change ,then  double click it to show the GodMode windows options.

how yo Get Remove From Error Reporting In XP


Step 1. Right-click My Computer and choose Properties.

Step 2. Click the Advanced tab on your System Properties dialog box.

Step 3. Click the Error Reporting button on the Advanced tab.

Step 4. Place a check mark next to "Disable error reporting."

Step 5. Leave the other radio button unchecked next to the text labeled, "But notify me when critical errors occur."

Step 6. Click OK

How To Clear Your Private And Sensitive Information Automatically On System Shutdown?


Follow the given simple steps to set your system clear page file automatically.

Note: Log-In in your Administrative Account

Step1: Click on "Start" >> "Control Panel" >> "Administrative Tools".

Step2: Now "Local Security Settings" panel will appear, on left side of this panel click on "Local Policies". Here click on "Security Options"

Step3: Then at Right side Find the "Shutdown: Clear virtual memory pagefile" option double click on it.

Step4: Now small dialog box will appear with options, "Enabled or Disabled" the page file.
select Enable >>  click Apply then click OK.

Set the status of NUM LOCK key enabled automatically


1. Click Start button then type regedit in Run option then press Enter for next.
 
Here locate the location to:

2. HKEY_USERS\.Default\Control Panel\Keyboard
3. Here in right side panel, double click on the value InitialKeyboardIndicators then change its value data from 0 to 2.
4. Now close the registry editor and restart your computer after any changes to go into effect.

Make your Keyboard lights flash


1. Open notepad and paste this code into it :
Quote:
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
2. Save it as anything.VBS
3. Run the file. Enjoy , Dont have a seizure!

To remove:
Open task manager and end the process. Its called something like WSCRIPT.

run type shortcut



ome work here or not
 Accessibility Controls = access.cpl
Add Hardware Wizard = hdwwiz.cpl
Add/Remove Programs = appwiz.cpl
Administrative Tools = control admintools
Automatic Updates = wuaucpl.cpl
Bluetooth Transfer Wizard = fsquirt
Calculator = calc
Certificate Manager = certmgr.msc
Character Map = charmap
Check Disk Utility = chkdsk
Clipboard Viewer = clipbrd
Command Prompt = cmd
Component Services = dcomcnfg
Computer Management = compmgmt.msc
Date and Time Properties = timedate.cpl
DDE Shares = ddeshare
Device Manager = devmgmt.msc
Direct X Control Panel (If Installed)* = directx.cpl
Direct X Troubleshooter = dxdiag
Disk Cleanup Utility = cleanmgr
Disk Defragment = dfrg.msc
Disk Management = diskmgmt.msc
Disk Partition Manager = diskpart
Display Properties = control desktop/desk.cpl
Dr. Watson System Troubleshooting Utility = drwtsn32
Driver Verifier Utility = verifier
Event Viewer = eventvwr.msc
File Signature Verification Tool = sigverif
Findfast = findfast.cpl
Folders Properties = control folders
Fonts = control fonts
Fonts Folder = fonts
Free Cell Card Game = freecell
Game Controllers = joy.cpl
Group Policy Editor (XP Prof) = gpedit.msc
Hearts Card Game = mshearts
Iexpress Wizard = iexpress
Indexing Service = ciadv.msc
Internet Properties = inetcpl.cpl
IP Configuration = ipconfig
Java Control Panel (If Installed) = jpicpl32.cpl
Java Application Cache Viewer (If Installed) = javaws
Keyboard Properties = control keyboard
Local Security Settings = secpol.msc
Local Users and Groups = lusrmgr.msc
Logs You Out Of Windows = logoff
Microsoft Chat = winchat
Minesweeper Game = winmine
Mouse Properties = control mouse
Mouse Properties = main.cpl
Network Connections = control netconnections
Network Connections = ncpa.cpl
Network Setup Wizard = netsetup.cpl
Notepad = notepad
Nview Desktop Manager (If Installed) = nvtuicpl.cpl
Object Packager = packager
ODBC Data Source Administrator = odbccp32.cpl
On Screen Keyboard = osk
Opens AC3 Filter (If Installed) = ac3filter.cpl
Password Properties = password.cpl
Performance Monitor = perfmon.msc
Performance Monitor = perfmon
Phone and Modem Options = telephon.cpl
Power Configuration = powercfg.cpl
Printers and Faxes = control printers
Printers Folder = printers
Private Character Editor = eudcedit
Quicktime (If Installed) = QuickTime.cpl
Regional Settings = intl.cpl
Registry Editor = regedit
Registry Editor = regedit32
Remote Desktop = mstsc
Removable Storage = ntmsmgr.msc
Removable Storage Operator Requests = ntmsoprq.msc
Resultant Set of Policy (XP Prof) = rsop.msc
Scanners and Cameras = sticpl.cpl
Scheduled Tasks = control schedtasks
Security Center = wscui.cpl
Services = services.msc
Shared Folders = fsmgmt.msc
Shuts Down Windows = shutdown
Sounds and Audio = mmsys.cpl
Spider Solitare Card Game = spider
SQL Client Configuration = cliconfg
System Configuration Editor = sysedit
System Configuration Utility = msconfig
System File Checker Utility = sfc
System Properties = sysdm.cpl
Task Manager = taskmgr
Telnet Client = telnet
User Account Management = nusrmgr.cpl
Utility Manager = utilman
Windows Firewall = firewall.cpl
Windows Magnifier = magnify
Windows Management Infrastructure = wmimgmt.msc
Windows System Security Tool = syskey
Windows Update Launches = wupdmgr
Windows XP Tour Wizard = tourstart
Wordpad = write

adding content to Right click credit


First we will add the copy and move options to the right click menu of all FILES.
CLICK Start>Run, type REGEDIT and click OK to open up the registry editor and make your way to this key:
HKEY_CLASSES_ROOT->*->shellex->ContextMenuHandlers
Right click the ContextMenuHandlers key and choose New>Key.
Name the new key “Copy To” (without the quotes).
Repeat the above and create another new key named Move To.
You should now have two new subkeys under the ContextMenuHandlers key:
HKEY_CLASSES_ROOT->*->shellex->ContextMenuHandlers\Copy To
HKEY_CLASSES_ROOT->*->shellex->ContextMenuHandlers\Move To
Select the Copy To key and in the right hand pane, double click “Default”
Enter this clsid value as the value data:
{C2FBB630-2971-11d1-A18C-00C04FD75D13}
Next , select the Move To key and in the right hand pane set the default value to:
{C2FBB631-2971-11d1-A18C-00C04FD75D13}
This now takes care of the Copy and Move options for the right click context menu of all your files.
Now all that is left is to add the same options to the right click menu of all your folders.
The procedure will be the same as for files but at a different key:
HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHan dlers
Right click ContextMenuHandlers and create a new key named Copy To.
Right click it again and create another new key named Move To.
left click on the right hand pane, add the same default values as you did for Files:
For Copy To:
{C2FBB630-2971-11d1-A18C-00C04FD75D13}
For the Move To:
{C2FBB631-2971-11d1-A18C-00C04FD75D13}
Exit the registry and you are done.
Now when you right click on a file or folder, you should see two new

Customize Internet. Explorer Title bar tip:


This tip won’t make your computer any faster but may help personalize your computer experience.
Open Registry by going to START-RUN and typing REGEDIT.
Navigate to HKEY_CURRENT_USER\Software\Microsoft\Internet.
Explorer\Main. In right hand panel look for string “Window Title” and change its value to whatever custom text you want to see.

Speedup boot up sequence by defragmenting all key boot files tip:


pen Registry by going to START-RUN and typing REGEDIT. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction. In right hand panel look for Enable. Right click on it and set it ‘Y’ for enable.
This is the way I have it set on my computer. This will help speedup boot time.

How to improve on shutdown time ? Close apps automatically & quickly at shutdown tip:


Open Registry by going to START-RUN and typing REGEDIT. Navigate to HKEY_CURRENT_USER\CONTROL PANEL\DESKTOP and look for AutoEndTasks.
On my computer default value is 0. Change it to 1. Thats all.
Further more you can reduce the time it takes for Windows to issue kill directive to all active/hung applications.
In doing this only constraint that you should make sure exists is that HungAppTimeout is greater than WaitToKillAppTimeout. Change the values of WaitToKillAppTimeout to say 3500 (since default value for HungAppTimeout 5000 and for WaitToKillAppTimeout is 20000)

Want to remove shared documents folder from My Computer window tip:


going to START-RUN and entering regedit.
Once in registry, navigate to key HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ My Computer \
NameSpace \ DelegateFolders You must see a sub-key named {59031a47-3f72-44a7-89c5-5595fe6b30ee}.

How to stop new programs installed balloon from coming up tip:


Right click on START button and select properties. Click on Customize and go to Advanced tab
and deselect check box saying “Highlight newly installed programs”.
This would help you stop this annoying feature from popping up every now and then.

How to remove recycle bin from your desktop Tip:


Open Regedit by going to START – RUN and type "Regedit" and hit enter.
Then you should navigate to following entry in registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E} and delete it. This action should remove recycle bin from your desktop.
{645FF040-5081-101B-9F08-00AA002F954E}
now go desktop and refresh it recle icon will be lost


2nd mathod Remove Recycle bin from Desktop -------------
1)Go to Start>Run>type "gpedit.msc"
2)Now double click "Administrative Templets" on left side of the opend window.
3)Now double click "Desktpo" on Right side of the window.

4)Now double click "remove recycle bin from desktop" on right side of window.
5)Now tick the check box "Enable".Now press "apply"


Rename Recycle-bin

Microsoft Windows xp users
Click Start / Run
Type regedit and press enter.
Open the HKEY_CLASSES_ROOT folder
Open the CLSID folder
Open the {645FF040-5081-101B-9F08-00AA002F954E} folder
Open the ShellFolder folder
Change the Attributes data value from 40 01 00 20 to 50 01 00 20.
Once completed change the CallForAttributes dword value to 0x00000000 (double-click and change value data to 0).
You must change both of these values to get the rename to appear.


SECOND WAY: 

            1-Click Start menu > Run > and type “regedit” (without quotes), to run Windows Registry Editor
            2- Find and go to following “HKEY_CLASSES_ROOT/CLSID/{645FF040-5081-101B-            9F08-00AA002F954E}”
            3- Change the name "Recycle Bin" to whatever you want




1. Start, Run, 'Regedit'.

2. Press 'Ctrl'+'F' to open find box and type 'Recycle Bin' to search.
3. Change any value data with 'Recycle Bin' to whatever name you want to give it ( ie, like 'Trash Can' or 'Dump' etc).
4. Press F3 to continue searching for 'Recycle Bin' and change wherever you come across 'Recycle Bin' to new its new name.
5. Repeat step 4 until you have finished with searching and changed all values to its new name.
6. Close regedit and hit F5 on desktop to see the new name on screen.

Display Your Quick Launch ToolbarTip


Is your Quick Launch toolbar missing from the taskbar?
To display your familiar Quick Launch toolbar:
Right-click an empty area on the taskbar, click Toolbars, and then click Quick Launch.

Easy as that your Quick Launch bar appears. To add items to your Quick Launch toolbar,
click the icon for the program you want to add, and drag it to the Quick Launch portion of the taskbar.