Wireless Security Handbook

Download

Read Users' Comments (0)

Correcting System Hang at Startup


If your system hangs about 2 or 3 minutes at startup, where you can't access the Start
button or the Taskbar, it may be due to one specific service (Background Intelligent
Transfer) running in the background. Microsoft put out a patch for this but it didn't
work for me. 


Here's what you do:
 

·    Click on Start/Run, type 'msconfig', then click 'OK'.
·    Go to the 'Services' tab, find the 'Background Intelligent Transfer' service.
·    Disable it, apply the changes & reboot.

Read Users' Comments (0)

Command to print Special Characters

Read Users' Comments (2)

Change XP Boot Screen

If you would like to change your boot up screen follow the directions below.
These instructions assume that you have a place to download the boot screen from the net.
If you would like to download a boot screen, visit http://www.themexp.org

1. Backup (copy) the file %windir%\system32\ntoskrnl.exe (most likely C:\windows\system32\ntoskrnl.exe - the boot screen)
2. Download the .zip to your computer
3. Extract ntoskrnl.exe to a directory other than %windir%\system32 (most likely C:\windows\system32)
4. Reboot your computer into Safe Mode (hit F8 before the boot screen) or into true DOS (from a boot disk)
5. Overwrite the file %windir%\system32\ntoskrnl.exe (which should have been backed up) with the extracted exe
6. Reboot your computer as you normally would

Read Users' Comments (0)

Quick Access to Anything Without a Mouse!

If your someone like me who wants quick access to everything then just listen to
what I have to say. This article will tell you how to makes shortcuts on your keyboard
that are Ctrl + Alt + "Any Key Of Your Choice." Heres what you have to do:

1. Make shortcuts of the programs you want shortcuts to somewhere in your start menu.

2. Right click on one of them and click on Properties.

3. Now click on Shortcut if its not already there.

4. Click on ShortCut Key's white area box and type a letter other than ones used
by XP like Ctrl Alt Del and stuff. I used the number 1 through 0 (after 9).

Do that and it should work. If it doesn't make sure its in the Programs part of
the Start Menu, I haven't tried outside programs, if it still doesn't work go to
the help section and ask a microsoft person.

Read Users' Comments (0)

Turn on autocomplete for DOS shell

You can enable filename completion in the NT "DOS" shell by editing
HKEY_CURRENT_USER\Software\Microsoft\Command Processor
and changing the CompletionChar value to 0x00000009

Read Users' Comments (0)

Create a New Drive for ur Favorite Folder

Use the SUBST command to substitute a drive letter for a path in order to treat a virtual drive (a reserved area rather than an actual disk drive) as a physical drive i.e create a new drive for your Favorite Folder in MS-DOS Prompt.

For e.g if you want to create a drive named Z for your Program files folder then u need to enter the following in ur DOS mode : -

subst z: "c:\program files"

This will create a drive named Z in your My Computer so that you can directly access your program files contents from this Drive. You can also create a Separate drive for your separate folder for accessing data easily. For e.g Separate drive for your music folder etc.

Read Users' Comments (0)

Change the Browser Title

This tweak Customize the Title of the Internet Explorer.


1. Click Start > Run > Type gpedit.msc
2. Click User Configuration > Windows Setting > Internet Explorer Maintenance > Browser User Interface
3. Double click on Browser Title
4. Click on Customize Title Bars
5. type in whatever you want
6. Click OK

Now you changed the title of your browser and you sure see what you wrote when you
open a New Widow.

Read Users' Comments (0)

Windows XP Genuine Validation

1) start > run > "regedit" (without the quotes of course)
2) go to the key:
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WindowsNT\CurrentVersion\WPAEvents\OOBETimer
...and doubleclick on it. Then change some of the value data to ANYTHING ELSE...delete some, add some letters.....just change it!
now close out regedit.
3) go to start > run >
"%systemroot%\system32\oobe\msoobe.exe /a"
(again, dont type the quotes)
4) the activation screen will come up, click on register over telephone, then click on CHANGE PRODUCT KEY,
enter in this key: JG28K-H9Q7X-BH6W4-3PDCQ-6XBFJ.

Now you can do all the updates without activating, and the Genuine Microsoft Validation Thing won't bug you no more!!

Read Users' Comments (0)

Fix for slow xDSL Internet access

This tweak is also valid for all Windows versions.
Sometimes during browsiing you can notice that it takes time to access any web page,
and then, suddenly, your connection establishes full-speed again.
The reason lays in amount of time it needs for tcp/ip protocol to translate
a host name to an IP address. In order to fix this problem your xDSL modem shoud have
an internal IP address specified in TCP/IP properties. For Win98 it would be TCP/IP bounded
to NIC.
In most of the cases IP address would be 192.168.1.2; subnet mask : 255.255.255.0.

Hope it helps.

Read Users' Comments (0)

Finding a invisible user on Yahoo! Messenger

First Method: Doodle Method

1. Double Click on the user whose status you want to check.
2. A message window will open.
3. Click IMVironment button, select See all IMVironments, select Yahoo! Tools or Interactive Fun, and click on Doodle.
4. The last step and the most important step. After loading the Doodle IMVironment, there will be two possibilities.
a) If the user is offline, the Doodle area will show “waiting for your friend to load Doodle” continuously.
b) If the user is online (in invisible mode), after few seconds (it can take up to one minute, depending on connection speed), you will get a blank page. So the user is online!

Second Method: Voice Chat Method

1. Double Click on the user whose status you want to check.
2. Click on “Voice” icon on the toolbar, or select “Contact” menu and select “Enable Voice Chat” .
3. The deciding part… there are 2 possible results:
a) If the user is offline, you will get this message: “Internal server error. Cannot obtain voice token to start voice chat.”
b) If the user is invisible (actually online), you will see the Voice Toolbar.

Third Method: Conference Invitation

1. Right Click on the user whose status you want to check.
2. When the menu appears, select Invite to Conference.
3. A window will appear. See at the right pane, the username you selected will be there. Now, click Invite.
4. The deciding part… there are 2 possible results:
a) If the user is offline, you will get this message: “None of the users in the invite list are available to join the conference. Please try at a later time.”
b) If the user is invisible, you will get a window similar saying: “You are now logged into voice conference

Read Users' Comments (1)comments

Nokia Cellphone Cheat Codes

these codes will work on most Nokia Mobile Phones to activate/deactivate advanced hidden functions that you can’t change through the phone menu


==========================================================================

Nokia Secret Codes
==========================================================================


On the main screen type in:

*#06# for checking the IMEI (International Mobile Equipment Identity).

*#7780# reset to factory settings.

*#67705646# This will clear the LCD display(operator logo).

*#0000# To view software version.

*#2820# Bluetooth device address.

*#746025625# Sim clock allowed status.

#pw+1234567890+1# Shows if sim have restrictions.

*#92702689# - takes you to a secret menu where you may find some of the information below:
1. Displays Serial Number.
2. Displays the Month and Year of Manufacture
3. Displays (if there) the date where the phone was purchased (MMYY)
4. Displays the date of the last repair - if found (0000)
5. Shows life timer of phone (time passes since last start)

*#3370# - Enhanced Full Rate Codec (EFR) activation. Increase signal strength, better signal reception. It also help if u want to use GPRS and the service is not responding or too slow. Phone battery will drain faster though.

*#3370* - (EFR) deactivation. Phone will automatically restart. Increase battery life by 30% because phone receives less signal from network.

*#4720# - Half Rate Codec activation.

*#4720* - Half Rate Codec deactivation. The phone will automatically restart

If you forgot wallet code for Nokia S60 phone, use this code reset: *#7370925538#

Note, your data in the wallet will be erased. Phone will ask you the lock code. Default lock code is: 12345

Press *#3925538# to delete the contents and code of wallet.

Unlock service provider: Insert sim, turn phone on and press vol up(arrow keys) for 3 seconds, should say pin code. Press C,then press * message should flash, press * again and 04*pin*pin*pin# \
*#7328748263373738# resets security code.

Default security code is 12345

Change closed caller group (settings >security settings>user groups) to 00000 and ure phone will sound the message tone when you are near a radar speed trap. Setting it to 500 will cause your phone 2 set off security alarms at shop exits, gr8 for practical jokes! (works with some of the Nokia phones.) Press and hold "0" on the main screen to open wap browser.


Code Function
*3370# Activate Enhanced Full Rate Codec (EFR) - Your phone uses the best sound quality but talk time is reduced my approx. 5%
#3370# Deactivate Enhanced Full Rate Codec (EFR)
*#4720# Activate Half Rate Codec - Your phone uses a lower quality sound but you should gain approx 30% more Talk Time
*#4720# Deactivate Half Rate Codec

