I've successfully made a call of an object created in C# from VB6
But the type of object I return in C# is an object with another object as a property
And I want to know if it is possible to get something like this:
object.object.message in VB6
what I've tried so far is something like:
vb Code:
'"program1"] Dim ws As com_api.IwebServiceConnect Set ws = New com_api.webServiceConnect Dim response As com_api.Certificacion Set response = New com_api.CertificacionTest response = ws.Method("user", "pass", "C:\Users\file.xml", False) 'This doesn't work... but It should, the error message it throws is: the object doesn't accepts this property or method Dim var As Variant var = ws.Method("user", "pass", "C:\Users\file.xml", False) 'This works, but I don't know how to get the data from this Variant 'response = ws.Method("user", "pass", "C:\Users\file.xml", False) MsgBox var




Reply With Quote