I'm trying to follow and learn about VB OOP and creating controls from this
link:
http://msdn.microsoft.com/en-us/library/yhzc935f.aspx
It says that the custom server control we are creating is inherited from the
System.Web.UI.WebControls Namespace.
If i remove the "Imports System.Web.UI.WebControls" line from the vb code
behind file, the web page still runs OK.
I don't understand it. I thought the purpose of the imports was to allow
that namespace to be referenced in the code.
Maybe i don't know what imports or inherits mean.
Any explanation would be gratefully appreciated.
Thanks,
Tony
This newsgroup is dedicated to ClassicVB, which is not what you're using.
Would suggest you repost in a group that has ".dotnet." in its name, for better
chances of finding someone who can offer help with your problem.
--
.NET: It's About Trust!
http://vfred.mvps.org