Friday, July 4, 2008

To lock your desktop with just two mouse clicks. (Windows XP)

To lock your XP works-tation with just two clicks of the mouse. First create a new shortcut on your desktop using a right mouse click, and enter 'rundll32.exe user32.dll,LockWorkStation' in the location field. Name the shortcut whatever you like. Then just double click on it and your computer will be instantly locked. The Windows key + L also does the same thing.

To delete an item immediately without sending it to the Recycle Bin. (Windows XP Pro)

It is possible to delete a file immediately in XP Pro without sending it to the recycle bin first. Go to the Start Menu, select Run and type 'gpedit.msc'. Select User Configuration, Administrative Templates, Windows Components, Windows Explorer and find the Do not move deleted files to the Recycle Bin setting.

Wednesday, July 2, 2008

Save lot of space of your Harddisk & increase speed....

Do it yourself without using any 3rd party software.......
It will not only save your harddisk space but also increase the efficiency of the computer.........

Create a file named filename.bat on any of your partition and write the following code in that file and then save. After saving run and enjoy the increased efficiency of your PC.
Note: Add/ remove the name of partition as per your partitions number/ name like d: or E: or F: etc.
---------------------
cd\
del/s *.tmp, *.bak
cd C:\Documents and Settings\Administrator\Local Settings\Temp
del *.*
cd C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
del *.*
cd c:\windows\temp
del *.*
d:
del/s *.tmp, *.bak
e:
del/s *.tmp, *.bak
----------------------

You can also add the names of junk/ spam files like *.fileextension at the end of *.bak,
Also if you wish you can add this filename.bat file to the startup of the computer/ windows........

Friday, June 27, 2008

Folder named "CON" cannot be created on XP, Windows

Folders with name: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5,
COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, & LPT9
cant be created using Windows Explorer or Command Prompt directly! ( Try this
out.. right click on your desktop and try creating folder named "con"it changes
back to "ew Folder" )

This is prevented as XP terms these folders as SYSTEM Folder Names reserved only
for the Operating System.. But there is a backdoor..(this trick is to create
system folders on XP through command prompt )

Try this:
CREATION

Syntax:md \\.\\$path
Example:prompt>md \\.\\C:\con
Explanation: This would create a folder named "con" on your "C Drive"


Similarly to delete such folder:
DELETION
Syntax:rd/s \\.\\$path
Example:prompt>rd/s \\.\\C:\con
Explanation: This would remove the folder named "con"!
Note: rd(Remove Directory) command is used with "/s" switch as otherwise it
would give error that "folder is not empty"!


On another hand...if you ever wondered how to create a folder with no
name...then try this:

Create a New Folder from Windows Explorer
Select rename & type: "ALT+255"(Use Numpad)..thats it!
ALT+255 stands for blank character in ASCII...so it still accepts your folder name!

Tuesday, June 24, 2008

Fee online antivirus scanner

Windows Live Safety Center helps tune up your computer, it is a new service that lets you scan your computer to help protect, clean, and keep it running at its best. The service is free and available directly from the Internet at http://safety.live.com.

Set Cookie expiry time

HttpCookie cookie = new HttpCookie("CookieName");
cookie.Value = "My important stuff to remember";
cookie.Expires = DateTime.Now.AddMinutes(30);
// Add the cookie to the out going Http Response
Response.Cookies.Add(cookie);
// This is all being done on the server so the following line is
// needed to actuall send the cookie
Response.Redirect(Page.Request.Path);

HttpCookie cookie = Request.Cookie["CookieName"];
// set cookie to expire 10 years ago
cookie.Expires = DateTime.Now.AddYears(-10);
Response.Cookies.Add(cookie);

Response.Redirect(Page.Request.Path);

JavaScript Cookie expires time

-------------------------------------------
only the first 2 parameters are required, the cookie name, the cookie
value. Cookie time is in milliseconds, so the below expires will make the
number you pass in the Set_Cookie function call the number of days the cookie
lasts, if you want it to be hours or minutes, just get rid of 24 and 60.

Generally you don't need to worry about domain, path or secure for most applications
so unless you need that, leave those parameters blank in the function call.

