vb.net - Get's bad variant type when calling com wrapper made in vb from c# -


this code dll written in vb.net, when call code vb application works fine when tries call c# (bad variant type).

ctllogon = createobject("sap.logoncontrol.1") objconnection = ctllogon.newconnection funccontrol = createobject("sap.functions") funccontrol.connection = objconnection      <---- bad variant type 

i hope can me. kind regards robert


Comments

Popular posts from this blog

Eclipse formatter for java ending braces -

ruby - Nesting modules inside of a Rails eninge gem -

java - Are there any classes that implement javax.persistence.Parameter<T>? -