cancel
Showing results for 
Search instead for 
Did you mean: 

Example code from vb6 to pass a row of data to SAP.net connector class.

Former Member
0 Kudos

Does anyone have some examples as to how to access the COM wrapper around a .Net connector. I am just starting with com interop and i have created the wrapper for SAP.net connector as a standalone class. I can see all the members of the class from VB6 but don't realy know which one to use. I am trying to pass a table to Z_Kofax_Rel RFC.

e.g

Sub Z_Kofax_Rel(Success As String, Documents As ZAP_TMP_REGISTERTable)

ZAP_TMP_REGISTERTable expects a row of data e.g batchid,scandate,imageid etc..

Accepted Solutions (1)

Accepted Solutions (1)

reiner_hille-doering
Active Contributor
0 Kudos

First you should decide what is the information and methods that you want to expose to VB6. Create one or more interfaces for it and mark them with ComVisible(true) and InterfaceType(ComInterfaceType.InterfaceIsDual) (or InterfaceIsIDispatch). Implement the interfaces is some classes; they may inherit from the proxy or delegate to it. Make this class also as ComVisible(true) and everything else with ComVisible(false).

Answers (0)