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

Calling .NET from VB

P: n/a
I need to be able to call some .NET code from an old VB application.

Looking around on MSDN it looks like I should expose the .NET code as a COM
object and access the COM object from Visual Basic.

Does anyone have any experience of doing this? Is this the best strategy or
is there another way to do it?

Thanks
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Use regasm to register a dll written with vb.net for use with vb6.
http://msdn.microsoft.com/library/de...lregasmexe.asp
Ken
-----------------------
"Jason Masison" <ja***********@btinternet.com> wrote in message
news:bu**********@titan.btinternet.com...
I need to be able to call some .NET code from an old VB application.

Looking around on MSDN it looks like I should expose the .NET code as a
COM
object and access the COM object from Visual Basic.

Does anyone have any experience of doing this? Is this the best strategy
or
is there another way to do it?

Thanks

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.