How to access COM (VB v6.0) from VB.net

V

vinayak.naik

Hello,

I am getting an error "RPC server is unavailable." when i am trying to access COM which created in VB 6.0 from VB.net.

Public Class DataConnector

Private mobjSMSDbConn As DbManager.cDatabase

Sub New()
Try
mobjSMSDbConn = New DbManager.cDatabase()
Catch oException As Exception
...
end try

It is throwing an exception while creating DbManager.cDatabase object.

Please let us know what might be the problem. Thanking you for your time and help. Please send your reply to (e-mail address removed)



**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
A

Armin Zingler

vinayak said:
I am getting an error "RPC server is unavailable." when i am trying
to access COM which created in VB 6.0 from VB.net.

Maybe the interop group (microsoft.public.dotnet.framework.interop) will
have an answer for you.
 

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

Top