Q
Problem solve Get help with specific problems with your technologies, process and projects.

Using SAP OCX from 6.20 GUI

We are trying to use SAP OCX from 6.20 GUI. The application we are developing is written in C#. I have the following questions: 1. Is C# or any .NET language (VB.NET) supported for using OCX? 2. Is it only VB 6.0 supported? With option "1" above, we are able to connect to SAP and get some metadata of a BAPI. If this is supported I have a couple of questions, which I will ask in my later posting. If Option "2" above is the supported way, then I guess we have to make a DLL in VB 6.0 and use it in C# as COM complaint. For the above what are the pitfalls? Thanks for all your help!

Unfortunately, there seems to be an incompatibility issue in the OCX files with respect to .NET. The reason I have seen so far is, that the OCX DLL-Interface is not clean and is hence rejected by .NET. This immediately leads to the solution, that you already described. Put a wrapper around the OCX and then you can use it from .NET. Whether C# or VB does not make a big difference.
This was last published in July 2004

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close