Monday, February 23, 2015

What is a VPN ? Virtual private network

Virtual private network




VPN is pronounced as separate letters and is short for virtualprivate network.
VPN is a network that is constructed by using public wires — usually the Internet — to connect to a private network, such as a company's internal network. There are a number of systems that enable you to create networks using the Internet as the medium for transporting data. These systems use encryption and other securitymechanisms to ensure that only authorized users can access the network and that the data cannot be intercepted.

VPN Security

A VPN is designed to provides a secure, encrypted tunnel in which to transmit the data between the remote user and the company network. The information transmitted between the two locations via the encrypted tunnel cannot be read by anyone else because the system contains several elements to secure both the company's private network and the outside network through which the remote user connects through.
The first step to security is usually a firewall between the client and the host server, requiring the remote user to establish an authenticated connection with the firewall. Encryption is also an important component of a secure VPN. Encryption works by having all data sent from one computer encrypted in such a way that only the computer it is sending to can decrypt the data.
Recommended Reading: Learn more about VPN security in this Webopedia article, What Makes a Virtual Private Network Private?

Consumer VPN Services

Consumers use a private VPN service, also known as a VPN tunnel, to protect their online activity and identity. By using an anonymous VPN service, a user's Internet traffic and data remain encrypted, which prevents eavesdroppers from sniffing Internet activity.  A VPN service is especially useful when accessing public Wi-Fihotspots because the public wireless services might not be secure. In addition to public Wi-Fi security, a private VPN service also provides consumers with uncensored Internet access and can help prevent data theft and unblock websites.

Corporate VPN Communications

Companies and organizations will use a VPN to communicate confidentially over a public network and to send voice, video or data. It is also an excellent option for remote workers and organizations with global offices and partners to share data in a private manner.
One of the most common types of VPNs used by businesses is called a virtual private dial-up network (VPDN). A VPDN is a user-to-LAN connection, where remote users need to connect to the company LAN. Another type of VPN is commonly called a site-to-site VPN. Here the company would invest in dedicated hardware to connect multiple sites to their LAN though a public network, usually the Internet.

What is Computer Bus? – An Introduction

What is Computer Bus? – An Introduction
Bus is a set of electrical hardware lines that is used to transfer/receive data from the central processing unit. Bus is a way to connect computer components (e.g. Microprocessor, Disk drive, Memory, Input / Output ports, etc.) to Computer system for keeping in connection to transfer and receive data from computer.
✔ Bus (by wire or hardware lines) is the common way to transfer/receive data in the form of codes and only the fastest way for communication information between computer and its components. Any part of computer is connected with buses. Usually a bus consists of many parallel wires. Each wire sends one bit of data at a time, thus a bus can transfer/receive many bits. For example, a 16-bit of bus consists of 16 parallel wires and transfers 16 bits ( 2 bytes) of data from one computer component to another.
✔ In old computer, very few buses had used. Nowadays, modern computer contains many buses transfer many types of data, and some buses are used to transfer specific type of data, e.g. Image, Audio, Video, etc.
✔ Bus (Address bus, Data bus, Expansion bus) usually transfers different types of data within a computer. For example, these buses of parallel wires (that is printed on PCB) somewhere in the form of data take information or where data exists took addresses of data, or moving a control signal.
✔ Remember that whenever we speak bus then our gesture to number electrical wires in a PC component. In computer, Buses are present in many forms (wires on print circuit, straight cables, normal wires). However, these are always in parallel.
✔ Data bus:
It is an aggregate of parallel conductors (can pass current and printed circuit on electrical board) that is on a motherboard. These buses are used to send/receive information from connected devices to CPU. These buses are known as External bus/Data bus. Data buses are the basic way to transfer/receive data anywhere in computer. All components that contain data / other components are connected to data buses. Thus, any information (codes) which is in a bus that is available to any devices connected to computer.
✔Expansion bus:
These buses provide a way to connect a device to the motherboard. Expansion buses are kept flowing data with the computer device. These buses also provide a way to connect Add-on devices to motherboard.
System bus: these buses provide a way to connect Microprocessor, RAM chip, and other components to the motherboard. On these buses, motherboard’s primary components are fixed.
✔ Address bus:
These are parallel conductors (on the electrical circuit) on the motherboard, used to find the place of where computer memory is stored. That tells us what information /codes are sending/receive from data buses.