#pw+1234567890+1# Provider Lock Status. (use the “*” button to obtain the “p,w” and “+” symbols)
#pw+1234567890+2# Network Lock Status. (use the “*” button to obtain the “p,w” and “+” symbols)
#pw+1234567890+3# Country Lock Status. (use the “*” button to obtain the “p,w” and “+” symbols)
#pw+1234567890+4# SIM Card Lock Status. (use the “*” button to obtain the “p,w” and “+” symbols)
12345 This is the default security code

*#21# Allows you to check the number that “All Calls” are diverted to
*#30# Lets you see the private number
*#43# Allows you to check the “Call Waiting” status of your phone.
*#61# Allows you to check the number that “On No Reply” calls are diverted to
*#62# Allows you to check the number that “Divert If Unreachable (no service)” calls are diverted to
*#67# Allows you to check the number that “On Busy Calls” are diverted to

*#0000# Displays your phones software version, 1st Line : Software Version, 2nd Line : Software Release Date, 3rd Line : Compression Type
*#9999# Phones software version if *#0000# does not work
*#06# For checking the International Mobile Equipment Identity (IMEI Number)

*#67705646# Removes operator logo on 3310 & 3330
*#73# Reset phone timers and game scores
*#746025625# Displays the SIM Clock status, if your phone supports this power saving feature “SIM Clock Stop Allowed", it means you will get the best standby time possible
*#94870345123456789# Deactivate the PWM-Mem
press and hold # Lets you switch between lines

*#7760# Manufacturers code
*#7780# Restore factory settings
*#8110# Software version for the nokia 8110
*#92702689# Displays - 1.Serial Number, 2.Date Made, 3.Purchase Date, 4.Date of last repair (0000 for no repairs), 5.Transfer User Data. To exit this mode you need to switch your phone off then on again

**21*number# Turn on “All Calls” diverting to the phone number entered
**61*number# Turn on “No Reply” diverting to the phone number entered
**67*number# Turn on “On Busy” diverting to the phone number entered


Nokia Secret Codes
The complete guide

Here's a list of known codes on Nokia mobile phones. This list does not include codes that make request to the network. To use these codes, just dial them like normal numbers.

Code    Description
*#06#    Display the IMEI (GSM standard)

*#0000#    Display the firmware version and date (with variant info on S40 second edition or newer)

*#9990#    Says "Bluetooth Test Mode" on Symbian models; accepts without any messages and Bluetooth behaves abnormally on non-Symbian ones (models with build-in Bluetooth radio, activate first to use)

*#bta0#    Display the Bluetooth MAC address (models with build-in Bluetooth radio, activate first to show address)

*#mac0wlan#    Display the WLAN MAC address (models with build-in Wi-fi radio)

*#opr0logo#    Clear the operator logo (3310 and 3330 only)

*#pca0#    Activate the GPRS PCCCH support (early GPRS models)

*#pcd0#    Deactivate the GPRS PCCCH support (early GPRS models)

*#res0wallet#    Reset the mobile wallet (models with mobile wallet)

*#res0#    Soft-format the memory (Symbian models only)

*#rst0#    Reset to factory defaults, confirmation required (DCT4 or newer)

*#sim0clock#    Display the SIM clock status (DCT3 only)

*#ssn0#    Display the manufacturing serial number (mid-range and premium DCT3, basically all DCT4 and BB5 non-Symbian models)

*#war0anty#    Display the manufacturing and repair info (no exit on DCT3) or total talk time on

Symbian models

*efr0#    Enable EFR encoding (pre-2003 models)

#efr0#    Disable EFR encoding (pre-2003 models)

*hra0#    Enable HR encoding (pre-2003 models)

#hra0#    Disable HR encoding (pre-2003 models)

#pw+1234567890+n#    Display the SIM lock status: (pre-2003 models)

n = 1: provider lock
n = 2: network lock
n = 3: country lock
n = 4: SIM lock
n#    n = 1..999: recall the number stored in the SIM location n (DCT3, DCT4, BB5 models)


These codes will work on most Nokia Mobile Phones to activate/deactivate advanced hidden functions that you can’t change through the phone menu

One useful function that all Nokia’s I’ve owned have is “Cell Info Display” which can usually be found in the phones “Display settings” (eg: in a Nokia 1600) or “Phone Settings” (eg: in a Nokia 3315)

If your network supports it, when “Cell Info Display” is enabled, it will display the name of the base station your mobile is currently connected to on the screen. eg: when i’m walking around the city it says “Sydney CBD” and when i’m at home it displays the name of my suburb.

Note:

To display “p” press “*” three times within one second, To display “w” press “*” four times within one second, To display “+” press twice “*” within less than a second

Code Function

*3370# / #3370# Activate / Deactivate Enhanced Full Rate Codec (EFR) - Your phone uses the best sound quality but talk time is reduced my approx. 5%

*#4720# / *#4720# Activate / Deactivate Half Rate Codec - Your phone uses a lower quality sound but you should gain approx 30% more Talk Time

*#7220# / *#7230# Enable / Disable PCCCPH support (faster GPRS)


#pw+1234567890+1# Provider Lock Status. (use the “*” button to obtain the “p,w” and “+” symbols)

#pw+1234567890+2# Network Lock Status. (use the “*” button to obtain the “p,w” and “+” symbols)

#pw+1234567890+3# Country Lock Status. (use the “*” button to obtain the “p,w” and “+” symbols)
a

=========================================================================

Read Users' Comments (3)

How To optimize DSL-CABLE connection speed

First, u need to goto Start, then run. Type in regedit in the box. Next, goto the folder HKEY_LOCAL_MACHINE\System\CurrentControlSet\VxD\MSTCP
Now, find the string DefaultRcvWindow . Now, edit the number to 64240 then restart your computer. There you go. High speed cable modem now with out dloading a program. Original value is 373360

Read Users' Comments (0)

Trick to lock your private folder

Suppose you want to lock the folder games in d: which has the path D:Games.In the same drive create a text file and type
ren games games.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Now save this text file as loc.bat

create another text file and type in it
ren games.{21EC2020-3AEA-1069-A2DD-08002B30309D} games
Now save this text file as key.bat

Now you can see 2 batch files loc and key.Press loc and the folder games will change to control panel and you cannot view its contents.Press key and you will get back your original folder.
try it out!!!!!!!


Important note:          How to rename your text files as bat files?
         Just go to my computer->tools->folder options->go to the view tab.
         Now uncheck the 'Hide extensions for known file types'.Press apply.
         Now rename ur text files as bat files.

Read Users' Comments (0)

Restart windows without restarting your pc

Restart windows without restarting your pc, it really works 



Windows vista :
Select Start, then hover over the right arrow that is to the right of
the padlock icon until the pop-up menu appears that contains “restart”
as one of it’s choices. Hold down the SHIFT key while clicking on the
“restart” choice.

Windows xp : 

Select Start. Select “Shut Down…”. Change the drop-down combo box under
 “What do you want the computer to do?” to “Restart”. Hold down the SHIFT key while
clicking on the “OK” button.

Read Users' Comments (0)

Permanent Acceleration Fix

It seems that even without pointer precision disabled, the mouse under XP is still influenced by an acceleration curve. This is especially noticeable in games. To completely remove mouse acceleration from XP, you will need to go into the registry and adjust the SmoothmouseXYCurve values. Here is how its done.

1. Click Start button
2. Select Run
3. Type 'regedit' in the open textbox
4. Open the tree 'HKEY_CURRENT_USER', select control panel, then select mouse
5. Right clicking, modify the SmoothMouseXCurve and SmoothMouseYCurve hexidecimal values to the following:

SmoothMouseXCurve:
00,00,00,00,00,00,00,00
00,a0,00,00,00,00,00,00
00,40,01,00,00,00,00,00
00,80,02,00,00,00,00,00
00,00,05,00,00,00,00,00

SmoothMouseYCurve:
00,00,00,00,00,00,00,00
66,a6,02,00,00,00,00,00
cd,4c,05,00,00,00,00,00
a0,99,0a,00,00,00,00,00
38,33,15,00,00,00,00,00

If done correctly, you will notice you are holding a markedly more responsive mouse.

Read Users' Comments (0)

Improve your dialup modem preformance

You can't assume that just because you connected at a speed like 48.3KBps that you will stay there. Today's modems automatically fall back to a lower speed if the line noise is too high to maintain a faster connection, but sometimes they fall back too soon or too far.

Here's how to do it:


