You feel excited to learn computer languages

Then you are at the right place. Computer languages are most fun thing you have ever seen. Use this excellent languages and have a nice future...

How computer can help you?

I will ask how it can not? From the latest trend of social networking sites like Facebook, Twitter to the extended use of computer in our house hold devices. You can be benefited from computer in the every aspect of life.

What web technology?

It is the blessings of web technology, that brings you here and you are reading my post now. Strange huh!! Not at all. Use my web technology tutorials and understand, how they can help you for better marketing and advertising systems.

How Mobile technology can help us?

You have answer right? I know. But in my tutorials I will cover some unique features that may add some information in your hard disk too. Sounds good? Check them...

Computer and future

Yes that is the most important question to me. What is next? What is going to be the next big thing for us? Well I will answer them in my blog. Check the corresponding section..

Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Thursday, November 10, 2011

Batch file Password protection system

This is sample batch file that can be used as password protection. You can set your own password. Here I have set "PASSME" as my password. you can set your own password. Then you test it. System will ask you for password, and untill you press right password this will not let you in.
Enjoy.
@echo off
:start
echo.
echo.
echo Enter the password and press enter after F6:
copy con pas
find "PASSME"<pas
if errorlevel=1 goto 1
cls
echo W E L C O M E   I N   M Y P C
goto 2
:1
del pas
cls
goto start
:2
del pas

How to make this
1.Open Notepad. Then type the code.
2. Save it by the extension called .bat. e.g “virus.bat”.
3. Then just double click it. Your system will halt. Just restart thesystem, it will work fine. Have fun.
Windows XP, Windows 7, all systems are capable of running this code.

Monday, November 7, 2011

Windows Programming in C language

Windows programming in C language. You ever have considered windows programming in C. If not then, try this simple functions and use them with in your program body, for better looks.
 void win(int x1,int y1,int x2,int y2)
 {
int i,temp;;
if(x1<=0)
{
x1=1;
}
if(y1<=0)
{
y1=1;
}
if(x1>x2)
{
temp=x2;
x2=x1;
x1=temp;
}
if(x1>x2)
{
temp=y2;
y2=y1;
y1=temp;
}
gotoxy(x1,y1);
cprintf("É");
for(i=x1+1;i<=x2;i++)
{
cprintf("Í");
}
cprintf("»");
gotoxy(x1,y2);
cprintf("È");
for(i=x1+1;i<=x2;i++)
{
cprintf("Í");
}
cprintf("¼");
gotoxy(x1,y1+1);
for(i=y1+1;i<=y2;i++)
{
cprintf("º");
gotoxy(x1,i);
}
gotoxy(x2+1,y1+1);
for(i=y1+1;i<=y2;i++)
{
cprintf("º");
gotoxy(x2+1,i);
}

 }
 void my_button(int xpos,int ypos,char arr[])
 {
gotoxy(xpos,ypos);
cprintf("® ");
printf("%s",arr);
cprintf(" ¯");
 }