Mother Board

A motherboard is the physical arrangement in a computer that contains the computer's basic circuitry and components. On the typical motherboard, the circuitry is imprinted or affixed to the surface of a firm planar surface and usually manufactured in a single step. The most common motherboard design in desktop computers today is the AT, based on the IBM AT motherboard. A more recent motherboard specification, ATX, improves on the AT design. In both the AT and ATX designs, the computer components included in the motherboard are:
  • The microprocessor
  • (Optionally) coprocessors
  • Memory
  • basic input/output system (BIOS)
  • Expansion slot
  • Interconnecting circuitry
Additional components can be added to a motherboard through its expansion slot. The electronic interface between the motherboard and the smaller boards or cards in the expansion slots is called the bus.

How to Remove Shortcut Virus From Pendrive/USB

Today's article is about how to remove shortcut virus from computer/laptop, pendrive or any other external storage devices. Day to day, there are thousands of viruses created and spread through, actually I don't know from where viruses are created, because today creating virus program is not only limited to hackers system. Even many programmers and developers have started to write codes for virus programs. So we can't point off the topic; the origin of virus within a circle. Mostly, they spread these new types of virus files through internet. Likewise, shortcut virus is too being created in this manner in recent times.

Shortcut viruses mostly travel one computer to another through pendrives. The pendrive is the most common storage device to transfer data between two or more computers. If you attach a shortcut virus infected pendrive with your computer to transfer any data, there is a huge space created for shortcut virus to attack your computer too. Shortcut viruses are not limited to pendrive it also attack your PC hard disk, memory card and other portable storage devices. Once your computer hard disk or other storage device affected with shortcut virus, then the headache starts! When you try to access any files or folder in a shortcut virus affected storage device, the Windows will show you an error message as "shortcut missing".

Man+trouble+with+laptop

Many people panic about this virus and they think that they have lost all their data in the particular affected device. It's all because, many antivirus software fails to detect and delete the shortcut virus. Actually shortcut virus is a simple virus program which can be removed easily from the affected device. So let's have a look on what is shortcut virus and how to delete shortcut virus permanently.

What is Shortcut Virus

Shortcut virus is a type of anonymous malware program which can hide the original file from the certain storage device and create a fake shortcut file. Shortcut virus can easily affect all kinds of external storage devices such as pendrive/flash drive, memory card, memory stick, external hard disk or any other external storage devices. When you connect any of your external storage device to transfer data with a shortcut virus affected computer, then your external storage device too gets affected with shortcut virus. When we analyse what happens to the data in the storage devices after the shortcut virus attack, we found this.

This is a malware program which mostly spread via online downloads to the computers. When this virus affect a storage device, actually the original files and folders of the device become hidden and fake shortcut icons get created for every files and folders in the same storage device. But the truth is, created shortcut icon does not exist or the shortcut is created with wrong path. That's why when you try to open the shortcut file, Windows show file missing error message. But keep in mind that the hidden files are still saved in the certain storage device.

There are plenty of simple methods that we can use to remove or delete shortcut virus from the affected storage device. Let's have a look on the important and working tricks one by one.

Remove Pendrive Shortcut Virus Using Command Prompt

If your pendrive is affected with shortcut virus program and if all your important files appear with shortcut icons, then you can try to remove the virus file manually from your pendrive. Follow my given below steps to recover the pendrive from shortcut virus using command prompt.
  • Insert the affected pendrive to computer
  • Check the pendrive letter in My Computer - Example Tec-Glitz (F:)
  • Now open Command Prompt with Administrative mode
  • Navigate the pendrive letter in cmd as shown in the below screenshot. For example type f:and hit Enter
  • Then type attrib -h -r -s /s /d f:\*.* and hit Enter ("f" should be replaced with your pen drive letter)
  • Or type attrib F:\*.* /d /s -h -r -s and hit Enter ("F" should be replaced with your pen drive letter)
