Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 8th, 2005, 04:03 PM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Definition

Could someone please help. I am new to programming and I often hear the term wrapper used to refer to a class or in one case it was used to refer to a copy of an array. WHAT IS A WRAPPER?

Any insight would be helpful!

Good Day,

Little Shell

Reply With Quote
  #2 (permalink)  
Old October 10th, 2005, 08:18 AM
Registered User
 
Join Date: Oct 2005
Location: Lilongwe, Central Region, Malawi.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

how do i develop a program that converts two world currencies and show fluctuation history in a graph

Reply With Quote
  #3 (permalink)  
Old October 10th, 2005, 04:40 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Hudson, MA, USA.
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
quote:Originally posted by Little Shell
WHAT IS A WRAPPER?
A wrapper class is a class which typically contains another class, thus "wrapping" the functionality of one class inside another. This is also called the "facade" design pattern.

It is used to perhaps hide some of the functionality of the contained class. The containing, or wrapper, class exposes only the functionality of the contained class that it needs to.

Sometimes, a wrapper is provided to simplify the interface to the contained class. For example, a class that sends an email might have properties and methods to separately set the sender, receiver, subject, and message body, and then send the message. To make interacting with this class easier, I might devise a wrapper class around an email object that exposes a single send method taking these values as parameters and "behind the scenes" creates the email class, sets all the properties as appropriate and sends the message. Thus, my class is much easier to use than the original email class, since I expose only a single method and I don't have to bother the user of the class with all the messy details of setting up and sending the email.

The entire .NET framework can be considered a wrapper around the WIN32 API...

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com
Reply With Quote
  #4 (permalink)  
Old October 12th, 2005, 07:34 AM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Jeff,

Thank you for your clear explanation; you've been a big help.

Little Shell

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'Table' does not contain a definition for 'BorderS AccessAasif@aol.com C# 2005 1 September 13th, 2008 03:08 AM
Table definition for CreateUserWizard kutel ASP.NET 2.0 Basics 3 July 25th, 2007 09:57 AM
Find definition of a type ag19702004 Visual Studio 2005 0 October 2nd, 2006 05:21 PM
Trying to retrieve definition of the primary key a method Access VBA 1 April 28th, 2005 02:08 PM



All times are GMT -4. The time now is 06:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.