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

getting started use dll for shared code.

I have create a dll that contains a funtion that passes back a boolean.
This being my first time using a dll, I am looking for a simple example of
what to do next that will allow me to run the dll from a vb.net windows app
or a aspx project. Does any one know of a vb.net example of the whole
process of creating a vb.net dll and then being able to use it in a vb.net
application?

Thanks for any help you can provide.
Jul 21 '05 #1
1 915
This is what I would do:

Create a solution.
Add in the dll project to the solution
Add in the exe/aspx project to the solution

In the exe/aspx project, add a project reference to the dll project. You can
do this from the solution explorer, right click on the references node.

From the exe code, add whatever VB.NET uses to include the namespace the dll
uses, I'm a C# guy.
Then use the object located in the dll as any other object.
Chris

"AshleyT" <As*****@discussions.microsoft.com> wrote in message
news:A5**********************************@microsof t.com...
I have create a dll that contains a funtion that passes back a boolean.
This being my first time using a dll, I am looking for a simple example of
what to do next that will allow me to run the dll from a vb.net windows
app
or a aspx project. Does any one know of a vb.net example of the whole
process of creating a vb.net dll and then being able to use it in a vb.net
application?

Thanks for any help you can provide.

Jul 21 '05 #2

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

Similar topics

6
by: Marvin Libson | last post by:
Hi All: I am running DB2 UDB V7.2 with FP11. Platform is Windows 2000. I have created a java UDF and trigger. When I update my database I get the following error: SQL1224N A database...
0
by: Jim C. Nasby | last post by:
Our open-source project (http://opensims.org) uses PostgreSQL as the reference implementation, but we've found that the bulk of installation issues have to due with getting PostgreSQL up and...
2
by: ronchese | last post by:
I'm noticing this since I started developing a website project: my session variables are getting empty! I did a real easy test, and I checked my session variable is getting empty!! What is...
7
by: Brian | last post by:
hello Gentlemen, been trying to get a shell program working where I have a Windows service that also has a Notification icon in the system tray..... I got this idea from microsofts Visual...
1
by: bhavanirayala | last post by:
Hi, I am sending the values from one method to another method to get the values from xml file based on the inputs. I am getting the error like:: Variable "$collType" will not stay shared...
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...
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.