Visual Basic Connect to SAPBC error

Dear all,

When we try to connect to SAPBC from Visual Basic:

Private Sub Class_Initialize()
Set SAPDirectInterface = New Context
End Sub

we got this error message:

“Run-time error ‘7’: Out of memory”

Could you please help us to solve the problem.

Thank you very much for your help.

kind regards,

Yogi Indra Gunawan
(yogi@toyota.co.id)

This error normally come when :

  1. DLLs are not registered or not updated one.
  2. See if there is anything to put in CLASSPATH, some JAR files etc.
  3. Looks like it is due to installation or configuration issue.

Hi,

What version of VB?
With VB.NET you can call the SAPBC using a web service proxy class
generated from a SAP BC Developer WSDL file

Regards