CLS-complaint

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

What is it ??
my frmInvoice is heritied from Master Form,
Master Form will got a method _Print

my frmInvoice will overrides it , however, in vb.net 2005 .It got a warning
(not CLS-complaint).
I don't know what's wrong it is ????
Public Overrides Sub _Print(ByVal _preview As Boolean, ByVal _printsetup As
Boolean)

Please help
 
Agnes, is this a migrated vb2003 project?

if so we had the same problem, and had to create a new project and
copy/paste the code in, which fixed it - no idea why though

hth

guy
 
Yes, it is the 2003 project before, copy the code ??
I got over 80 forms inherited from the Master method and got that warning
( 500 warnings in 2005 , it make me crazy)
Any simple shortcut ?
 
Agnes,
I wish there was a shortcut - it drives us mad too!
if anyone knows the reason, can explain it, has a fix PLEASE let us know

guy
 
Back
Top