473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Identifying Errors in Form Code

Identifying Errors in Form Code

Expand|Select|Wrap|Line Numbers
  1. 10.
  2. Class Hello
  3.  Function Hi () As String 
  4. Return "hi!" 
  5. End Function 
  6. End Class 
  7. Class WithIt
  8.  Inherits Hello 
  9. Overiddes Function Hi () As String 
  10. Return "Hey" 
  11. End Function 
  12. End Class
  13.  
  14. 12.
  15. Class Hello 
  16. MustOverride Function Hi () As String
  17. Return “hi!”
  18. End Function End Class
  19. Class DragRacer 
  20. Inherits Hello 
  21. Overrides Function Hi () As String
  22. Return “Start your engines!”
  23. End Function End Class
  24.  
  25. 14.
  26. MustInherit Class hello
  27.     MustOverride Function hi() As String
  28.     MustOverride Function hi(ByVal s As String) As String
  29. End Class
  30. Class euro
  31.     Inherits hello
  32.     Public Overrides Function hi() As String
  33.         Return "hi!"
  34.     End Function
  35.     Overrides Function hi(ByVal name As String) As String
  36.         Return "ciao " & name
  37.     End Function
  38. End Class
Nov 12 '15 #1
0 1159

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: SR | last post by:
Hi there, I'm facing a little problem: I got a class named childBase that inherites from Window.form. I got another form somewhere that inherites childBase. I got some code in the...
3
by: Scott | last post by:
I'm coding in classic asp and can't figure how to get IE6 to display some kind of descriptive message about code errors? I have the correct settings under ADVANCED in IE's options selected. What...
1
by: enrio | last post by:
I have made a number of changes to the code of an access 2000 application, and now the person responsible for the application wants to import one change at a time into his "master copy", after he...
5
by: =?Utf-8?B?cm9nZXJfMjc=?= | last post by:
hey, how do I take form code and put it into separate classes? more specifically, I want to create like a panel class, and put buttons in it and give these buttons click events. and all my form...
0
by: karen987 | last post by:
Please could someone help me with this code? The problem appears to be a simple one, but i'm not html or ASP literate and need to modify the below code to add 2 things. First a bit about the...
0
by: Larry Lard | last post by:
Recently we've been on a code quality drive and have eliminated all compilation warnings from our code. To preserve this state, we've turned 'Treat warnings as errors' to 'All' in all our projects...
55
by: lovecreatesbea... | last post by:
Do you check all error conditions for all library calls in you code? Is it necessary to check all errors? Is it convenient to check all errors (or how to make code clean and readable with mass of...
3
by: entice | last post by:
When I am compiling in visual c++ 2008 express edition I am receiving these two errors main.cpp(224) : error C2664: '_stricmp' : cannot convert parameter 1 from 'WCHAR ' to 'const char *' Types...
10
by: stealthmode666 | last post by:
Not sure how to show this in tags so I have attached .txt file need urgent help as this form i've made is live. I used spry widgets to check the form as it's filled in by uploading the .js and .css...
2
by: ozmariners | last post by:
Enter id and seven fields populate from mySQL - works Two drop down lists from mySQL - works Number of checkboxes for user input - works To be entered into mySQL and emailed to three addresses...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.