DLL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tomas Andersson

    DLL

    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



  • Scott M.

    #2
    Re: DLL

    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

    "Tomas Andersson" <tomas.andersso n@heatex.comwro te in message
    news:u3EgHkoMJH A.2044@TK2MSFTN GP04.phx.gbl...
    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
    >
    >
    >

    Comment

    Working...