Error on AutoGenerated Code for Crystal Report (TechnicianCall.vb)

jjc9809
jjc9809 used Ask the Experts™
on
I am getting the following errors when project is loaded and run:

Property "New Generator" cannot be declared "overrides" becuase it does not override a property in a base class.

Property "FullResourceName" cannot be declared "overrides" becuase it does not override a property in a base class.

The Coding on my TechnicianCalls.vb automatically generated

Public Overrides Property ResourceName() As String
        Get
            Return "TechnicianCalls.rpt"
        End Get
        Set
            'Do nothing
        End Set
    End Property
   
    Public Overrides Property NewGenerator() As Boolean
        Get
            Return true
        End Get
        Set
            'Do nothing
        End Set
    End Property
   
    Public Overrides Property FullResourceName() As String
        Get
            Return "ABCLogIn.TechnicianCalls.rpt"
        End Get
        Set
            'Do nothing
        End Set
    End Property

What is causing these errors?  When I comment out the errors or remove the "overrides" word and debug, the applicaton runs and my Crsytal Report pulls up.  When I try to make a change on the TechnicianCall.rpt and re-build the errors return agian with the overrides word.

Surely someone has a solution to this problem.  This problem has to be fixed or these errors will keep coming up after the project is published.

 
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Does this apply? Seemed to solve the same problem someone else had. Hope so.
http://vbcity.com/forums/p/159871/684865.aspx

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial