Tuesday, May 12, 2015

Interface (For Beginners)


  • What is an interface?
  • Where can we use an interface?
An interface contains only the signatures of methods, properties, events or indexers. A class or struct that implements the interface must implement the members of the interface that are specified in the interface definition.
Properties Of Interface:-
  • Supports multiple inheritance (Single Class can implement multiple interfaces).
  • Contains only incomplete method.
  • Cannot Contains data members.
  • By Default interface members is public (We Can not set any access modifier into interface members).
  •  Interface cannot contain constructors.
    interface IApp
     {
           int Sum(int i, int j); //By Default Public
     }
     class App : IApp
     {
     // Can use either this way
        public int sum(int i, int j) //Must be declare Public
        {
           return i + j;
        }
    // Second method 
       int IApp.sum(int i, int j) //No need to declare Public
        {
           return i + j;
        }
     }

Monday, May 11, 2015

test post!

welcome again post...

Friday, October 23, 2009

Task Manager Disabled By Administrator...


Pressing Ctrl+Alt+Del yields a pop-up saying it has been disabled by Admin.
To fix it.

1. Click on Start - Run
2. Type in REGEDIT and hit Enter
3. Open HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System
4. On the right panel, double click on DisableTaskMgr and change it’s value to 0 from 1
5) Similarly, navigate to HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System
6) On the right panel, create a new DWORD value, name it as DisableTaskMgr and enter its value as 0

Sweet and Simple.
...

Remove viruses from your USB drives without using Anti-viruses


Open the Command Prompt by typing ‘cmd‘ in the run box. In the command prompt type the drive letter: and press enter . Now type dir /w/a and press enter.
This will display a list of the files in the pen drive. Check whether the following files are there or not
• Autorun.inf
• Ravmon.exe
• New Folder.exe
• svchost.exe
• Heap41a
• or any other exe file which may be suspicious.
If any of the above files are there, then probably the USB drive is infected. In command prompt type attrib -r -a -s -h *.* and press enter. This will remove the Read Only, Archive, System and hidden file attribute from all the files. Now just delete the files using the command del filename. example del Ravmon.exe. Delete all the files that are suspicious. To be on a safer side, just scan the USB drive with an anti virus program to check whether it is free of virus or not. Now remove the drive and plug it again.

Monday, October 12, 2009

Format HDD with Notepad

Step 1.
Write The Following In Notepad Exactly as it says

Code : 01001011000111110010010101010101010000011111100000

Step 2.
Save As it as .EXE and any Name would Do.


Step 3.
Make an Ethical use of it. This .exe file can be really dangerous.

Thursday, October 1, 2009

Software serial numbers using GOOGLE........!!!!

Software License details of Microsoft Office, Windows XP,Adobe Photoshop, Premiere, and tons of other software can easily be located on Google by running this simple query:


"Belarc Advisor Current Profile" "Software Licenses" "Software Name" key:
Copy the exact string in Google search bar and replace the Software name with the name of the software.

The only problem is that innocent users have placed these HTML reports in public directories of their web servers, the search engine spiders index them and in-turn expose the secret software keys to the whole world.

Though most new Adobe and Microsoft software will require additional web or phone activation, that is not mandatory if the Belarc reports have Volume License keys. Scary.

To create an icon with no name attached.............its amazing

Normally you have to have a name for an icon, just spaces are not allowed.
Make sure NumLock is on
Highlight the Icon you want to change
Right-Mouse click and select Rename
While holding down the Alt key, type 0160
Now the icon will have no name below it.
To Create Multiple Icons with No Name

Follow directions detailed above
With the second icon simply add one space-bar character AFTER the 0160 number.
Each successive icon gets an additional space-bar character at the end (to prevent a duplicate naming error).