473,385 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to create non ActiveX DLL with .NET ?

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
3 1446
"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
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
* "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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: DB | last post by:
Hi Folks, I want to create Activex component. Can we create it using c#.net or do I need to create it using vc++? Thanks in Advanced, Deepak
6
by: Vinay | last post by:
Hi all, Can we create an ActiveX (.OCX) control in ATL project type? Is project type for creation of .OCX file can only be ActiveX MFC type? If yes, Could you suggest me some Links? My...
3
by: EJ1003 | last post by:
Hello I would like to create Activex Control uisng C# and use it in ASP.Net webform. User Control is not solving my requirement so I am going for Activex Control. Please guide me on this, how...
6
by: Steve Richter | last post by:
I am getting error in a vbscript: ActiveX component cant create object: Excel.Application. The vbscript code is: Dim objExcel Set objExcel = CreateObject("Excel.Application") I am pretty...
4
by: Captain Chaos | last post by:
Hello Is it Possible to build an ActiveX Control with NET ? I want to take a NET UserControl and use it with VB6. I found a solution how to embbed a NET UserControl into a WebPage (Like it...
4
by: S. Ahmed | last post by:
Hi all: I am new to VB, especially to VB .NET. I need to create an ActiveX DLL that I can then use in another application (LabView). I know in VB 6.0, creating ActiveX DLL was easy. The...
4
by: Mark | last post by:
I was able to get procedure to work in a VB.Net Windows application, and want to get it to work within a ASP.Net page. It won't create the instance of Excel. It blows up on the CreateObject...
1
by: drk.kumar | last post by:
I have an implementation issue with WMI scripts to check the user machine processor. The implementation is working fine in the local machine (Windows XP operating system). It is throwing script...
3
by: Erakis | last post by:
Hi, I have to make an ActiveX (Running on Internet Explorer) that play/record sound from soundcard. Also, I have to create a Socket to send/receive sound data to my server. I use this...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.