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

  • Thread starter Thread starter vinayak.naik
  • Start date Start date
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...
 
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.
 
Back
Top