Click Start the button.
Select Settings.
Click Control Panel.
Double-click on the Modems icon.
Select your modem.
Click the Properties button.
Click the Connections tab.
Click the Advanced button.
In the "Extra settings" field, type S36=7
Click OK to save your settings.


This will force your modem to try to stay connected at high speeds in two different ways before dropping back to an asynchronous mode with auto speed buffering.

Read Users' Comments (0)

Tutorial Get the serial number you need

Get the serial number you need ! (For Certain Things)

* Go to Google.

* In the search field type: "Product name" 94FBR

* Where, "Product Name" is the name of the item you want to find the serial number for.

* And voila - there you go - the serial number you needed.

HOW DOES THIS WORK?

Quite simple really. 94FBR is part of a Office 2000 Pro cd key that is widely distributed as it bypasses the activation requirements of Office 2K Pro. By searching for the product name and 94fbr, you guarantee two things. 1) The pages that are returned are pages dealing specifically with the product you're wanting a serial for. 2) Because 94FBR is part of a serial number, and only part of a serial number, you guarantee that any page being returned is a serial number list page.

See these example searches:


"Photoshop 7" 94FBR
"Age of Mythology" 94FBR
"Nero Burning Rom 5.5" 94FBR

Read Users' Comments (0)

XP Tweaking

-----------
STARTUP
-----------



Windows Prefetcher
******************
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Memory Management \ PrefetchParameters]

Under this key there is a setting called EnablePrefetcher, the default setting of which is 3. Increasing this number to 5 gives the prefetcher system more system resources to prefetch application data for faster load times. Depending on the number of boot processes you run on your computer, you may get benefits from settings up to 9. However, I do not have any substantive research data on settings above 5 so I cannot verify the benefits of a higher setting. This setting also may effect the loading times of your most frequently launched applications. This setting will not take effect until after you reboot your system.


Master File Table Zone Reservation
**********************************
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ FileSystem]

Under this key there is a setting called NtfsMftZoneReservation, the default setting of which is 1. The range of this value is from 1 to 4. The default setting reserves one-eighth of the volume for the MFT. A setting of 2 reserves one-quarter of the volume for the MFT. A setting of 3 for NtfsMftZoneReservation reserves three-eighths of the volume for the MFT and setting it to 4 reserves half of the volume for the MFT. Most users will never exceed one-quarter of the volume. I recommend a setting of 2 for most users. This allows for a "moderate number of files" commensurate with the number of small files included in most computer games and applications. Reboot after applying this tweak.


Optimize Boot Files
*******************
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Dfrg \ BootOptimizeFunction]

Under this key is a text value named Enable. A value of Y for this setting enables the boot files defragmenter. This setting defragments the boot files and may move the boot files to the beginning (fastest) part of the partition, but that last statement is unverified. Reboot after applying this tweak.

-----------------------------------
General Performance Tweaks
-----------------------------------


IRQ Priority Tweak
******************
[HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ PriorityControl]

You will need to create a new DWORD: IRQ#Priority (where # is the number of the IRQ you want to prioritize) and give it a setting of 1. This setting gives the requisite IRQ channel priority over the other IRQs on a software level. This can be extremely important for functions and hardware subsystems that need real-time access to other parts of the system. There are several different subsystems that might benefit from this tweak. Generally, I recommend giving either the System CMOS or the video card priority. The System CMOS generally has an IRQ setting of 8, and giving it priority enhances the I/O performance of the system. Giving priority to the video card can increase frame rates and make AGP more effective.

You can give several IRQs priority, but I am not entirely certain how the system interacts when several IRQs are given priority – it may cause random instabilities in the system, although it is more likely that there's a parsing system built into Windows XP to handle such an occurrence. Either way, I would not recommend it.


Priority Tweak
**************
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ PriorityControl]

This setting effectively runs each instance of an application in its own process for significantly faster application performance and greater stability. This is extremely useful for users with stability problems, as it can isolate specific instances of a program so as not to bring down the entire application. And, it is particularly useful for users of Internet Explorer, for if a rogue web page crashes your browser window, it does not bring the other browser windows down with it. It has a similar effect on any software package where multiple instances might be running at once, such as Microsoft Word. The only problem is that this takes up significantly more memory, because such instances of a program cannot share information that is in active memory (many DLLs and such will have to be loaded into memory multiple times). Because of this, it is not recommended for anyone with less than 512 MB of RAM, unless they are running beta software (or have some other reason for needing the added stability).

There are two parts to this tweak. First is to optimize XP's priority control for the processes. Browse to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ PriorityControl and set the "Win32PrioritySeparation" DWORD to 38. Next, go into My Computer and under Tools, open the Folder Options menu. Select the View tab and check the "Launch folder windows in separate process" box. This setting actually forces each window into its own memory tread and gives it a separate process priority.

Offload Network Task Processing onto the Network Card
*****************************************************
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Tcpip \ Parameters]

Many newer network cards have the ability of taking some of the network processing load off of the processor and performing it right on the card (much like Hardware T&L on most new video cards). This can significantly lower the CPU processes needed to maintain a network connection, freeing up that processor time for other tasks. This does not work on all cards, and it can cause network connectivity problems on systems where the service is enabled but unsupported, so please check with your NIC manufacturer prior to enabling this tweak. Find the DWORD "DisableTaskOffload" and set the value to 0 (the default value is 1). If the key is not already available, create it.

Force XP to Unload DLLs
***********************
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer]
"AlwaysUnloadDLL"=dword:00000001

XP has a bad habit of keeping dynamic link libraries that are no longer in use resident in memory. Not only do the DLLs use up precious memory space, but they also tend to cause stability problems in some systems. To force XP to unload any DLLs in memory when the application that called them is no longer in memory, browse to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer and find the DWORD "AlwaysUnloadDLL". You may need to create this key. Set the value to 1 to force the operating system to unload DLLs.

Give 16-bit apps their own separate processes
*********************************************
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ WOW]
"DefaultSeparateVDM"="Yes"

By default, Windows XP will only open one 16-bit process and cram all 16-bit apps running on the system at a given time into that process. This simulates how MS-DOS based systems viewed systems and is necessary for some older applications that run together and share resources. However, most 16-bit applications work perfectly well by themselves and would benefit from the added performance and stability of their own dedicated resources. To force Windows XP to give each 16-bit application it's own resources, browse to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ WOW and find the String "DefaultSeparateVDM". If it is not there, you may need to create it. Set the value of this to Yes to give each 16-bit application its own process, and No to have the 16-bit application all run in the same memory space.

Disable User Tracking
*********************
[HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer]
"NoInstrumentation"=dword:00000001

The user tracking system built into Windows XP is useless to 99% of users (there are very few uses for the information collected other than for a very nosy system admin), and it uses up precious resources to boot, so it makes sense to disable this "feature" of Windows XP. To do so, browse to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer and find the DWORD "NoInstrumentation". You may need to create this key if it is not there. The default setting is 0, but setting it to 1 will disable most of the user tracking features of the system.

Thumbnail Cache
***************
[HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced]
"DisableThumbnailCache"=dword:00000001

Windows XP has a neat feature for graphic and video files that creates a "thumbnail" of the image or first frame of the video and makes it into an oversized icon for the file. There are two ways that Explorer can do this, it can create them fresh each time you access the folder or it can load them from a thumbnail cache. The thumbnail caches on systems with a large number of image and video files can become staggeringly large. To disable the Thumbnail Cache, browse to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced and find the DWORD "DisableThumbnailCache". You may need to create this key. A setting of 1 is recommended for systems where the number of graphic and video files is large, and a setting of 0 is recommended for systems not concerned about hard drive space, as loading the files from the cache is significantly quicker than creating them from scratch each time a folder is accessed.

Read Users' Comments (0)

Internet Error Codes

Internet Error Codes

Sometime you are browsing the internet and trying to open any website, your e-mail and any FTP sites , but you see different error codes there. You should be familiar with these error codes. You can solve these problems if you are well-known with the meaning of error codes.

Error Codes Meaning
400 This is bad request error, First check you may be typing wrong URL name and server could not understand your request.

401 You are trying to open any unauthorized access site or page. Check your username and password if you are trying to open any webpage.

402 Payment Required Error

403 You are trying to open any forbidden page and you are blocked by that domain.

404 Here you are trying to open the webpage that was removed or re-named, also check the URL spelling.

408 This is time out error. you should send the request with in time that the server set for you.


Read Users' Comments (0)

Keeping the Windows XP Core in the RAM

Keeping the Windows XP Core in the RAM



If you have 512 MB or more of RAM, you can increase system performance by having the Windows XP 'Core' kept in the RAM instead of paged on the hard disk.

Go to Start -> Run - Type regedit and press enter - On the left hand side tree, navigate to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\

