Disable copy-paste in textbox

Paste this code into your keydown event
====================================================================================
Private Sub Txtamount_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Txtamount.KeyDown
'Suppress ctrl-c and ctrl-v
If e.Control AndAlso (e.KeyCode = Keys.V OrElse e.KeyCode = Keys.C) Then e.SuppressKeyPress = True

End Sub
============================================================

What is an ASP File?

What is an ASP File?
An ASP file is just the same as an HTML file
An ASP file can contain text, HTML, XML, and scripts
Scripts in an ASP file are executed on the server
An ASP file has the file extension ".asp"
How Does it Work?
When a browser requests an HTML file, the server returns the file
When a browser requests an ASP file, IIS passes the request to the ASP engine on the server
The ASP engine reads the file, line by line, and executes the scripts in the file
Finally, the ASP file is returned to the browser as plain HTML

What is Oops

WhyObjectOrientedapproach?
A major factor in the invention of Object-Oriented approach is to remove some of the flaws encountered with the procedural approach. In OOP, data is treated as a critical element and does not allow it to flow freely. It bounds data closely to the functions that operate on it and protects it from accidental modification from outside functions. OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects. A major advantage of OOP is code reusability.

Some important features of Object Oriented programming are as follows:

  • Emphasis on data rather than procedure
  • Programs are divided into Objects
  • Data is hidden and cannot be accessed by external functions
  • Objects can communicate with each other through functions
  • New data and functions can be easily added whenever necessary
  • Follows bottom-up approach

Concepts of OOP:

  • Objects
  • Classes
  • Data Abstraction and Encapsulation
  • Inheritance
  • Polymorphism
BrieflyonConcepts:

Objects

Objects are the basic run-time entities in an object-oriented system. Programming problem is analyzed in terms of objects and nature of communication between them. When a program is executed, objects interact with each other by sending messages. Different objects can also interact with each other without knowing the details of their data or code.

Classes

A class is a collection of objects of similar type. Once a class is defined, any number of objects can be created which belong to that class.

DataAbstractionandEncapsulation

Abstraction refers to the act of representing essential features without including the background details or explanations. Classes use the concept of abstraction and are defined as a list of abstract attributes.

Storing data and functions in a single unit (class) is encapsulation. Data cannot be accessible to the outside world and only those functions which are stored in the class can access it.

Inheritance

Inheritance is the process by which objects can acquire the properties of objects of other class. In OOP, inheritance provides reusability, like, adding additional features to an existing class without modifying it. This is achieved by deriving a new class from the existing one. The new class will have combined features of both the classes.

Polymorphism

Polymorphism means the ability to take more than one form. An operation may exhibit different behaviors in different instances. The behavior depends on the
data types used in the operation. Polymorphism is extensively used in implementing Inheritance.

How to block websites websites




Open internet explorer browser.
Go to 'Tools'-'Internet options'
Click on 'content' tab
Click on 'Enable'
Now you are on Content Advisor box.
Click on 'General' tab
Then click on 'Create Password' button
Enter your password
Confirm password
Enter an easy question on hint box(to recover password)
Press 'OK'.
Now once again go to 'Tools'-'Internet options'-'Content' tab
Click on 'Settings'
Enter your password.
Enter the website addresses on 'Allow the website' field.
Then click on 'Always' to allow always,'Never' to deny.
Press 'OK' to save.

How to enable/disable unnecessary programs from start up?


Go to start menu.Click 'RUN'

Type 'msconfig'

Click 'OK'

Now system configuration utility box appears.

Click on 'Startup'

Check the programs you wand at startup.

Click on 'Apply'

Click 'OK'

How to Install new fonts on your computer

First copy the font file
Click 'START'
Select 'Settings'
Select 'Control Panel'
Double click on 'Fonts'.
Now you are on Fonts folder.
Paste the font file
Click the drive and folder which contain the fonts you wand to install.
Double click on the font.The font is now installed on your computer.
In order to select more than one font press and hold 'Ctrl' key and click on the fonts to add.