The Encapsulation Controls
The term encapsulation refers to different things, depending on whether
you're encapsulating data, code, or both. Nevertheless, in a broad sense, encapsulation
always refers to packaging. Visual Basic includes some Internet controls that
encapsulate, or package, your existing applications and code into Internet-aware
applications. These controls encapsulate your applications so that they work with Internet
technology.

Encapsulation refers to the packaging of components, as occurs with Visual Basic
objects that support properties, methods, and events.

Here's a list of the encapsulation controls:
- Internet transfer control - Encapsulates the three most popular Internet protocols:
HTTP, FTP (File Transfer Protocol), and Gopher (a searching protocol to help you locate
information on the Internet). You can download files directly from within your Visual
Basic applications by using FTP.
- WebBrowser control - Encapsulates a Web browser directly inside your application.
- WinSock control - Gives you a Windows common connection and data-exchange control that
provides two protocols: UDP (User Datagram Protocol) and TCP (Transmission Control
Protocol).