- On the list on the right side, look for an entry called 'DisablePagingExecutive'
- Double click it
- Press 1 on your keyboard
- Click OK


- Exit regedit and reboot the computer


To revert to the default setting, follow the same steps as above, but this time, press 0(zero) instead of 1 on the keyboard.


Read Users' Comments (0)

add folder to SEND TO menu

ADD FOLDER TO "SEND TO" MENU



Many a times we require a FOLDER too often, like to store our Multimedia files and all !!!

No no need to access the folder and carry out the traditional COPY & PASTE !!!

Just add it too "SEND TO" !!!

Do as follows :

** Open any FOLDER.

** Then, TOOLS >> Folder Options

** Click view TAB.

** In LIST of Advance Settings, click Show hidden files and folders !

** Now, go to C:\Documents and Settings

** Here, double click and open your (username) folder !

** Now, open SendTo folder.

** Here copy and paste the shortcut of your favorite folder.

That's Done !!!

Now, tranfer files to your favorite folder :

** Right Click the file
** Then, Send To
** Click the folder name !

Read Users' Comments (0)

Crack into admin acc from limited account(99.99% works)

Go to cmd

type AT (time) /interactive “cmd.exe”

enter time in 24hr format

means if you want to enter 5.00pm then enter 17:00

then a new window of cmd will open at specified time

In new window type net(space)user

press enter

after this u will see some names on ur screen

notedown the name of admin acc

then type

net user (name of admin acc u want to crack into) *
e.g if the name of admin acc is john then type

net user john *

then it will ask u for new password

enter password of ur choice

and u got the admin password

Read Users' Comments (0)

