Skip to Content
Former Member
Nov 26, 2004 at 04:08 PM

create object in VB .net connector RFC server


Hello all,

Im implementing an RFC Server in VB. The base works fine(made it like in the help "How to build a simple RFC Server in .net").

But now i tried to add code to create an instance of a class based on a dll. At this point when i debug the thing when it comes to the statement:

Dim DS As BS4ServerV3.BS4

Dim i As Integer

Aufnr = "nrnr"

Console.WriteLine("nach def 1")

DS = New BS4ServerV3.BS4 <=

i = 0

Debug.WriteLine("nach new")

where the Object is being created nothing happens anymore.

The output never appears on the console.

I've tested the code from the dll in a standard windows an d in another console application(without the sapconnector class) and it works fine.

I've asked a colleague which is quite better in .net development but he neither could find a fault in the code.

Any input very, very welcome