Remove+shortcut+virus+using+cmd

That's all. Now close the cmd and restart your PC once. Then go to the shortcut virus affected drive. Now all the hidden files will turn into normal and you can access them anytime. Also don't forget to delete the shortcut files and folders in the drive, created by malware program.

Remove PC/Laptop Shortcut Virus Using .Bat File

We can easily remove the shortcut viruses from Windows computers and laptops using a .bat file trick. Keep in mind that you can also use the above given cmd trick to clean the viruses from PC. But when all your hard drives are affected with the virus attack, then the .bat file trick is much better than above given cmd trick. If you want to clean the viruses from all the drive using cmd trick, you have type the commands separately for each drive and that's gonna be a waste of your precious time. So lets see how to clean the shortcut viruses from PC and laptop through the .bat file trick.
  • Open a Notepad
  • Copy the following lines onto the notepad
@echo off

attrib -h -s -r -a /s /d 
C:\*.*
attrib -h -s -r -a /s /d 
D:\*.*
attrib -h -s -r -a /s /d 
E:\*.*
attrib -h -s -r -a /s /d 
F:\*.*
attrib -h -s -r -a /s /d 
G:\*.*
attrib -h -s -r -a /s /d 
H:\*.*
attrib -h -s -r -a /s /d 
I:\*.*
attrib -h -s -r -a /s /d 
J:\*.*
@echo complete.

  • In the above command, hard disk drive letters are mentioned in red color. Replace the letters with your virus affected hard drive letters
  • Now save the file in the desktop with the name VirusRemover.bat (.bat is must)
  • Then close the notepad and Double Click on saved file in the desktop

That's all the settings for .bat file trick. Now go to the shortcut virus affected drives. Now all the hidden files will turn into normal and you will be able to view them.

Remove PC/Laptop Shortcut Virus Using Windows Registry
This is a little bit advance technique to remove virus from the Windows computer and laptops. If you fail with the above given tricks, then you can try this trick. When your hard disk is affected with the shortcut viruses, we can remove the source of this virus by doing few changes in Windows registry settings in the computer or laptop. Follow my given below steps carefully to succeed in this process.
  • Open the Task Manager
  • Go to the Processes Tab
  • Now look for process Wscript.exe
  • If you find this process, just click on End Process
  • Now go to Start Menu and search for regedit
  • Open the regedit and now you will be able to view Registry Editor
  • Now navigate the following path in registry editor
  • HKEY_CURRENT_USER >> Software >> Microsoft >> Windows >> CurrentVersion >>Run
  • In here, look for the registry entry "odwcamszas"
  • If you found that registry key, just Right Click on it and Delete the entry
Windows+8+registry+editor

This process will clean the viruses from your computer. If you're unable to find the above given registry key, then follow the given below method to clean the computer for virus free.
  • Open Run box by clicking Windows key+ R key
  • In the run box, type %temp% and click on OK
  • Now temp folder will appear
  • In temp folder, look for nkvasyoxww.vbs file. If you find this file, just Right Click on it and Delete it
  • Then go to following path in your Windows computer
  • C:Users >> Double Click on User Account Name >> AppData >> Roaming >> Microsoft >> Windows >> Start Menu >> Programs >> Startup
  • Now check the startup folder and if a file exist named nkvasyoxww.vbs, then delete it
Windows+user+account
  • Again open the Run box by clicking Windows key+ R key
  • Type msconfig and click on OK
  • Now System Configuration window will appear
  • In this, go to Startup Tab and look there for kvasyoxww.vbs 
  • If you find this file there, disable it by selecting Uncheck
  • Finally, click Apply and click on OK

If you are a Windows 8 user, then you have to follow the given below steps to do this
  • Open Task Manager
  • Go to Startup Tab
  • Now you can find kvasyoxww.vbs file
  • Just click on it and select Disable as shown in the below screenshot

INVENTORS OF COMPUTER HARDWARE:

INVENTORS OF COMPUTER HARDWARE:
(1) Key board — Herman Hollerith, first keypunch device in 1930’s
(2) Transistor — John Bardeen, Walter Brattain & Wiliam Shockley (1947 - 1948)
(3) RAM — An Wang and Jay Forrester (1951)
(4) Trackball — Tom Cranston and Fred Longstaff (1952)
(5) Hard Disk — IBM , The IBM Model 350 Disk File (1956 )
(6) Integrated Circuit— Jack Kilby & Robert Noyce (1958)
(7) Computer Mouse — Douglas Engelbart (1964)
(8) Laser printer— Gary Stark weather at XEROX in 1969.
(9) Floppy Disk— Alan Shugart & IBM( 1970)
(10) Microprocessor — Faggin, Hoff & Mazor – Intel 4004

GOOGLE, YAHOO, WINDOW, VIRUS, UMTS, IMEI

1) GOOGLE: Global Organization Of Oriented Group Language Of Earth
2) YAHOO: Yet Another Hierarchical Officious Oracle
3) WINDOW: Wide Interactive Network Development for Office work Solution
4) VIRUS: Vital Information Resources Under Siege
5) UMTS: Universal Mobile Telecommunications System
6) AMOLED: Active-matrix organic light-emitting diode
7) OLED: Organic light-emitting diode
8) IMEI: International Mobile Equipment Identity
9) ESN: Electronic Serial Number

Thursday, February 19, 2015

10 Reasons Why Visual Basic is Better Than C#

10 Reasons Why Visual Basic is Better Than C#

07 March 2012
After having converted a whole lot of training materials based on VB.NET into C#, Andy ‘Wise Owl’ Brown decided to write a tongue-in-cheek rant whilst he could still remember the pain-points. 'Convert to VB.NET! You have nothing to lose but your semi-colons! '
Visual Basic is a better programming language than Visual C#. Who says so? This article! Here are 10 reasons why you should always choose VB over C#.

1 – “Rose is a rose is a rose is a rose”

This is a quotation from Gertrude Stein’s 1922 play Geography and Plays. However, the poetry wouldn’t work in C#, because – unforgivably – it’s a cASe-SeNSitIvE language. This is madness!
Before I start ranting, let me just acknowledge that case-sensitivity confers one (and only one) advantage – it makes it easier to name private and public properties:
Writing properties like this means that you can refer to the public Name property, and it’s obvious what the private equivalent will be called (name).
// private version of variableprivate string name = null;public string Name
{
    get
    {
        return txtName.Text;
    
}
    set
    {
        name txtName.Text;
    
}
}
So now we’ve got that out of the way: case-sensitive programming languages make everything else harder. Why, you ask?
  • You keep having to switch between upper and lower case when typing, causing RSI in your poor little fingers as you reach for the inconsiderately located Shift key.
  • You are much more likely to make mistakes - are you sure you meant to type DateOfBirth, or should it have been dateofbirth?
  • When you accidentally leave Caps lock on, it really matters.
The only possible benefit is that you can use more combinations of variable names, that is, you can use more of one of the few infinite resources in this universe…
It doesn’t matter if you disagree with everything else in this article: case-sensitivity alone is sufficient reason to ditch C#!

2 – The Switch clause

Both VB and C# contain a way of testing mutually exclusive possibilities, the Select Case and Switch clauses respectively. Only one of them works properly.
A Visual Basic Select Case clause, returning a description of how old someone is. The age range for a young person is a tad generous, reflecting the age of the author of this article.
A Visual Basic Select Case clause, returning a description of how old someone is. The age range for a young person is a tad generous, reflecting the age of the author of this article.
Select Case AgeEntered

    Case Is 18
        txtVerdict.Text "child"
    
Case Is 50
        txtVerdict.Text "young person"
    
Case Is 65
        txtVerdict.Text "middle-aged"
    
Case Else
        
