VB .NET/VB 6 Differences In (Flash web hosting) VB 6, the

VB .NET/VB 6 Differences In VB 6, the MsgBox function has five parameters. The last two, helpfile (which specified the path to a help file containing information about the error message) and context (which specified the help context ID within helpfile), are optional. In VB .NET, these two parameters are not supported. See Also InputBox Function MyBase Keyword Syntax MyBase Description Provides a reference to the base class from within a derived class. If you want to call a member of the base class from within a derived class, you can use the syntax: MyBase.MemberName where MemberName is the name of the member. This will resolve any ambiguity if the derived class also has a member of the same name. Rules at a Glance MyBase will call through the chain of inherited classes until it finds a callable implementation. For example, in the code: Public Class CTestClass … End Class Public Class CTestClass2 Inherits CTestClass Public Function ShowType( ) As Type Return Mybase.GetType End Function End Class the call to ShowType is eventually resolved as a call to Object.GetType, since all classes are ultimately derived from the Object class. MyBase cannot be used to call Private class members. MyBase cannot be used to call base class members marked as MustOverride. Programming Tips and Gotchas
Note: If you are looking for cheapest and affordable webspace to host and run your servlet application check Astra j2ee hosting services


Comments are closed.