Dim LogonControl = CreateObject("SAP.LogonControl.1")
Dim conn = LogonControl.newconnection


this is vb.net code.how to use this in csharp.net.
in asp it is used like--server.createobject("Sap.logoncontrol.1")

please help me.


thank u.

>how to use this in csharp.net.

object oh=Activator.CreateInstance(Type.GetTypeFromProgID("Sap.logoncontrol.1"));
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.