Game.CPP


 /////////////////////////////////////////////////////////////////////////
 //*************************** TIC TAC GAME ******************************
 /////////////////////////////////////////////////////////////////////////

 #include
 #include
 #include
 #include
 #include

 //************************* Functions Declearations *********************

 void Intro();
 void instructions();
 void Rectangle(int ,int ,int, int ,int );
 void Rectangle1(int ,int ,int ,int ,int);
 void fill(int,int,int);
 void movement(int,int);
 void check1();
 void insert1(int ,int);
 void insert2(int ,int);
 void Tick1(int ,int );
 void Tick2(int ,int );
 void win_player1();
 void win_player2();

 //************************* End Functions Declearations ******************

 main()
  {

   int d,m;
   d=DETECT;
   initgraph(&d,&m,"..\\bgi");
      cleardevice();
      Intro();   // Intro Function Called
      top:

 ///////////////////////////// Start Of Main Menue  //////////////////////
      cleardevice();
      setbkcolor(0);
      setcolor(2);
      settextstyle(10,0,1);
      outtextxy(220,30,"Main Menue");
      setcolor(4);
      line(220,70,380,70);
      line(220,72,380,72);
      int za1x=4,zb1y=4,za2x=615,zb2y=469;
      for(int zafar1=1;zafar1<4;zafar1++)
       {
       setcolor(9);
       rectangle(++za1x,++zb1y,--za2x,--zb2y);
       }
       setcolor(7);
       rectangle(3,3,616,470);
       rectangle(10,10,609,463);
  menu:
    char ch1='H';
    int x=0;
      while(ch1!='\r')
    {
  me:
       switch(ch1)
    {
     case 'H':
     setcolor(4);
     settextstyle(7,0,3);
     outtextxy(100,160,"Enter To View Instructions");
     outtextxy(100,200,"Enter To Exit Game");
     setcolor(2);
     outtextxy(100,120,"Enter To Play Game");
     ch1=getche();
     x=0;
     if(ch1=='\r')
     goto  game;
     break;

     case 'P':
     if(x==0){
     setcolor(4);
     settextstyle(7,0,3);
     outtextxy(100,120,"Enter To Play Game");
     outtextxy(100,200,"Enter To Exit Game");
     setcolor(2);
     outtextxy(100,160,"Enter To View Instructions");
     x=x+1;
     rept:
     ch1=getche();
     if(ch1=='\r')
     {
     instructions();
     getch();
     goto top;
      }
    if(ch1=='H')
        goto menu;
    else
       if(ch1!='P')
          goto rept;
       else
          goto next;
       }

    else
     {
  next:
     setcolor(4);
     settextstyle(7,0,3);
     outtextxy(100,120,"Enter To Play Game");
     outtextxy(100,160,"Enter To View Instructions");
     setcolor(2);
     outtextxy(100,200,"Enter To Exit Game");
     rept1:
     ch1=getche();
     if(ch1=='\r')
        exit(0);
     else
       if(ch1!='H')
       goto rept1;
     else
         goto menu;

      {
     goto menu;
     break;
      }
       }
    }   // End Of Switch
    ch1=getche();
       } // End Of While
 ///////////////////////////  End Of Main Menue  ////////////////////////

  game :

 ///////////////////////// Start Of Coding For Game /////////////////////

  int arr[3][3],count1[3][3],count2[3][3];

    for(int l=0;l<3;l++)         // Initilization of arr[3][3]
       for(int n=0;n<3;n++)
        arr[l][n]=0;

    for(l=0;l<3;l++)            // Initilization of count1[3][3]
       for(n=0;n<3;n++)
       count1[l][n]=0;

    for(l=0;l<3;l++)            // Initilization of count2[3][3]
       for(n=0;n<3;n++)
        count2[l][n]=0;

     cleardevice();
     setbkcolor(0);

 ////////////////////// Designing of Game's Main page //////////////////

 int a1x=4,b1y=4,a2x=615,b2y=469;

     for(int zafar2=1;zafar2<4;zafar2++)
      {
      setcolor(9);
      rectangle(++a1x,++b1y,--a2x,--b2y);
      }
      setcolor(7);
      rectangle(3,3,616,470);
      rectangle(10,10,609,463);
      setcolor(7);
      rectangle(30,394,590,455);
     a1x=31,b1y=395,a2x=589,b2y=454;
    for(zafar1=1;zafar1<5;zafar1++)   // Rectangular Border of The Page
    {
    setcolor(1);
    rectangle(a1x++,b1y++,a2x--,b2y--);
    }
    setcolor(2);
    setfillstyle(1,2);
    rectangle(35,399,585,450);
    floodfill(37,402,2);
    setcolor(7);
    rectangle(35,399,585,450);
    setcolor(14);
    settextstyle(8,0,3);
    outtextxy(180,20,"TIC TAC GAME ");

 ///// Instruct instructions Given On The Game's Main Page For Player 1 /////

    setcolor(10);
    settextstyle(8,0,3);
    outtextxy(20,60,"PLAYER 1");
    setcolor(4);
    line(20,90,140,90);
    line(20,92,140,92);
    setcolor(15);
    settextstyle(7,0,1);
    outtextxy(20,120," Use Arrow ");
    settextstyle(7,0,1);
    outtextxy(20,160,"   Keys   ");
    settextstyle(7,0,1);
    outtextxy(20,200," to Select &");
    settextstyle(7,0,1);
    outtextxy(20,240,"Enter Button");
    settextstyle(7,0,1);
    outtextxy(20,280," to Insert");

 ///// Instruct instructions Given On The Game Main Page For Player 2 /////

    setcolor(10);
    settextstyle(8,0,3);
    outtextxy(420,60,"PLAYER 2");
    setcolor(4);
    line(420,90,540,90);
    line(420,92,540,92);
    setcolor(15);
    settextstyle(7,0,1);
    outtextxy(420,120,"Use Numeric");
    settextstyle(7,0,1);
    outtextxy(420,160," Arrow Keys ");
    settextstyle(7,0,1);
    outtextxy(420,200," to Select & ");
    settextstyle(7,0,1);
    outtextxy(420,240,"Ins Button");
    settextstyle(7,0,1);
    outtextxy(420,280," to Insert");

 ////////////////////////////  End Instructions ////////////////////////////

 /////Formation of Main Rectangular Box Containing Smallar Rectangles //////

 //******* Formation Of Border of Rectangular Box With Colored Fill *******
    setcolor(10);
    rectangle(160,70,395,380);
    rectangle(161,71,394,379);
    setcolor(4);
    setfillstyle(1,4);
    rectangle(162,72,393,378);
    floodfill(164,74,4);
    setcolor(14);
    rectangle(159,69,396,381);
    setcolor(1);
    rectangle(158,68,397,382);
    rectangle(157,67,398,383);
    rectangle(156,66,399,384);
 //********End of Formation Of Border Of Box Colored Fill.

 //******** Small Rectangular in Main Box
    setcolor(7);
    Rectangle(170,80,235,150,14);    //rectangle [0,0]
    Rectangle(245,80,310,150,14);    //rectangle [0,1]
    Rectangle(320,80,385,150,14);    //rectangle [0,2]

    Rectangle(170,160,235,230,14);   //rectangle [1,0]
    Rectangle(245,160,310,230,14);   //rectangle [1,1]
    Rectangle(320,160,385,230,14);   //rectangle [1,2]

    Rectangle(170,240,235,305,14);   //rectangle [2,0]
    Rectangle(245,240,310,305,14);   //rectangle [2,1]
    Rectangle(320,240,385,305,14);   //rectangle [2,3]


 //******** End Small Rectangular in Main Box

     movement(0,0);

 /////////////////// End Designing of Game's Main page //////////////////


 /////////////////// Start of Game's Logical Programming /////////////////

     int x1,y1,x2,y2;
     x1=169;
     y1=313;
     x2=389;
     y2=373;
     for(x=1;x<17;x++)
     {
       setcolor(15);
       rectangle(x1,y1,x2,y2);
    x1=x1+2;
    y1=y1+2;
    x2=x2-2;
    y2=y2-2;
     }
   char ch=0;
    x=0;
   int  y=0;

 player1:

////////////////////// Plying Conditions For Player 1 ///////////////////

   while(ch!=27)
     {

     setcolor(2);
     settextstyle(8,0,4);
     outtextxy(120,400,"Second Player's Term");
     setcolor(1);
     settextstyle(8,0,4);
     outtextxy(120,400,"First Player's Term");

     movement(x,y);
   ch=getche();
      if(ch=='M'&&y<2&&y>=0)
     {
     y=y+1;
     }
      if(ch=='K'&&y<=2&&y>0)
     {
     y=y-1;
     }
      if(ch=='P'&&x<2&&x>=0)
    {
     x=x+1;
     }
       if(ch=='H'&&x<=2&&x>0)
    {
    x=x-1;
    }

    if(ch=='\r'&&arr[x][y]==0)
      {
      insert1(x,y);
      arr[x][y]=1;
      count1[x][y]=1;
      setcolor(10);
      settextstyle(8,0,4);

 //******************* Win Conditions For First Player ******************

       if(count1[0][0]==1&&count1[1][0]==1&&count1[2][0]==1)  //1st column
      {
          Rectangle1(170,80,235,150,2);
          Rectangle1(170,160,235,230,2);
          Rectangle1(170,240,235,305,2);
          win_player1();
          goto end;
        }
       else
     if(count1[0][1]==1&&count1[1][1]==1&&count1[2][1]==1) //2nd column
         {
          Rectangle1(245,80,310,150,2);
          Rectangle1(245,160,310,230,2);
          Rectangle1(245,240,310,305,2);
          win_player1();
          goto end;
         }
    else
     if(count1[0][2]==1&&count1[1][2]==1&&count1[2][2]==1) //3rd column
       {
         Rectangle1(320,80,385,150,2);
         Rectangle1(320,160,385,230,2);
         Rectangle1(320,240,385,305,2);
         win_player1();
          goto end;
        }
     else
     if(count1[0][0]==1&&count1[0][1]==1&&count1[0][2]==1)  //1st row
     {
       Rectangle1(170,80,235,150,2);
       Rectangle1(245,80,310,150,2);
       Rectangle1(320,80,385,150,2);
       win_player1();
        goto end;
     }
     else
      if(count1[1][0]==1&&count1[1][1]==1&&count1[1][2]==1)  //2nd row
      {
       Rectangle1(170,160,235,230,2);
       Rectangle1(245,160,310,230,2);
       Rectangle1(320,160,385,230,2);
          win_player1();
          goto end;
        }
     else
     if(count1[2][0]==1&&count1[2][1]==1&&count1[2][2]==1) // 3rd row
     {
      Rectangle1(170,240,235,305,2);
      Rectangle1(245,240,310,305,2);
      Rectangle1(320,240,385,305,2);
          win_player1();
          goto end;
        }
     else
     if(count1[0][0]==1&&count1[1][1]==1&&count1[2][2]==1)
     {
         Rectangle1(170,80,235,150,2);
         Rectangle1(245,160,310,230,2);
         Rectangle1(320,240,385,305,2);
          win_player1();
          goto end;
        }
     else
     if(count1[0][2]==1&&count1[1][1]==1&&count1[2][0]==1)
        {
          Rectangle1(320,80,385,150,2);
          Rectangle1(245,160,310,230,2);
          Rectangle1(170,240,235,305,2);
          win_player1();
          goto end;
        }

    //*******************Win Conditions For Second Player ***********
       else
    if(count2[0][0]==1&&count2[1][0]==1&&count2[2][0]==1) //1st column
      {
          Rectangle1(170,80,235,150,2);
          Rectangle1(170,160,235,230,2);
          Rectangle1(170,240,235,305,2);
          win_player2();
          goto end;
        }
       else
     if(count2[0][1]==1&&count2[1][1]==1&&count2[2][1]==1) //2nd column
         {
          Rectangle1(245,80,310,150,2);
          Rectangle1(245,160,310,230,2);
          Rectangle1(245,240,310,305,2);
         win_player2();
          goto end;
         }
    else
     if(count2[0][2]==1&&count2[1][2]==1&&count2[2][2]==1) //3rd column
       {
         Rectangle1(320,80,385,150,2);
         Rectangle1(320,160,385,230,2);
         Rectangle1(320,240,385,305,2);
         win_player2();
          goto end;
        }
     else
     if(count2[0][0]==1&&count2[0][1]==1&&count2[0][2]==1) //1st row
     {
       Rectangle1(170,80,235,150,2);
       Rectangle1(245,80,310,150,2);
       Rectangle1(320,80,385,150,2);
       win_player2();
        goto end;
     }
     else
      if(count2[1][0]==1&&count2[1][1]==1&&count2[1][2]==1) //2nd row
      {
       Rectangle1(170,160,235,230,2);
       Rectangle1(245,160,310,230,2);
       Rectangle1(320,160,385,230,2);
          win_player2();
          goto end;
        }
     else
     if(count2[2][0]==1&&count2[2][1]==1&&count2[2][2]==1) //3rd row
     {
      Rectangle1(170,240,235,305,2);
      Rectangle1(245,240,310,305,2);
      Rectangle1(320,240,385,305,2);
          win_player2();
          goto end;
        }
     else
     if(count2[0][0]==1&&count2[1][1]==1&&count2[2][2]==1)
     {
         Rectangle1(170,80,235,150,2);
         Rectangle1(245,160,310,230,2);
         Rectangle1(320,240,385,305,2);
          win_player2();
          goto end;
        }
     else
     if(count2[0][2]==1&&count2[1][1]==1&&count2[2][0]==1)
        {
          Rectangle1(320,80,385,150,2);
          Rectangle1(245,160,310,230,2);
          Rectangle1(170,240,235,305,2);
          win_player2();
          goto end;
        }
     else
 //***************** Conditions For Draw ************************
     if(arr[0][0]==1&&arr[0][1]==1&&arr[0][2]==1
        &&arr[1][0]==1&&arr[1][1]==1&&arr[1][2]==1
        &&arr[2][0]==1&&arr[2][1]==1&&arr[2][2]==1)
      {
         movement(5,5);

         for(int i=22;i<557;i++)
           {
        setcolor(4);
        settextstyle(10,0,4);
        outtextxy(i,389,"Þ");
        delay(5);
        }
        setcolor(10);
        settextstyle(8,0,4);
        outtextxy(120,400,"  Game has Drawn ");
        goto end;
       }

      goto player2;
     }
   }

 player2:
 ////////////////////// Plying Conditions For Player 2 ///////////////////
  while(ch!=27)
   {

     setcolor(2);
     settextstyle(8,0,4);
     outtextxy(120,400,"First Player's Term");
     setcolor(1);
     settextstyle(8,0,4);
     outtextxy(120,400,"Second Player's Term");

   movement(x,y);
   ch=getche();
   if((ch==54)&&y<2&&y>=0)
   {
   y=y+1;
   }
     if((ch==52)&&y<=2&&y>0)
     {
     y=y-1;
     }

   if((ch==50)&&x<2&&x>=0)
   {
   x=x+1;
   }
   if((ch==56)&&x<=2&&x>0)
   {
   x=x-1;
   }
    if(ch==48&&arr[x][y]==0)
    {
      insert2(x,y);
      arr[x][y]=1;
      count2[x][y]=1;
      setcolor(10);
      settextstyle(8,0,4);

 //*************** Win Conditions For First Player ***********

       if(count1[0][0]==1&&count1[1][0]==1&&count1[2][0]==1) //1st column
      {
          Rectangle1(170,80,235,150,2);
          Rectangle1(170,160,235,230,2);
          Rectangle1(170,240,235,305,2);
          win_player1();
          goto end;
        }
       else
     if(count1[0][1]==1&&count1[1][1]==1&&count1[2][1]==1) //2nd column
         {
          Rectangle1(245,80,310,150,2);
          Rectangle1(245,160,310,230,2);
          Rectangle1(245,240,310,305,2);
          win_player1();
          goto end;
         }
    else
     if(count1[0][2]==1&&count1[1][2]==1&&count1[2][2]==1) //3rd column
       {
         Rectangle1(320,80,385,150,2);
         Rectangle1(320,160,385,230,2);
         Rectangle1(320,240,385,305,2);
         win_player1();
          goto end;
        }
     else
     if(count1[0][0]==1&&count1[0][1]==1&&count1[0][2]==1) //1st row
     {
       Rectangle1(170,80,235,150,2);
       Rectangle1(245,80,310,150,2);
       Rectangle1(320,80,385,150,2);
       win_player1();
        goto end;
     }
     else
      if(count1[1][0]==1&&count1[1][1]==1&&count1[1][2]==1) //2nd row
      {
       Rectangle1(170,160,235,230,2);
       Rectangle1(245,160,310,230,2);
       Rectangle1(320,160,385,230,2);
          win_player1();
          goto end;
        }
     else
     if(count1[2][0]==1&&count1[2][1]==1&&count1[2][2]==1) //3rd row
     {
      Rectangle1(170,240,235,305,2);
      Rectangle1(245,240,310,305,2);
      Rectangle1(320,240,385,305,2);
          win_player1();
          goto end;
        }
     else
     if(count1[0][0]==1&&count1[1][1]==1&&count1[2][2]==1)
     {
         Rectangle1(170,80,235,150,2);
         Rectangle1(245,160,310,230,2);
         Rectangle1(320,240,385,305,2);
          win_player1();
          goto end;
        }
     else
     if(count1[0][2]==1&&count1[1][1]==1&&count1[2][0]==1)
        {
          Rectangle1(320,80,385,150,2);
          Rectangle1(245,160,310,230,2);
          Rectangle1(170,240,235,305,2);
          win_player1();
          goto end;
        }

  //*******************Win Conditions For Second Player ***********

       else
    if(count2[0][0]==1&&count2[1][0]==1&&count2[2][0]==1) //1st column
      {
          Rectangle1(170,80,235,150,2);
          Rectangle1(170,160,235,230,2);
          Rectangle1(170,240,235,305,2);
          win_player2();
          goto end;
        }
       else
     if(count2[0][1]==1&&count2[1][1]==1&&count2[2][1]==1) //2nd column
         {
          Rectangle1(245,80,310,150,2);
          Rectangle1(245,160,310,230,2);
          Rectangle1(245,240,310,305,2);
          win_player2();
          goto end;
         }
    else
     if(count2[0][2]==1&&count2[1][2]==1&&count2[2][2]==1) //3rd column
       {
         Rectangle1(320,80,385,150,2);
         Rectangle1(320,160,385,230,2);
         Rectangle1(320,240,385,305,2);
         win_player2();
          goto end;
        }
     else
     if(count2[0][0]==1&&count2[0][1]==1&&count2[0][2]==1) //1st row
     {
       Rectangle1(170,80,235,150,2);
       Rectangle1(245,80,310,150,2);
       Rectangle1(320,80,385,150,2);
       win_player2();
        goto end;
     }
     else
      if(count2[1][0]==1&&count2[1][1]==1&&count2[1][2]==1) //2nd row
      {
       Rectangle1(170,160,235,230,2);
       Rectangle1(245,160,310,230,2);
       Rectangle1(320,160,385,230,2);
          win_player2();
          goto end;
        }
     else
     if(count2[2][0]==1&&count2[2][1]==1&&count2[2][2]==1) //3rd row
     {
      Rectangle1(170,240,235,305,2);
      Rectangle1(245,240,310,305,2);
      Rectangle1(320,240,385,305,2);
          win_player2();
          goto end;
        }
     else
     if(count2[0][0]==1&&count2[1][1]==1&&count2[2][2]==1)
     {
         Rectangle1(170,80,235,150,2);
         Rectangle1(245,160,310,230,2);
         Rectangle1(320,240,385,305,2);
          win_player2();
          goto end;
        }
     else
     if(count2[0][2]==1&&count2[1][1]==1&&count2[2][0]==1)
        {
          Rectangle1(320,80,385,150,2);
          Rectangle1(245,160,310,230,2);
          Rectangle1(170,240,235,305,2);
          win_player2();
          goto end;
        }
     else
 //***************** Conditions For Draw ************************

     if(arr[0][0]==1&&arr[0][1]==1&&arr[0][2]==1
        &&arr[1][0]==1&&arr[1][1]==1&&arr[1][2]==1
        &&arr[2][0]==1&&arr[2][1]==1&&arr[2][2]==1)
       {
           movement(5,5);
         for(int i=22;i<557;i++)
           {
        setcolor(4);
        settextstyle(10,0,4);
        outtextxy(i,389,"Þ");
        delay(5);
           }
        setcolor(10);
        settextstyle(8,0,4);
        outtextxy(120,400,"  Game has Drawn ");
        }
      goto player1;
     }
       }
  end:
    getch();
    goto top;
    getch();
    closegraph();
     }  //End main
 ////////////////////////////  End Of Main Function ///////////////////////

 //************************ Start Of Function Definations ***************

 //** To Design small squre Rectangular Box ie 'Rectangle Within A Rectangle'

  void Rectangle(int x1,int y1,int x2,int y2,int col1)
       {
       setcolor(0);
       setfillstyle(1,0);
       rectangle(x1+7,y1+7,x2-7,y2-7);
       floodfill(x1+10,y1+10,0);
       setcolor(10);
       rectangle(x1,y1,x2,y2);
       rectangle(x1+7,y1+7,x2-7,y2-7);
       }

 //************* Rectangles To Design Selected portions

  void Rectangle1(int x1,int y1,int x2,int y2,int col1)
       {
       setcolor(col1);
       for(int n=1;n<7;n++)
       rectangle(x1+n,y1+n,x2-n,y2-n);
       }

