473,383 Members | 1,733 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,383 software developers and data experts.

Create a dll

I am new to .net, but I have been pogramming in VB 6 for 4 years. I am trying to create a dll in VB.net. I have created them in vb6.0 before with the ActiveX DLL. I created a new Class Libary. I wrote the code. Do I just goto Build...Build Solutions and then the dll is under the bin folder? I did that, but when I try to use that dll, I get "can't add a reference to the specified file." Are there properties that I need to set? Any help would be greatly appreciated. Here is the sample code that I wrote
Public Class Class
Public Property Test() As Strin
Ge
Return clTes
End Ge
Set(ByVal Value As String
clTest = Valu
End Se
End Propert

Private clTest As Strin
End Class
Nov 20 '05 #1
2 1942
* "=?Utf-8?B?UGF0cmljaw==?=" <an*******@discussions.microsoft.com> scripsit:
I am new to .net, but I have been pogramming in VB 6 for 4 years. I am trying to create a dll in VB.net. I have created them in vb6.0 before with the ActiveX DLL. I created a new Class Libary. I wrote the code. Do I just goto Build...Build Solutions and then the dll is under the bin folder? I did that, but when I try to use that dll, I get "can't add a reference to the specified file." Are there properties that I need to set? Any help would be greatly appreciated. Here is the sample code that I wrote:


Are you trying to reference the DLL by your VB6 project? You will have
to do some changes in the project options:

<URL:http://dotnet.mvps.org/dotnet/samples/codingtechnique/downloads/MyComLib.zip>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
* "=?Utf-8?B?UGF0cmljaw==?=" <an*******@discussions.microsoft.com> scripsit:
I am new to .net, but I have been pogramming in VB 6 for 4 years. I am trying to create a dll in VB.net. I have created them in vb6.0 before with the ActiveX DLL. I created a new Class Libary. I wrote the code. Do I just goto Build...Build Solutions and then the dll is under the bin folder? I did that, but when I try to use that dll, I get "can't add a reference to the specified file." Are there properties that I need to set? Any help would be greatly appreciated. Here is the sample code that I wrote:


Are you trying to reference the DLL by your VB6 project? You will have
to do some changes in the project options:

<URL:http://dotnet.mvps.org/dotnet/samples/codingtechnique/downloads/MyComLib.zip>

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
10
by: Zack Sessions | last post by:
Has anyone tried to create a SQL7 view using the CREATE VIEW command and ADO.NET? If so, is there a trick in trapping a SQL error when trying to create the view? I have a VB.NET app that, amoung...
9
by: Peter | last post by:
Hello£¬everyone, My program will collect a testing machine's data ,save the data and deal with the data everyday. I want to use vb.net to create database, add and delete tables or modify the...
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
18
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
5
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
2
by: masri999 | last post by:
I have a requirement in SQL 2005 in Development database 1. Schema dbo owns all objects (tables,views,SPs,UDFs etc) . 2. Only DBA's ( who are database owners ) can create, alter tables ....
4
by: JohnnyDeep | last post by:
I am trying to create a store proc that contain a create index with the cluster option and I receive DB21034E The command was processed as an SQL statement because it was not a valid Command...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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.