Wednesday, December 21, 2011

Changing .net Target Framework



I just faced one issue today i migrated my website from asp.net 3.5 framework to asp.net 4.0 but after that i was getting errors and wanted to switch back but i silly me that i had not taken any backup of the previous version. So after exploring around i got the
solution .......

Tuesday, December 20, 2011

Hiding Partitions


Many times we want to hide some files or hide a drive suppose e:\ as that data is crucial or we don't want to share this data with others so what can we do in this case.
There is a way out in Group Policy editor steps:
1) Open Group policy editor by clicking on Start >>run >>gpedit.msc
2) On extreme left pane click on administrative templates under User Configuration
3) Click on windows component then windows explorer
4) Double Click on Hide These Specified Drives In My Computer.
5) Under setting tab click on enable Choose the drive & hide that drive
isn't that Simple enough that anyone can do this .
To make the drive visible double click on Hide These Specified Drives In My Computer and disable it out .

Create Your Personal Log on Message


Create Your Personal Log on Message
To create a message for your windows log on try this trick.
1. Start >> Run type regedit and the click OK.
2. In the Registry Editor, find the following key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
3. Double click on LegalNoticeCaption, type something like My Personal Log on Message and then click OK.
4 Double click LegalNoticeText, and then type your log on message.
5. Close the Registry editor and your new message will appear at every log on.
Note:
For Standalone networks or Work groups or Personal Computers the custom screen appears just before the Welcome screen.

Can you create a folder without name is this possible...


yes it is we can create a folder without any name it seems very tempting isn't it . to do this there are just 2 steps to follow yes just 2 steps OK let us see


1) Create a folder while renaming the folder delete the name of the folder.
2) Press Alt+255 click enter

you would see a folder without any name nice na....

Monday, December 19, 2011

One Click Computer Lock..


I know it seems interesting if somebody says we can lock your system with just a single click, so how to go about it. I have 2 options if you people have any other please let me know i will be glad to add this on the blog. ok about this the first method


you can either create a short cut on your desktop or write a simple command on your run command is


"%Windir%\system32\rundll32.exe user32.dll,LockWorkStation"

How about creating a short cut
1) Rightclick on your desktop you will see new >> Shortcut
2) on this window you need to type the command
"%Windir%\system32\rundll32.exe user32.dll,LockWorkStation"
click on next
3) type the desired name you like for this shortcut click on finish
4)click on this shortcut to test.


now comming on the simplest way the second way

i know this would be much much simpler than the previous one

Use windows Key from Keybord with L

i.e. Win+L your desktop would be locked .......

Tips for creating a folder named con.


It seems really simple creating a folder in windows OS but hay try to create a folder right now but the twist is to create the folder with name CON try it were you successful i know if you are trting this with the help of GUI(graphical user interface) its really hard yes there is a bug in windows os if you are trying to create a folder named as CON you wont be successful.


So what can we do to create this folder we can create this folder in CUI(character User Interface) or using command prompt.
Try these steps :

1) click on start >> run
2) on run type CMD & click ok
3) you will see a black prompt window
3) type Mkdir \\.\c:\
4) to remove this directory you can type rmdir \\.c:\con

Difference between DML DDL DCL and TCL?




DML:

DML is abbreviation of Data manipulation Language. It is useed to work with the data of the tables.

Basic Statements: SELECT, UPDATE, INSERT, delete statements.