//************************  Function For Selected Rectangle  ***************

    void movement(int x,int y)
    {
    int col1,col2;
    col1=2;
    col2=1;
    if(x==0&&y==0)
    Rectangle1(170,80,235,150,col1);
    else
    Rectangle1(170,80,235,150,col2);
    if(x==0&&y==1)
    Rectangle1(245,80,310,150,col1);
    else
    Rectangle1(245,80,310,150,col2);
    if(x==0&&y==2)
    Rectangle1(320,80,385,150,col1);
    else
    Rectangle1(320,80,385,150,col2);
    if(x==1&&y==0)
    Rectangle1(170,160,235,230,col1);
    else
    Rectangle1(170,160,235,230,col2);
    if(x==1&&y==1)
    Rectangle1(245,160,310,230,col1);
    else
    Rectangle1(245,160,310,230,col2);
    if(x==1&&y==2)
    Rectangle1(320,160,385,230,col1);
    else
    Rectangle1(320,160,385,230,col2);
    if(x==2&&y==0)
    Rectangle1(170,240,235,305,col1);
    else
    Rectangle1(170,240,235,305,col2);
    if(x==2&&y==1)
    Rectangle1(245,240,310,305,col1);
    else
    Rectangle1(245,240,310,305,col2);
    if(x==2&&y==2)
    Rectangle1(320,240,385,305,col1);
    else
    Rectangle1(320,240,385,305,col2);
    }

  //****************** Function For '-' Sign Called Tic

  void Tick1(int x,int y)
      {
      setcolor(10);
      settextstyle(10,0,4);
      outtextxy(x,y,"-");
       }
 //******************* Function For '+' Sign Called cross

  void Tick2(int x,int y)
      {
      setcolor(10);
      settextstyle(10,0,4);
      outtextxy(x,y,"+");
      }

//***** Insertion Of '-'Sign When Enter is Pressed By Player 1.***********

    void insert1(int x,int y)
       {
      if(x==0&&y==0)
      Tick1(192,77);
      if(x==0&&y==1)
      Tick1(266,77);
      if(x==0&&y==2)
      Tick1(340,77);
      if(x==1&&y==0)
      Tick1(192,155);
      if(x==1&&y==1)
      Tick1(266,155);
      if(x==1&&y==2)
      Tick1(340,155);
      if(x==2&&y==0)
      Tick1(192,233);
      if(x==2&&y==1)
      Tick1(266,233);
      if(x==2&&y==2)
      Tick1(340,233);
       }