txtVerdict.Text "elderly"
End Select
You can’t do this using Switch in C#, as - astonishingly - it can’t handle relational operators. You have to use an If /Else If clause instead. But even if you could, you’d still have to type in lots of unnecessary Break statements:
switch (AgeThreshold{
    case 18 :
        
txtVerdict.Text "child";
        
break;
    
case 50 :
        
txtVerdict.Text "young person";
        
break;
    
case 65 :
        
txtVerdict.Text "middle-aged";
        
break;
    
default:
        txtVerdict.Text "elderly";
        
break;}
 
It’s easy to forget to type in each of theseBreak statements!

3 – Event-Handling code

This is specific to Visual Studio (I’m using 2010, the latest version). Suppose I want to attach code to anything but the default Click event of a typical button:
Selecting the button
Let’s suppose that I want to attach code to the MouseHover event of this button.
I can do this in Visual Basic without leaving the code window:
a) First choose the object from the drop list.
Attaching the Mousehover code
Choosing the event to code
b)Then choose the event you want to code.
In C# you can’t do this – you have to return to the button’s properties window and choose to show its events:
Selecting the event in C#
You can double-click to attach code to this event for the selected button – but that’s the only simple way to create it for C#.
But it’s even worse than that. If you then rename a control (in this case btnApply) you have to re-associate the event-handler with the renamed control in the properties window (or in the initialisation code, if you can find it). In Visual Basic, of course, you can do all of this in code:
    Private Sub btnApply_Click(ByVal sender AsSystem.Object,
        ByVal e As System.EventArgsHandles btnApply.Click

        MessageBox.Show("Hello")

    End Sub
Globally change btnApply to the new button’s name in code, and everything will work as before.

4 –Stupid symbols

C# was written by academics. It shows. Consider this table of C# symbols and their VB equivalents:
What you're trying to doC# SymbolVB Equivalent
Test if two conditions are both true&&and
Test if one or other condition is true||or
Test if a condition is not true!not
Concatenate two strings of text+&
Test if a condition is true within an if statement===
Which column looks like it was designed by a real person?

5 – Autocorrection in Visual Basic actually works

IntelliSense works much better for Visual Basic than for Visual C#. Take just one example – creating a write-only property. Let’s start with Visual Basic:
When you press return at the line end…
    WriteOnly Property PersonName As String
        Set(value As String)

        End Set
    End Property
… You get this fully-completed clause.
For C#, the same thing doesn’t happen:
When you press return here, nothing happens (other than a blank line appearing).
This is just one example. I’ve just spent ages transcribing our VB courses into C#, and believe me, there are many, many more!

6 – Lack of supported functions

Here are a couple of functions I use from time to time in VB:
FunctionWhat it does
IsNumericTests if a value can be converted to a number
PMTCalculates the annual mortgage payment for a loan
Great functions, but they don’t exist in C#.

7 – That wretched semi-colon

Why do I have to end every line in C# with a semi-colon? The argument used to be that it avoided the need to use continuation characters in Visual Basic:
MessageBox.Show_
    text:="This article is a bit opinionated"_
    caption:="Message")
You used to have to use an underscore as a continuation character to show incomplete lines of code in VB.
However, as of Visual Basic 2010 you rarely need to do this anymore. Come on, C#: Visual Basic has ditched its line-ending character; why can’t you?(;)
Someone commented on my original (much shorter) blog about this:

    "In a short amount of time you'll type those semi-colons without thinking about it (I even type them when programming in visual basic)."

That’s like saying that you’ll soon get used to not having any matches to light your fire, and you’ll even start rubbing sticks together to start a fire when you finally manage to buy a box!

8 – Arguments and variables

The order of words in a C# variable declaration is wrong. When you introduce someone, you wouldn’t say, “This is my friend who’s a solicitor; he’s called Bob”. So why do you say:
string PersonName "Bob";
To me:
Dim PersonName As String = "Bob"
…is much more logical. I also find the C# method of having to prefix arguments with the word out confusing, particularly as you have to do it both in the called and calling routine.

9 – Strictness

C# is a much fussier language than Visual Basic (even if you turn Option Strict on in Visual Basic, this is still true). “And a good thing, too!”, I hear you cry. Well, maybe. Consider this Visual Basic code:
Enum AgeBand
   Child 18
   Young 30
   MiddleAged 60
   SeniorCitizen 90
