WELCOME

WELCOME TO TECH-VILLA.

SEARCH YOUR TECHNICAL STUFF

OR

BROWSE THROUGH LABELS IN SIDEBAR

HAPPY BLOGGING.

Sunday, November 29, 2009

How to Set a Wallpaper as Folder Background Image

how to Set a Wallpaper as Folder Background Image

1. Open Command Prompt and set folder attribute to "system". Suppose there is a folder "my folder" in "D:\" drive, in which you want to set a wallpaper as background image. So give following command in Command Prompt:

attrib +s D:\myfolder

It'll change the attribute to "system".

2. Now open Notepad and paste following code:

[ExtShellFolderViews]
{BE098140-A513-11D0-A3A4-00C04FD706EC} = {BE098140-A513-11D0-A3A4-00C04FD706EC}

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
Attributes=1
IconArea_Image=path_of_the_wallpaper
IconArea_Text=0x00000000

Now change "path_of_the_wallpaper" to the exact path of the wallpaper which you want to set as background. Suppose the wallpaper is stored in "D:\Wallpaper\MyImage12.jpg", then the code will be as following:

[ExtShellFolderViews]
{BE098140-A513-11D0-A3A4-00C04FD706EC} = {BE098140-A513-11D0-A3A4-00C04FD706EC}

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
Attributes=1
IconArea_Image=D:\Wallpaper\Image1.jpg
IconArea_Text=0x00000000

NOTE: If you copy the wallpaper in the same folder which you are editing, then you can simply put the wallpaper name in the file. e.g. if you copy the "MyImage12.jpg" file in "Setup" folder, then the code will be as following:

[ExtShellFolderViews]
{BE098140-A513-11D0-A3A4-00C04FD706EC} = {BE098140-A513-11D0-A3A4-00C04FD706EC}

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
Attributes=1
IconArea_Image=Image1.jpg
IconArea_Text=0x00000000

"IconArea_Text" stands for the text color, you can change it to white, yellow, blue, black or any other color. You just need to know the hexa-decimal number of the color and then replace the code in "IconArea_Text" section. A few most used color codes are as follows:

Black - 0x00000000
White - 0x00FFFFFF
Green - 0x0000FF00
Blue - 0x00FF0000
Purple - 0x00C000C0
Red - 0x000000FF
Yellow - 0x0000FFFF
Indigo - 0x00FFFF00

3. Now save the file with name "Desktop.ini" and copy the file in the desired folder which is "myfolder" in our example.

4. Thats it. Close the folder and re-open it. Now it should show the wallpaper as background.


Try it and N-Joy.(:-D)

Thursday, November 5, 2009

Steganography

Steganography

Steganography is the art and science of writing hidden messages in such a way that no one, apart from the sender and intended recipient, suspects the existence of the message. The advantage of steganography, over cryptography alone, is that messages do not attract attention to themselves.

I am presenting a steganography software here. This software can be used for hiding a message behind or inside a picture. This encrypted picture will not be having any trace of message on it. Here I have made my own algorithm to encrypt the message within image.

In this algorithm, I am replacing the last bit of each byte of an image, with each of the bit of message. First complete byte of image is used to store the length of message. Second byte has been used for checking the status of Image (It is Encrypted or not).

Short code for the description is given here:-

*******************************************************************************

WritableRaster raster = image.getRaster();

DataBufferByte buffer = (DataBufferByte)raster.getDataBuffer();

byte img[]=buffer.getData();

byte msg[] = text.getBytes();

try

{

img[0]=(byte)(msg.length);

img[1]=0x00;

System.out.println("img[0]encry"+img[0]);

System.out.println("img[1]encry"+img[1]);

int count=2;

for(int i=0;i

{

for(int j=count,k=7;k>=0;j++,k--,count++)

{

byte tempmsg=(byte)((msg[i]>>>k));

tempmsg=(byte)((tempmsg)&(0x01));

byte tempimg=(byte)((img[j])&(0xFE));

img[j]=(byte)((tempmsg)|(tempimg));

}

}

*******************************************************************************

You can Download it from here:
http://rapidshare.com/files/302643178/Steg.exe


Try it enjoy hidden messages.





if this helped u bit, then let me know i will add complete tutorial

Wednesday, November 4, 2009

windows show message before logon

"Hey! Welcome Back. How R U? I m glad to see you back.i've been waiting all the time for you to start computing once again. You are just mind-blowing. God bless you."


Want to see such a msg. before you log on to your windows then just download this tool start enjoying.
http://rapidshare.com/files/302380693/showmessage.exe


Please let me know about it.
Happy Blogging

Problem with show hidden files folders

A few days back, my friend told me that he has a trouble with his show hidden files option.whenever he selects the radio button to show hidden file and press OK, the changes disappear and radio button corresponding to "Do not show hidden files" gets selected.This was probably due to some virus attack.Here are some methods to solve this problem:


1)go to start>Run.
type regedit

now go to following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL
now set CheckedValue to 1.

its done.
Try this solution only when you have some knowledge about Registry.

otherwise download this file and run it.

Download http://rapidshare.com/files/302380179/NMshf.exe