[Mono-bugs] [Bug 411572] Unexpected error: The requested feature is not implemented.( VBNC99999)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 24 15:31:39 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=411572

User jim.witkam at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411572#c4





--- Comment #4 from Jim Witkam <jim.witkam at gmail.com>  2008-07-24 13:31:38 MDT ---
The entire project is a bit big, about 50,000 lines I guess. 
To make things easier, here are some things I learned vbnc has "unexpected"
(unspecified) problems with (of the likes VBNC99999 or VBNC99997):

1. Assigning -1 (or other negative values?) directly as the default value of an
optional property argument (instead use a constant). For example: 

Public Property Example(Optional ByVal Arg1 As Integer = -1) As UInteger
..
End Property

Possibly the fact that the property type is UInteger causes this error,
although it should have nothing to do with it.


2. In functions, calling methods/properties on the return object that is
referenced through the function name. (It's probably bad coding practice but in
Net it causes no problems). For example:

Function Example(...) as SomeClass
  Example.SomeMethod()
End Function


3. Using Ctype(...) in a constant declaration.


4. In For Each ... Next statements, adding the looping variable after Next (is
not necessary anyway).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list