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:
  1. '"program1"]
  2. Dim ws As com_api.IwebServiceConnect
  3. Set ws = New com_api.webServiceConnect
  4. Dim response As com_api.Certificacion
  5. Set response = New com_api.CertificacionTest
  6.  
  7. 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
  8.  
  9. Dim var As Variant
  10. 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
  11.  
  12. 'response = ws.Method("user", "pass", "C:\Users\file.xml", False)
  13. MsgBox var