Skip to Content
avatar image
Former Member

UI SDK with C# - problems implementing the ToolBarCtrl example

I've been implementing the UI SDK samples in C#. They have all worked fine except for the ToolBarCtrl sample. When the SBO_Application.MenuEvent fires, I get the following exception: "query interface for SAPbobsCOM.IRecordset failed" whenever the oRecordSet MoveNext, MoveFirst, MoveLast, MovePrevious methods are called. Further experiments with this code raise an exception whenever an object/interface in SAPbobsCOM are called from Application.MenuEvent.

Is anyone else experiencing the same problem in C# or know of a solution around this?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 12, 2004 at 01:47 AM

    I think you are also using DI-API Record set, we faced a problem, when we used DI-API Record set object in VB, it is conflicting with ADODB.Recordset. If my thinking is correct, confirm me, I ll try to give the solution.

    Add comment
    10|10000 characters needed characters exceeded