The proxy assembly should contain proxy classes. Are you sure sapProxyDll1
is the class name, and not the assembly name? Check the Object Viewer to
make sure.
Once you have the class name (SAPProxy1 for example), then you can use the
following code:
Dim sp As New SAPProxy1("connection string goes here")
sp.Connection.Open( )
At this point, sp should allow you to call all the remote functions you
added in the proxy builder.
Don't forget to call sp.Connection.Close( ) when you are done.
-Rob Teixeira [MVP]
"Dan" <di**************@hotmail.com> wrote in message
news:48**************************@posting.google.c om...
Hi Rob,
I was trying to use the .net connector. I successfully followed the
instructions for creating a C# SAP Proxy class. No problems there. I
am just getting stuck in the VB side of things, there doesn't appear
to any way of giving the (e.g) sapProxyDll1 object a SAPconnection
object or executing the Proxy.
Cheers
Dan