//***** Insertion Of '+'Sign When Ins Button is Pressed By Player 2.*******

   void insert2(int x,int y)
       {
      if(x==0&&y==0)
      Tick2(192,77);
      if(x==0&&y==1)
      Tick2(266,77);
      if(x==0&&y==2)
      Tick2(340,77);
      if(x==1&&y==0)
      Tick2(192,155);
      if(x==1&&y==1)
      Tick2(266,155);
      if(x==1&&y==2)
      Tick2(340,155);
      if(x==2&&y==0)
      Tick2(192,233);
      if(x==2&&y==1)
      Tick2(266,233);
      if(x==2&&y==2)
      Tick2(340,233);
       }

 //**************Instruction Page Accessable From main Menue Options

  void instructions()
     {
     cleardevice();
     setbkcolor(0);
     setcolor(2);
     settextstyle(10,0,1);
     outtextxy(200,10,"INSTRUCTIONS");
     int a1x=4,b1y=4,a2x=615,b2y=469;
     for(int zafar1=1;zafar1<4;zafar1++)
     {
     setcolor(9);
     rectangle(++a1x,++b1y,--a2x,--b2y);
     }
     setcolor(7);
     rectangle(3,3,616,470);
     rectangle(10,10,609,463);
     setcolor(4);
     line(200,50,400,50);
     line(200,52,400,52);
     setcolor(2);
     settextstyle(8,0,3);
     outtextxy(30,70,"Player 1 :");
     settextstyle(8,0,1);
     setcolor(7);
     outtextxy(80,110,"1-Use Arrow Keys To Select A box. ");
     outtextxy(80,150,"2-Use Enter Button To insert tick on selected box. ");
     setcolor(4);
     outtextxy(80,200,"               ***************");
     setcolor(2);
     settextstyle(8,0,3);
     outtextxy(30,250,"Player 2 :");
     settextstyle(8,0,1);
     setcolor(7);
     outtextxy(80,290,"1-Use Numeric Arrow Keys To Select A box. ");
     outtextxy(80,330,"2-Use Numeric Ins Button To insert Cross on");
     outtextxy(80,370,"   selected box. ");
     setcolor(4);
     outtextxy(80,410,"               ***************");
     }

  //********* Winning Message For Player 1

  void win_player1()
    {
    for(int i=22;i<557;i++)
       {
    setcolor(4);
    settextstyle(10,0,4);
    outtextxy(i,389,"Þ");
    delay(5);
    }
    setcolor(10);
    settextstyle(8,0,4);
    outtextxy(100,400,"First Player is Winner");
     }

  //********* Winning Message For Player 2

  void win_player2()
    {
     for(int i=22;i<557;i++)
       {
    setcolor(4);
    settextstyle(10,0,4);
    outtextxy(i,389,"Þ");
    delay(5);
    }
     setcolor(10);
     settextstyle(8,0,4);
     outtextxy(100,400,"Second Player is Winner");
     }

 //************ First Page (Intro)

 void Intro()
    {
    int za1x=4,zb1y=4,za2x=615,zb2y=469;
    for(int zafar1=1;zafar1<4;zafar1++)
       {
    setcolor(9);
    rectangle(++za1x,++zb1y,--za2x,--zb2y);
    }
    setcolor(7);
    rectangle(3,3,616,470);
    rectangle(10,10,609,463);
    setcolor(4);
    settextstyle(7,0,5);
    outtextxy(100,260,"PROGRAMMED BY");
    setcolor(14);
    settextstyle(7,0,7);
    outtextxy(50,312,"M.");
    setcolor(2);
    settextstyle(7,0,6);
    outtextxy(129,323,"Z");
    setcolor(4);
    outtextxy(162,323,"A");
    setcolor(14);
    outtextxy(198,323,"F");
    setcolor(2);
    outtextxy(233,323,"A");
    setcolor(4);
    outtextxy(266,323,"R");
    setcolor(14);
    outtextxy(325,323,"S");
    setcolor(2);
    outtextxy(362,323,"A");
    setcolor(4);
    outtextxy(395,323,"L");
    setcolor(14);
    outtextxy(433,323,"E");
    setcolor(2);
    outtextxy(469,323,"E");
    setcolor(14);
    outtextxy(505,323,"M");
  int i,j,col,counter,c1=2,c2=40,f=0;
  while(!kbhit())
   {
   counter++;
   i=160,j=30;
   setcolor(col);
   settextstyle(7,0,6);
   outtextxy(i+=30,j,"T");
   setcolor(col+1);
   outtextxy(i+=30,j,"I");
   setcolor(col+2);
   outtextxy(i+=30,j,"C");
   setcolor(col+3);
   outtextxy(i+=60,j,"T");
   setcolor(col+4);
   outtextxy(i+=30,j,"A");
   setcolor(col+5);
   outtextxy(i+=40,j,"C");
   j=100;
   i=140;
   settextstyle(7,0,4);
   setcolor(col+6);
   outtextxy(i+=90,j,"G");
   setcolor(col+7);
   outtextxy(i+=30,j,"A");
   setcolor(col+8);
   outtextxy(i+=30,j,"M");
   setcolor(col+9);
   outtextxy(i+=30,j,"E");

     if(c1<=40)
     {
     delay(150);
     setcolor(2);
     circle(300,200,c1);
     c1+=2;
     }
   else
     {
     delay(150);
     setcolor(4);
     circle(300,200,c2);
     c2-=2;
      }
      if(c2<=0)
    {
    c1=2;
    c2=40;
     }
      col++;

      } //End While
      getch();
   }//End Function Body


 ////////////////////////////////////////////////////////////////////////

 //****************************  End Of Prgrame *************************

 ////////////////////////////////////////////////////////////////////////

Read Users' Comments (0)

Code for creating a Calculater in C++ ( Calculater.CPP )


