Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Upgrade SAP TechDemo Addon 2.0 VS2003 to VS2005

Hi,

I've upgraded SAP TechDemo Addon 2.0 sample addon to VS2005.

But I've got below error.

'Class <Class Name> must either be declared 'Must Inherit' or oveeride the follwing inherited 'MustOverride' member' error and 'Sub HANDLE_FORM_EVENTS' cannnot be declared 'Overrides' because it does not override a sub in a base class' error.

'Sub HANDLE_FORM_EVENTS' is defined as MustInherit

You can download this addon from

SAP Business One - SAP Developer Network

If someone to success to upgrade this addon to VS2005, please let me know

replied

Hi Rob,

Is there a particular reason why you'd like to use this techdemo sample? It's very old and uses outdated methods. You'd be much better downloading a copy of the B1DE for Visual Studio 2005 and/or working from the samples that come with the SDK.

As to this particular error, check your AssemblyInfo.vb files and search for <Assembly: CLSCompliant(x)> which should appear near the top. If x is True then try setting it to False and recompiling. I'm guessing there'll be a lot more issues in the code but that'll depend on which version of SBO you are using.

Kind Regards,

Owen

P.S. B1DE can be found here:

[Content Deleted]

Message was edited by: Jason Lax

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question