Results 1 to 7 of 7

Thread: Create code that can be used in multiple projects (dll?) (Resolved)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2005
    Posts
    259

    Create code that can be used in multiple projects (dll?) (Resolved)

    What is the process for making a function into a dll(?) that can be used in multiple projects? Let me use the extremely simple function as an example.

    VB Code:
    1. Public Function DoCalcs( _
    2.         ByVal a As Double, _
    3.         ByVal b As Double, _
    4.         ByVal c As Double, _
    5.         ByVal d As Double) As Double
    6.  
    7.         Dim myCalc As Double = (a * b / c - d)
    8.         Return myCalc
    9.  
    10.     End Function
    How would I make it so that I can add this function to any project using a reference (or whatever)?
    Last edited by FastEddie; Mar 31st, 2006 at 05:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width