How to call shared method from VB6?

  • Thread starter Thread starter John Vottero
  • Start date Start date
J

John Vottero

Is there a way to call a shared method from VB6?

I have used regasm to register my .NET assembly so I can access it from VB6
but, I can't figure out how to call a shared method.

Thanks,

John Vottero
 
John Vottero said:
Is there a way to call a shared method from VB6?

I have used regasm to register my .NET assembly so I can access it from VB6
but, I can't figure out how to call a shared method.

Thanks,

John Vottero
Shared methods are not exposed for COM interop. You'll need to access it
through a non-shared wrapper.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top