https://bugzilla.novell.com/show_bug.cgi?id=661817
https://bugzilla.novell.com/show_bug.cgi?id=661817#c1 --- Comment #1 from Rolf Bjarne Kvinge <[email protected]> 2010-12-30 14:15:19 CET --- Your code is wrong, this is what vbc says: test.vb(183) : error BC30311: Value of type 'System.TimeSpan' cannot be converted to 'Integer'. dateindex = linedate - earliest_date ~~~~~~~~~~~~~~~~~~~~~~~~ I've improved the error message locally and will commit the fix soon. There are also other problems in your code (which I'll fix soon too in vbnc to report the proper errors): test.vb(55) : warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. oRead = oFile.OpenText("/home/bhensley/rejected_spam.txt") ~~~~~~~~~~~~~~ test.vb(86) : warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. oRead = oFile.OpenText("/home/bhensley/spamcount.txt") ~~~~~~~~~~~~~~ test.vb(134) : error BC30452: Operator '+' is not defined for types 'Dat e' and 'Integer'. dates(j + 1) = earliest_date + j ~~~~~~~~~~~~~~~~~ Y:\test\test.vb(140) : warning BC42025: Access of shared member, constant member , enum member or nested type through an instance; qualifying expression will not be evaluated. oRead = oFile.OpenText("/home/bhensley/rejected_spam.txt") ~~~~~~~~~~~~~~ test.vb(164) : warning BC42025: Access of shared member, constant member , enum member or nested type through an instance; qualifying expression will not be evaluated. oRead = oFile.OpenText("/home/bhensley/spamcount.txt") -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
