By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

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

P: n/a
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 vi**********@slk-soft.com

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"vinayak" <vi**********@slk-soft.com> schrieb

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.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.