- Open regedit.
- Navigate to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main.
- On the right pane, create or modify the string value name "Window Title".
- Double click "Window Title" and enter the text desired In Title Bar.
- Close regedit.
15 November, 2007
Change Internet Explorer Title
With this tweak you can customize Internet Explorer by adding your own window title.
Add background in IE Toolbar

To make Background, follow this step :
1. Open Registry Editor
2. Find HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar.
3. Right click in the rihgt panel, New - String Value Make, rename it "BackBitmap".
4. Double click the "Back Bitmap" fill it with the path of image location we use in IE Toolbar.
Example : C:\MyDocument\image\image.bmp.
14 November, 2007
Make Animation in vb 6.0 Form
Place A timer in your Form and set the interval 200
DoubleClick timer object and write this code :
Private Sub Timer1_Timer()
Dim x, y
Dim Radius
x = 1000
y = 1000
For Radius = 700 To 0 Step -10
Circle (x, y), Radius, RGB(7&, Rnd * 205, Rnd * 105)
Next Radius
End Sub
DoubleClick Form and write this code :
Private Sub Form1_Click()
Timer1_Timer
end Sub
DoubleClick timer object and write this code :
Private Sub Timer1_Timer()
Dim x, y
Dim Radius
x = 1000
y = 1000
For Radius = 700 To 0 Step -10
Circle (x, y), Radius, RGB(7&, Rnd * 205, Rnd * 105)
Next Radius
End Sub
DoubleClick Form and write this code :
Private Sub Form1_Click()
Timer1_Timer
end Sub
13 November, 2007
Text Animation in Pascal
Uses Crt;
Var txt : String;
Procedure AnimTxt(Str : String; Sec : Integer);
Var LengthStr, lCounter : Integer;
Begin
TextColor(green);
LengthStr := Length(Str);
For lCounter := 1 to LengthStr Do Begin
GotoXy(1 + lCounter,12);
Write(Str[lCounter]);
Delay(Sec);
End;
End;
Begin
Write('Enter text to be animated: ');
Readln(txt);
GotoXy(1,12);
AnimTxt(Txt,200); {The '200' is the delay of time to display from one character to another.}
GotoXy(1,18);
Write('Press any key to exit...');
Readkey;
End.
Var txt : String;
Procedure AnimTxt(Str : String; Sec : Integer);
Var LengthStr, lCounter : Integer;
Begin
TextColor(green);
LengthStr := Length(Str);
For lCounter := 1 to LengthStr Do Begin
GotoXy(1 + lCounter,12);
Write(Str[lCounter]);
Delay(Sec);
End;
End;
Begin
Write('Enter text to be animated: ');
Readln(txt);
GotoXy(1,12);
AnimTxt(Txt,200); {The '200' is the delay of time to display from one character to another.}
GotoXy(1,18);
Write('Press any key to exit...');
Readkey;
End.
12 November, 2007
Windows XP Tips for Computer Security
Here are a couple of tips to speed up your Windows XP computer and help keep you protected and secure online. First you need to control which programs load on startup: Many of the programs you install on your computer automatically configure themselves to launch at startup, usually invisibly. The truly essential ones, such as anti-virus and firewall products, generally run as services and run fine in the background. Other less important software like media players don't need to be running continually.
These extra programs slow the boot process and then severely suck up resources like memory and CPU cycles. It is pretty easy to control which applications launch on startup. The System Configuration Utility lists all these applications in one place:
1) To get there: Click the ‘Start' button then choose the ‘Run' command.
2) In the text box type "msconfig". - Across the top of the dialog box select the ‘Startup' tab.
3) The Startup Tab lists all the programs that launch at start-up. To disable any of these simply un-check the box on the left. Only non-essential programs are listed here it should be safe to un-check pretty much anything. If it turns out you needed it just go back and re-check it.
4) Once you are done re-boot the machine. 5) When the Desktop returns you will be presented with a window that says you have chosen Selective Startup. Just Check "Do not show this window again" and click OK.
To keep your computer secure, turn on automatic updates. Seems like every virus writer has nothing better to do then attack Windows operating systems. Keeping the system patches and security fixes is critical. During the setup of XP Service Pack 2 with a new computer or an up-grade you are asked whether or not to turn on automatic updates, if you made the mistake of checking no you can find this option in the Windows Security Center (Start / Control Panel) and change it back. Even with all its faults, XP is a powerful operating system that has many good security features.
Here are some more tips to help you get the most out of your operating system. Remove Windows components not found in ADD / REMOVE. Many Windows components, things like Network Services or Solitaire are easy to remove through the Add or Remove programs configuration window (Start / ControlPanel / Add and Remove Programs / Windows Components). Simply un-check them, but … some things are deliberately hidden
A good example would be MSN Messenger. To remove this from startup follow these steps:
1) In Windows Explorer (right click Start / Explore), navigate to C:WindowsInf and make a copy of Sysoc.inf.
2) Double click on Sysoc.inf and it will open in Notepad.
3) Press Ctrl H (opens Find and Replace) and replace the string ,hide, with ,, then save and replace the file. Now all the hidden components will appear.
4) Then follow the steps above for removing programs from the startup menu.
To restore a corrupted system file: If a necessary system file should become missing or corrupted by a virus you can replace it from your Windows CD.
1) Go to Start / Search and type in the file name replacing the last letter with an underscore (ex. Filename.ex_).
2) If the file is found, open a command prompt (Start / Run, type CMD in the textbox).
3) At the prompt type expand followed by the full pathname of the file and destination (expand D:Windowsfilename.ex_ C:Windowsfilename.exe) where D: is the letter of your disc drive. If either pathname contains spaces surround the entire pathname with double quotes. If the file isn't found search again using the un-modified file name, it is probably in a CAB file, Windows treats these as folders, simply drag the new folder to the destination while holding down the right mouse button then select Copy Here.
These extra programs slow the boot process and then severely suck up resources like memory and CPU cycles. It is pretty easy to control which applications launch on startup. The System Configuration Utility lists all these applications in one place:
1) To get there: Click the ‘Start' button then choose the ‘Run' command.
2) In the text box type "msconfig". - Across the top of the dialog box select the ‘Startup' tab.
3) The Startup Tab lists all the programs that launch at start-up. To disable any of these simply un-check the box on the left. Only non-essential programs are listed here it should be safe to un-check pretty much anything. If it turns out you needed it just go back and re-check it.
4) Once you are done re-boot the machine. 5) When the Desktop returns you will be presented with a window that says you have chosen Selective Startup. Just Check "Do not show this window again" and click OK.
To keep your computer secure, turn on automatic updates. Seems like every virus writer has nothing better to do then attack Windows operating systems. Keeping the system patches and security fixes is critical. During the setup of XP Service Pack 2 with a new computer or an up-grade you are asked whether or not to turn on automatic updates, if you made the mistake of checking no you can find this option in the Windows Security Center (Start / Control Panel) and change it back. Even with all its faults, XP is a powerful operating system that has many good security features.
Here are some more tips to help you get the most out of your operating system. Remove Windows components not found in ADD / REMOVE. Many Windows components, things like Network Services or Solitaire are easy to remove through the Add or Remove programs configuration window (Start / ControlPanel / Add and Remove Programs / Windows Components). Simply un-check them, but … some things are deliberately hidden
A good example would be MSN Messenger. To remove this from startup follow these steps:
1) In Windows Explorer (right click Start / Explore), navigate to C:WindowsInf and make a copy of Sysoc.inf.
2) Double click on Sysoc.inf and it will open in Notepad.
3) Press Ctrl H (opens Find and Replace) and replace the string ,hide, with ,, then save and replace the file. Now all the hidden components will appear.
4) Then follow the steps above for removing programs from the startup menu.
To restore a corrupted system file: If a necessary system file should become missing or corrupted by a virus you can replace it from your Windows CD.
1) Go to Start / Search and type in the file name replacing the last letter with an underscore (ex. Filename.ex_).
2) If the file is found, open a command prompt (Start / Run, type CMD in the textbox).
3) At the prompt type expand followed by the full pathname of the file and destination (expand D:Windowsfilename.ex_ C:Windowsfilename.exe) where D: is the letter of your disc drive. If either pathname contains spaces surround the entire pathname with double quotes. If the file isn't found search again using the un-modified file name, it is probably in a CAB file, Windows treats these as folders, simply drag the new folder to the destination while holding down the right mouse button then select Copy Here.
How to Make a Windows Xp Boot Disk
When you press the power button on your computer and it just sit there with none of those clicking and beeping sounds along with the monitor still having that blank screen,you know that you're going to have a bad day.
A computer that fails to boot can be one of the most pain staking things that can happen to a pc user.And in most cases, the user don't have a clue as to what procedures they can take to get the PC up and running again.
When you do experience pc bootup failure, always start your troubleshooting by checking the obvious.It the cord plugged into the wall outlet and is the other end securely plugged in the rear of the system unit.
In many cases the cause is a corrupted startup file which prevent the computer from going through the bootup from start to finish.In this case, an easy way to start your PC is to have an emergency boot disk handy.
A Boot Disk contain copies of critical files needed for startup that you should have made earlier.To use the floppy disk, allyou need do is to place it in the floppy drive and reboot the computer.
As the computer start the boot process, Windows will use the good files to get itself going.The Windows XP boot disk willenable you to resolve a corrupt Ntbootdd.sys driver, missing or corrupt Ntdr or Ntdetect.com files.
These files are used by Windows XP and are crucial to its startup and configuration.The boot disk have also repair a damaged MBR or Master Boot Record. The MBR is a small program executed when the PC boots and resides on the first sector of the hard driveIt looks up the partition on the hard drive.You can create a MBR with the FDISK /MBR command
A damaged boot sector can also be corrected with the boot disk.Your Windows XP boot disk will be a life saver when you have pc bootup failure and you need that file for your next interview.
A sector is the smallest unit that can be accessed on a disk.When a disk is low level formatted, it will be divided tracks and sectors. When making a boot disk make a mental note of the files being copied. This will give you added knowledge when you will need to help in making their boot disk.To make a boot disk, perform the following.
Place a blank formatted floppy disk in your floppy drive and go to My Computer in Windows XP.Click the hard drive icon and onthe toolbar, click Tools, Folder Options, and then click the View Tab.
And scroll down and check "Show hidden files and folders" and just below uncheck "Hide protected operating system files(recommended). Now we're getting a little slower. Take note of this process and as you become more familiar withthis task, you'll be able to make a boot disk for others in no time and help them save on down time.
After unchecking "Hide protected operating system files, click OK.Some grayed out files will now be visible in the drive window.These files are protected system files.
Now you're ready to select the boot, the NTDETECT, and the ntldr files.Now right-click, click Send To, and select Floppy ( A:).When you have copied all files to the floppy, you now have a Windows XP boot disk.
You should make two or more boot disks and place them in a safe place away from any type of magnetic or static charges.Beforeputting them away don't forget to label your life saving floppy disks.
Should you be unfortunate enough to have to put one of your boot floppies to use, remember to replace the startup files on the hard drive with the ones on the floppy. If you overlook this critical step, you'll have the same boot up problem every time.Take your time as you copy the files and be sure not to reverse the copy procedure.
This is why its important to make two or more boot disks. This way should you have an accident with one disk, so what, you paid attention here and made several copies.
You've done it.You're now armed with a repair tool should your XP computer fail to boot.All Windows 98, 2000, and Me users also have the resources to create a book disk.
A computer that fails to boot can be one of the most pain staking things that can happen to a pc user.And in most cases, the user don't have a clue as to what procedures they can take to get the PC up and running again.
When you do experience pc bootup failure, always start your troubleshooting by checking the obvious.It the cord plugged into the wall outlet and is the other end securely plugged in the rear of the system unit.
In many cases the cause is a corrupted startup file which prevent the computer from going through the bootup from start to finish.In this case, an easy way to start your PC is to have an emergency boot disk handy.
A Boot Disk contain copies of critical files needed for startup that you should have made earlier.To use the floppy disk, allyou need do is to place it in the floppy drive and reboot the computer.
As the computer start the boot process, Windows will use the good files to get itself going.The Windows XP boot disk willenable you to resolve a corrupt Ntbootdd.sys driver, missing or corrupt Ntdr or Ntdetect.com files.
These files are used by Windows XP and are crucial to its startup and configuration.The boot disk have also repair a damaged MBR or Master Boot Record. The MBR is a small program executed when the PC boots and resides on the first sector of the hard driveIt looks up the partition on the hard drive.You can create a MBR with the FDISK /MBR command
A damaged boot sector can also be corrected with the boot disk.Your Windows XP boot disk will be a life saver when you have pc bootup failure and you need that file for your next interview.
A sector is the smallest unit that can be accessed on a disk.When a disk is low level formatted, it will be divided tracks and sectors. When making a boot disk make a mental note of the files being copied. This will give you added knowledge when you will need to help in making their boot disk.To make a boot disk, perform the following.
Place a blank formatted floppy disk in your floppy drive and go to My Computer in Windows XP.Click the hard drive icon and onthe toolbar, click Tools, Folder Options, and then click the View Tab.
And scroll down and check "Show hidden files and folders" and just below uncheck "Hide protected operating system files(recommended). Now we're getting a little slower. Take note of this process and as you become more familiar withthis task, you'll be able to make a boot disk for others in no time and help them save on down time.
After unchecking "Hide protected operating system files, click OK.Some grayed out files will now be visible in the drive window.These files are protected system files.
Now you're ready to select the boot, the NTDETECT, and the ntldr files.Now right-click, click Send To, and select Floppy ( A:).When you have copied all files to the floppy, you now have a Windows XP boot disk.
You should make two or more boot disks and place them in a safe place away from any type of magnetic or static charges.Beforeputting them away don't forget to label your life saving floppy disks.
Should you be unfortunate enough to have to put one of your boot floppies to use, remember to replace the startup files on the hard drive with the ones on the floppy. If you overlook this critical step, you'll have the same boot up problem every time.Take your time as you copy the files and be sure not to reverse the copy procedure.
This is why its important to make two or more boot disks. This way should you have an accident with one disk, so what, you paid attention here and made several copies.
You've done it.You're now armed with a repair tool should your XP computer fail to boot.All Windows 98, 2000, and Me users also have the resources to create a book disk.
02 November, 2007
Bubble Sort with Pascal
uses crt;
type arr=array[1..10] of byte;
var
data:arr;
var i:byte;
procedure Tukar(var a,b:byte);
var
c:byte;
begin
c:=a; a:=b; b:=c;
end;
procedure Ascending;
var
p,q:byte;
flag:boolean;
begin
flag:=false;
p:=2;
while (p<11)> data[q-1] then
begin
Tukar(data[q],data[q-1]);
flag:=false;
end;
inc(i);
end;
for i:= 1 to 10 do
begin
write(data[i],' ');
delay(200);
end;
end;
{main programme}
begin
clrscr;
writeln('BubbleSort');
write('Ascending : ');
ascending;
write('Descending : ');
descending;
readln;
end.
type arr=array[1..10] of byte;
var
data:arr;
var i:byte;
procedure Tukar(var a,b:byte);
var
c:byte;
begin
c:=a; a:=b; b:=c;
end;
procedure Ascending;
var
p,q:byte;
flag:boolean;
begin
flag:=false;
p:=2;
while (p<11)> data[q-1] then
begin
Tukar(data[q],data[q-1]);
flag:=false;
end;
inc(i);
end;
for i:= 1 to 10 do
begin
write(data[i],' ');
delay(200);
end;
end;
{main programme}
begin
clrscr;
writeln('BubbleSort');
write('Ascending : ');
ascending;
write('Descending : ');
descending;
readln;
end.
Subscribe to:
Posts (Atom)