-------------------------------------------
function Set_Cookie( name, value, expires, path, domain, secure ) {
// set time, it's in milliseconds
var today = new Date();
today.setTime( today.getTime() );
// if the expires variable is set, make the correct expires time, the
// current script below will set it for x number of days, to make it
// for hours, delete * 24, for minutes, delete * 60 * 24
if ( expires )
{
expires = expires * 1000 * 60 * 60 * 24;
}
//alert( 'today ' + today.toGMTString() );// this is for testing purpose only
var expires_date = new Date( today.getTime() + (expires) );
//alert('expires ' + expires_date.toGMTString());// this is for testing purposes only

document.cookie = name + "=" +escape( value ) +
( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + //expires.toGMTString()
( ( path ) ? ";path=" + path : "" ) +
( ( domain ) ? ";domain=" + domain : "" ) +
( ( secure ) ? ";secure" : "" );
}
-------------------------------------------

Friday, June 20, 2008

Dot Net Crystal Reports Supress if 0 property

This is common problem of dot net programmers (specially starters) that how to supress a filed if its value is 0.
The ans is very simple.
Right click the field in the report designer screen.
Click format
Then on the right side of supress filed their is another formula field. click that field
then when a new screen appears type in the formula bar current value = "0"
Thats it friends...........

Another way of doing this is with the help of coding. When you are getting the value from the data set then pass zero string in the array when this condition occurs.

Hiding a XP Computer from Network Neighborhood

If you want to share files from a XP computer, yet want to remove it from showing up in the Network Neighborhood,
Run net config server /hidden:yes

Property Patiala

Buy/ Sell/ rent Property at Patiala (Contact +91 9988438089)

Software Downloads

Linux Tips

Under Construction

Speeding Up Network Browsing

There are a lot of things which can negatively impact how fast XP will browse network shares. One has been previously covered regarding browsing to Win9x computers.
Other things you can try, especially when there is slow browsing to network shares with a lot of files:
1. Remove current shortcuts in My Network Places
2. Change the registry so shared folders on remote computers are not automatically added to My Network Places when you even open a document from that shared folder
1. Start Regedit
Create a DWORD value:
HKEY_Current_User \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \ NoRecentDocsNetHood to 1.
I have also seen setting the following help as well.HKEY_Current_User \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \ UseDesktopIniCache to 1.
3. Increase the amount of data is buffered at one time to send to a client. On the computer with the shared directory:
Start Regedit
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Create a DWORD Key called SizReqBuf
Give it a value of Hex FFFF

Windows Help and Support Error

If you get an error Windows cannot find HELPCTR.EXE, it may be that a registry entry has gotten corrupted.
Start Regedit
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\HELPCTR.EXE
If the key isn't there, right click and create a new key HELPCTR.EXE
It should have a value of C:\WINDOWS\PCHealth\HelpCtr\Binaries\HelpCtr.exe
Reboot

Network Connection Always Shows Access Denied

If you are always getting Access Denied errors when trying to connect to a XP computer, and you know you have the correct user names and passwords on the computer, the solution may be a simple registry edit.
Start Regedit
Go to HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / Lsa
Change the value of a key called "restrictanonymous" to 0 instead of 1
Don't change "restrictanonymoussam" value.
Reboot

Task Manager is Menu Bar is Missing

If you start the Task Manager and menu bar and tabs are missing, the Task Manager is running in Tiny Footprint mode.
To fix this, simply double click on an empty space in the top border

Taking Ownership Of a Folder

Sometimes when you reinstall Windows XP, you can receive an Access Denied error when trying to open a previous user's directory.To take ownership of that folder again:
Log on with an account that has administrator rights
Right click on the folder
Select Properties
Click on the Security tab
Click on the Advanced button
Click on the Owner tab
In the list of Names, click on your name
To take ownership, click on Replace owner on subcontainers and objects
Click OK and Yes

IPCONFIG Error

When you run IPCONFIG and get an error:
An internal error occured: The request is not supported. Please contact Microsoft Product Support Services for further help. Additional information: Unable to query routing informationYou need to copy a clean TCPIP.SYS file to the \windows\system32\drivers directory and reboot

Thursday, June 19, 2008

Reduce MS windows booting time

Hello friends you can decrease the windows booting time by using following tips:

First
-------------------------
1. Click at the Start icon
2. Then click run
3. type msconfig, which will open a new window.
4. select startup then check the programms which u wish to run at start up. Un check rest of them which u do not want to run at start up. After that restart your windows.


Second
--------------------------
open the folder c:\windows\temp and then delete everything in it...... select all and delete

Third ( it will also increase your internet speed)
--------------------------
open documents and settings folder
then choose your login folder
then unhide everything from folder options
then you will find a folder local settings
then open the temp folder
then delete everything in it......... select all and delete
then come back to local settings folder
then open temp internet files folder
then delete everything in it......... select all and delete

At last re boot your machine........ u will find that atleast 5-10 seconds less delay time in booting.........
Enjoy..........................!!!!!!!!!!!!!!!