getting started use dll for shared code.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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
 

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

Back
Top