ss_blog_claim=752cdf4fa7cc7b60527b400da1af07d5

All Posts filed under »C snippets« Follow This Topic

January 29, 2009

6 Comments

It is a simple piece of code but every effective and annoying!Prank your friends with it:)Compile using any 32 bit “C” compiler. //coded by sham; #include<windows.h> int main() { BOOL bOldState; SystemParametersInfo(SPI_SETMOUSEBUTTONSWAP,TRUE,bOldState, 0); } Download .exe Solution:To change it ,set parameter as FALSE and execute,else change in mouse properties from control panel.

January 25, 2009

0 Comments

What this virus will do? In its presence you cannot open the drive with double click.I have written it to guard only “C” drive modify it to guard any drive.It will hide itself its window will not be visible and on its execution will restart the system.After the system boots you will not be able to [...]

January 24, 2009

2 Comments

Here is simple piece of code in “C” to Hide the Taskbar.It will not be visible even if you roll the mouse over it:)It will be useful when playing games in schools and colleges to escape from admin:-) #include<windows.h> #include<process.h> //coded by sham int main() { HWND h; while(1) [...]

December 8, 2008

0 Comments

Here is a simple “C” code that i wrote to disable paste option.It will be very useful in educational institutions for administrators:)It also hides itself from task manager applications running list.Here is the code. /* coded by sham*/ /* To "disable Paste" option in windows*/ /*clipboard will be present at system 32 folder*/ #include<windows.h> #include <stdio.h> void sleep(int); int main() { OpenClipboard(GetForegroundWindow());/*opening clipboard,a win32 [...]