How to create non ActiveX DLL with .NET ?

D

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
 
A

Armin Zingler

Dev said:
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.
 
D

Dominique Vandensteen

in visual studio (2002) properties of your project

Configuration properties -> Build
Register for COM interop

hope this helps

Dominique
 
H

Herfried K. Wagner [MVP]

* "Dev said:
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").
 

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