DLL

T

Tomas Andersson

Hi
I need to create a DLL in VB9
Is this possible and how do i do
Say I want to make a realy simple on that has one function visible from the
outside and som internal subs
The function needs two variablöes from the outside to work designation as
string and amount as integer
 
S

Scott M.

Create a Class Library project and create your function(s) as public methods
of the class.

Compile the project (automatically creates a .dll).

In other projects, that need your .dll's functions, just have those projects
create a project reference to your .dll and then those projects can create
instances of your .dll class and call its methods.

-Scott
 

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