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

How to create non ActiveX DLL with .NET ?

P: n/a
Dev
Hi,

We have (old) softwares that can only use non ActiveX DLLs. They are written
in C today.
I want to write the new DLLs with VB.NET, but they still have to be used
with these old softs.

Is it possible to make a non-ActiveX DLL with VB.NET ?
If yes, how ?
How can I test it ? is it possible to test it with VB6 ?

Thank you,

FRB
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Dev" <ml***@wanadoo.fr> schrieb
We have (old) softwares that can only use non ActiveX DLLs. They are
written in C today.
I want to write the new DLLs with VB.NET, but they still have to be
used with these old softs.

Is it possible to make a non-ActiveX DLL with VB.NET ?
If yes, how ?
How can I test it ? is it possible to test it with VB6 ?

I assume your (old) software can not cope with managed assemblies. VB.NET
dlls are managed assemblies, so the answer is: no, it is not possible.
--
Armin

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

Nov 20 '05 #2

P: n/a
in visual studio (2002) properties of your project

Configuration properties -> Build
Register for COM interop

hope this helps

Dominique

"Dev" <ml***@wanadoo.fr> wrote in message
news:uu**************@TK2MSFTNGP10.phx.gbl...
Hi,

We have (old) softwares that can only use non ActiveX DLLs. They are written in C today.
I want to write the new DLLs with VB.NET, but they still have to be used
with these old softs.

Is it possible to make a non-ActiveX DLL with VB.NET ?
If yes, how ?
How can I test it ? is it possible to test it with VB6 ?

Thank you,

FRB

Nov 20 '05 #3

P: n/a
* "Dev" <ml***@wanadoo.fr> scripsit:
We have (old) softwares that can only use non ActiveX DLLs. They are written
in C today.
I want to write the new DLLs with VB.NET, but they still have to be used
with these old softs.


You can create DLLs which can be used for COM interop, but you cannot
create standard DLLs ("native DLLs").

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.