Saturday, January 29, 2011

Lock Any Folder Without Any Software.


Suppose you want to lock the folder games in E: which has the
path E:games

In the same drive create a text file and type

ren games games.{21EC2020-3AEA-1069-A2DD-08002B30309D}

Now save this text file with any name but the extension should 
.bat (batch file) eg lock.bat

Create another text file and type in it
ren games.{21EC2020-3AEA-1069-A2DD-08002B30309D} games

Now save this text file as with any name bt extension should be 
batch (open.bat)

Now Press lock.bat and the folder movies will change to control panel
and when u click it your control panel will be opened.

TO view the contents of your games folder just click open.bat.

To Use this trick efficiently hide the two batch files lock.bat
and open.bat and unhide them when u want to use ur game folder.


Tuesday, August 3, 2010

How to Put Google Search Engine Your Web sites ??

First off, the good news. Google itself actually has a nice page offering you HTML code you can just cut and paste onto your own Web pages to produce the search box you seek, and some variants beside.

Instead of relying on the bright sparks at Google, though, let's go through the steps of building our own search box instead, so you'll be able to see how it works.

In addition to that, you need an input field and a submit button. Put them all together and here's the minimalist Google search form that lets the user alternate between just your site (well, in this case just my site) or the entire Web:

write down this code in notepad save it as search.html::

<form action="http://www.google.co.in/cse" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="partner-pub-0332546587647614:8760757066" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="55" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
<script type="text/javascript" src="http://www.google.com/cse/t13n?form=cse-search-box&t13n_langs=am%2Car%2Cen%2Cbn%2Ckn%2Chi%2Cel%2Cml%2Cmr%2Cne%2Cfa%2Csr%2Cur%2Cti%2Csa%2Cte%2Cpa%2Cta%2Cru%2Cgu"></script>

<script type="text/javascript" src="http://www.google.co.in/coop/cse/brand?form=cse-search-box&amp;lang=en"></script&gt;



As result you can see this in your sites::







Monday, July 19, 2010

How to hide your drive c,d,e, of your My computer



Go to regedit.
then navigate to:-

HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
Now in the right pane create a new DWORD item and name it NoDrives(it is case sensitive). Now modify it’s value and set it to 3FFFFFF (Hexadecimal) .Now restart your computer. So, now when you click on My Computer, no drives will be shown(all gone…). To enable display of drives in My Computer, simply delete this DWORD item that you created.Again restart your computer.You can now see all the drives again.
Cool .....!!
For Asp.net Tips You can visit Click here