Fantastic answers straight to the point and accurate thank you.
Zeus
Main Topics
Browse All TopicsHi all,
Visual studio 2008 Pro, .Net 2
Can someone please provide a good definition of why and when to use the Shadows & Overide in vb.net please.
I have many books but they are sooooo elongated its rediculous.
Thanks
zeus
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Overrides allows you to redefine a class member in your derived type. You use the overrides keyword when there is a default implementation of some aspect of a base class, but instead of using that you wish to substitute your own code. For example, overriding a forms OnPaint event is a fairly common scenario, allowing you to substitute your own graphics manipulation code.
The functionality of Shadows can be thought of similarly to Overrides, except that Shadows does not extend or provide a new definition to the base classes member, like overrides does, but hides the base class member completely and redefines it as if there were no parent implementation (unless you treat the object as the base-class, which makes the water muddy and I wont go into that).
Overrides is a normal object orient programming paradigm that allows a programmer to 'redefine' or extend a member of a base class.
Shadows, on the other hand, is rarely used and is not a normal object oriented paradigm, since the base class cannot control its morphic shape anymore (since you can shadows portions of the base class to provide no functionality whatsoever). It is useful in situations where you need to do just that, or a member of the base class was declared NotOverrideable, you dont have access to the base class's source code, and it now must be overridden. You cant think of it as the the 'last resort' override, effectively.
This is a decent comparison of the two:
http://stackoverflow.c
Business Accounts
Answer for Membership
by: AfricansPosted on 2009-09-08 at 12:21:58ID: 25285226
Hi, en-us/libr ary/ 1h3wyt f6%28VS.10 0%29.aspx
en-us/libr ary/ k777kz w1%28VS.80 %29.aspx
m/bdotnet@ groups.msn .com/ msg00 728.html
Check this link for more details about Shadows
http://msdn.microsoft.com/
Check this link for more details about Overrides:
http://msdn.microsoft.com/
How to use Overloading in VB.NET:
http://www.mail-archive.co
Good Luck