#include
#include
#include
#include
#include
#include

  class graphics
     {
       public:
      void screen(int x1,int y1,int x2,int y2)
          {
           setcolor(0);
           setfillstyle(1,0);
           rectangle(x1,y1,x2,y2);
           floodfill(x1+2,y1+2,0);
           setcolor(15);
           Rectangle(x1,y1,x2,y2,15,8);
           Rectangle(x1-1,y1-1,x2+1,y2+1,15,8);
           gotoxy(30,9);
           cout<<"0";
          }
      /*   void button(int x1,int y1,int x2,int y2,char *ch,int true)
        {
           int col;
           setcolor(15);
           rectangle(x1,y1,x2,y2);
           if(true==1)
         col=4;
        else
         col=5;
           setcolor(col);
           setfillstyle(1,col);
           rectangle(x1+2,y1+2,x2-2,y2-2);
           floodfill(x1+4,y1+4,col);
           setcolor(15);
           rectangle(x1+2,y1+2,x2-2,y2-2);
           setcolor(15);
           settextstyle(2,0,6);
           outtextxy(x1+12,y1+4,ch);
        }*/
    void button(int x1,int y1,int x2,int y2,char *ch,int col)
         {
          int color;
          setcolor(col);
          setfillstyle(1,col);
          rectangle(x1,y1,x2,y2);
          floodfill(x1+2,y1+2,col);
          Rectangle(x1-1,y1-1,x2+1,y2+1,0,15);
          if(col==4)
         color=15;
         else
          color=0;
          setcolor(color);
          settextstyle(2,0,6);
          outtextxy(x1+12,y1+3,ch);
         }
      void pressed_button(int x1,int y1,int x2,int y2,char *ch,int col1,int col2)
        {
          button(x1,y1,x2,y2,ch,col1);
          delay(200);
          button(x1,y1,x2,y2,ch,col2);
        }

       void Rectangle(int x1,int y1,int x2,int y2,int col1,int col2)
        {
         setcolor(col1);
         line(x2,y1,x2,y2);
         line(x1,y2,x2,y2);
         setcolor(col2);
         line(x1,y1,x2,y1);
         line(x1,y1,x1,y2);
        }
       void Form(int x1,int y1,int x2,int y2,int col1,int col2,char *ch)
        {
          setcolor(col1);
          setfillstyle(1,col1);
          rectangle(x1,y1,x2,y2);
          floodfill(x1+2,y1+2,col1);
          setcolor(col2);
          setfillstyle(1,col2);
          rectangle(x1,y1,x2,y1+20);
          floodfill(x1+2,y1+2,col2);
          Rectangle(x1-1,y1-1,x2+1,y2+1,8,15);
          Rectangle(x1-2,y1-2,x2+2,y2+2,8,15);
          setcolor(15);
          settextstyle(2,0,5);
          outtextxy(x1+8,y1+2,ch);
       }
       void Interface()
       {
        setcolor(15);
        settextstyle(1,0,4);
        outtextxy(170,20,"Simple Calculator");
        setcolor(0);
        setfillstyle(1,0);
        rectangle(220,90,410,340);
        floodfill(222,92,0);
        Form(210,80,400,330,7,4,"Calculator");
        screen(225,120,385,145);
        int x1=220,y1=175,x2=250,y2=200;
         int col=4;
        button(x1,y1,x2,y2,"7",col);
        button(x1+=35,y1,x2+=35,y2,"8",col);
        button(x1+=35,y1,x2+=35,y2,"9",col);
        button(x1+=35,y1,x2+=35,y2,"û",col);
        button(x1+=35,y1,x2+=35,y2,"C",col);
      y1+=35;
      y2+=35;
      x1=220;
      x2=250;
   button(x1,y1,x2,y2,"4",col);
   button(x1+=35,y1,x2+=35,y2,"5",col);
   button(x1+=35,y1,x2+=35,y2,"6",col);
   button(x1+=35,y1,x2+=35,y2,"*",col);
   button(x1+=35,y1,x2+=35,y2,"/",col);
      y1+=35;
      y2+=35;
      x1=220;
      x2=250;
   button(x1,y1,x2,y2,"1",col);
   button(x1+=35,y1,x2+=35,y2,"2",col);
   button(x1+=35,y1,x2+=35,y2,"3",col);
   button(x1+=35,y1,x2+=35,y2,"+",col);
   button(x1+=35,y1,x2+=35,y2,"-",col);
      y1+=35;
      y2+=35;
      x1=220;
      x2=250;
   button(x1,y1,x2,y2,"0",col);
   button(x1+=35,y1,x2+=35,y2,".",col);
   button(x1+=35,y1,x2+=35,y2,"ã",col);
   button(x1+=35,y1,x2+=35,y2,"A",col);
   button(x1+=35,y1,x2+=35,y2,"=",col);

        setcolor(14);
        settextstyle(1,0,3);
        outtextxy(185,380,"Press Escape To Exit");
        setcolor(15);
        settextstyle(7,0,2);
        outtextxy(440,100,"Instructions");
        setcolor(10);
        settextstyle(8,0,1);
        outtextxy(430,150,"Press 'u' For û");
        outtextxy(430,200,"Press 'p' For ã");
        outtextxy(430,250,"Press 'c' For Clear");
        setcolor(15);
        settextstyle(7,0,2);
        outtextxy(20,100,"Designer & ");
        outtextxy(50,140,"Progrmmer");
        setcolor(10);
        settextstyle(7,0,2);
        outtextxy(20,180,"M. Zafar Saleem");
        setcolor(15);
        outtextxy(20,225,"Group Name");
        setcolor(10);
        outtextxy(50,270,"Educators (é)");

       }
     };


void main()
 {
  int d,m;
   d=DETECT;
   initgraph(&d,&m,"..\\bgi");
   cleardevice();
   /////////////////////  backcolor
          int col=1;     // Adgust Background color
          setcolor(col);
          setfillstyle(1,col);
          rectangle(0,0,625,475);
          floodfill(2,2,col);
          setcolor(7);
          rectangle(0,0,625,475);
          rectangle(1,1,624,474);
          rectangle(3,3,622,472);
   /////////////////////////////////////
   graphics g;
   g.Interface();

 char ch,a1[25],a2[25];
 int x=0,c=30,r=9,pi=0;
 int clear=0,equals=0,equal1=0,answer=0;
 float val1,val2;
 float result;
 int sum=0,mul=0,div=0,sub=0;
 do
  {
  gotoxy(c,r);
  ch=getch();
  if(clear==1||equals==1||answer==1||pi==1)
    {
    gotoxy(30,9);
    cout<<"0                 ";
    clear=0;
    equals=0;
    answer=0;
    pi=0;
    }
  if(x>9&&(!(ch=='+'||ch=='-'||ch=='*'||ch=='/'||ch=='='||ch=='c'||ch=='C'||ch=='u'||ch=='U')))
      continue;
  gotoxy(c,r);
  switch(ch)
   {
    case '1':
    g.pressed_button(220,245,250,270,"1",14,4);
    cout<<"1";
    break;
    case '2':
    g.pressed_button(255,245,285,270,"2",14,4);
    cout<<"2";
    break;
    case '3':
    g.pressed_button(290,245,320,270,"3",14,4);
    cout<<"3";
    break;
    case '4':
    g.pressed_button(220,210,250,235,"4",14,4);
    cout<<"4";
    break;
    case '5':
    g.pressed_button(255,210,285,235,"5",14,4);
    cout<<"5";
    break;
    case '6':
    g.pressed_button(290,210,320,235,"6",14,4);
    cout<<"6";
    break;
    case '7':
    g.pressed_button(220,175,250,200,"7",14,4);
    cout<<"7";
    break;
    case '8':
    g.pressed_button(255,175,285,200,"8",14,4);
    cout<<"8";
    break;
    case '9':
    g.pressed_button(290,175,320,200,"9",14,4);
    cout<<"9";
    break;
    case 'C':case 'c':
      g.pressed_button(360,175,390,200,"C",14,4);
      gotoxy(30,9);
      cout<<"0                  ";
      sum=0;mul=0;div=0;sub=0;
      c=30;r=9;x=0;
      clear=1;
      continue;
      break;
    case '*':
       g.pressed_button(325,210,355,235,"*",14,4);
      a1[x]='\0';
      val1=atof(a1);
      mul=1;
      c=30;r=9;x=0;
      clear=1;
      continue;
    break;
    case '/':
      g.pressed_button(360,210,390,235,"/",14,4);
      a1[x]='\0';
      val1=atof(a1);
      div=1;
      c=30;r=9;x=0;
      clear=1;
      continue;
    break;

    case '+':
      g.pressed_button(325,245,355,270,"+",14,4);
      a1[x]='\0';
      val1=atof(a1);
      sum=1;
      c=30;r=9;x=0;
      clear=1;
      continue;
    break;
    case '-':
      g.pressed_button(360,245,390,270,"-",14,4);
      a1[x]='\0';
      val1=atof(a1);
      sub=1;
      c=30;r=9;x=0;
      clear=1;
      continue;
    break;
    case 'p':case 'P':
    g.pressed_button(290,280,320,305,"ã",14,4);
    gotoxy(30,9);
    cout<<"                   " ;
    gotoxy(30,9);
    cout<<"3.14";
    pi=1;
    continue;
    break;
    case 'U': case 'u':
      g.pressed_button(325,175,355,200,"û",14,4);
      a1[x]='\0';
      val1=atof(a1);
      result=sqrt(val1);
      gotoxy(30,9);
      cout<<"             ";
      gotoxy(30,9);
      cout<
      c=30;r=9;x=0;
      clear=1;
      continue;
    break;
    case 'A':case 'a':
    g.pressed_button(325,280,355,305,"A",14,4);
    if(equal1==1)
    {
    gotoxy(30,9);
    cout<<"                ";
    gotoxy(30,9);
    cout<
    }
    answer=1;
    continue;
    break;
    case '=':
      a2[x]='\0';
      val2=atof(a2);
      g.pressed_button(360,280,390,305,"=",14,4);
      gotoxy(30,9);
      cout<<"0                 ";
      if(sum==1)
      {
      result=val1+val2;
      gotoxy(30,9);
      cout<
      }
      else
      if(div==1)
      {
    if(val2==0)
      {
      gotoxy(30,9);
      cout<<"ì";
     }
      else
      {
      result=val1/val2;
      gotoxy(30,9);
      cout<
      }
      }
      else
      if(mul==1)
      {
      result=val1*val2;
      gotoxy(30,9);
      cout<
      }
      else
      if(sub==1)
      {
      result=val1-val2;
      gotoxy(30,9);
      cout<
      }
    equals=1;
    equal1=1;
       c=30;r=9,x=0;
       continue;
    break;
    case '.':
      g.pressed_button(255,280,285,305,".",14,4);
      if(x>0)
      cout<<".";
      else
       continue;
    break;
    case '0':
      g.pressed_button(220,280,250,305,"0",14,4);
      if(x>0)
      cout<<"0";
      else
    continue;
    break;
  default:
       continue;
   }
   c++;
   if(sum==0&&sub==0&&mul==0&&div==0)
       a1[x]=ch;
    else
       a2[x]=ch;
    x++;

  }while(ch!=27);

  closegraph();
 }

Read Users' Comments (0)