End Enum



Select Case 
Age
    Case Is AgeBand.Child
        MessageBox.Show("Child")
    
Case Else
        
MessageBox.Show("Adult")End Select
With Option Strict turned on this shouldn’t really work, as it’s comparing an integer with an enumeration – but VB has the common sense to realise what you want to do.
The equivalent in Visual C# doesn’t work:
A less forgiving language…
What this means is that you end up having to fill your code with messy type conversions:
The simplest way of converting an enumeration to an integer; but why should you have to?
// find out the age enteredint Age Convert.ToInt32(txtAge.Text);
if (Age (intAgeBand.Child{
    MessageBox.Show("Child");else {
    MessageBox.Show("Adult");}

10 – Redimensioning arrays

If you want to dynamically change the length of an array in Visual Basic, you can use Redim Preserve. To do the same thing in Visual C#, you have to copy the array, add a value and then copy it back:
The vile, clunky C# method of extending an array.
string[] PartyGuests = new string[2];
PartyGuests[0] "Sarah Palin";PartyGuests[1] "Richard Dawkins";
// whoops! forgot to invite Mitt

// create a new extended array
string[] tempGuests = new string[PartyGuests.Length + 1];
// copy all of the elements from the old array into new oneArray.Copy(PartyGuests,tempGuests,PartyGuests.Length);
// add Mitt as last elementtempGuests[PartyGuests.Length] "Mitt Romney";
// restore full list into original arrayPartyGuests tempGuests;
// check worksforeach (string Guest in PartyGuests{
    System.Diagnostics.Debug.Write(Guest);}
 
This epitomises Visual C# for me. Critics will tell me that:
  • Behind the scenes, the Redim Preserve command does exactly the same thing as the C# code above; and
  • I should be using lists and not arrays anyway.
That’s hardly the point! The point is that - as so often - Visual Basic makes something easier to code than C# does.

Conclusion

So those are my 10 reasons to code in Visual Basic. What are you waiting for, all you C# code-monkeys? Convert all of your code to VB – you have nothing to lose but your semi-colons!
Andy Brown
Author profile: Andy Brown
Andy works as a trainer and consultant for Wise Owl Training, providing SQL Server, .NET, Visual Basic and (reluctantly!) C# training for businesses in the UK.

How To Recover Your Lost Passwords *****

How to determine which versions of the Microsoft .NET Framework are installed

How to determine which versions and service pack levels of the Microsoft .NET Framework are installed

Use the slipstream procedure to update SQL Server 2008

Use the slipstream procedure to update SQL Server 2008
This method allows you to update the entire product when you run the SQL Server 2008 Setup program after following one of the following procedures:
Procedure 1: Basic slipstream steps
Follow the following steps to create a slipstream drop that you can use for installing the original media and a service pack at the same time.
Install the following prerequisites for SQL Server 2008.
.NET Framework 2.0 SP2 for SQL Server 2008 Express Edition
You can obtain the .NET Framework 2.0 SP2 from the following Web site in Microsoft Download Center:
http://www.microsoft.com/downloads/details.aspx…
.NET Framework 3.5 SP1 for other editions
To download and install the .NET Framework 3.5 SP1, visit the following Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkID=120550
Windows Installer 4.5
To download and install Windows Installer 4.5, visit the following Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkID=49112
Download the service pack package that matches you system architecture. For example download the x64 package of SQL Server 2008 Service Pack 1 if your system is an x64-based system.
Extract the service pack by running the following command:
SQLServer2008SP1-KB968369-x64-ENU.exe /x:C:\SP1
Run the service pack to install Setup files on the computer. You will receive a Setup Support Files dialog box if the Setup support files have not been installed. You can also run the following file to install the setup support files:
C:\SP1\x64\setup\1033\sqlsupport.msi
Run the Setup.exe file from the SQL Server 2008 source media by specifying the /PCUSource parameter. For example:
Setup.exe /PCUSource=C:\SP1

Thanking you,
Best regards,
Udaysinh C. Vaghela
uday_oman@hotmail.com