Results 1 to 5 of 5

Thread: Calling VB.NET written functions from outside

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    165

    Question Calling VB.NET written functions from outside

    Is it possible - and if so how? - once you've created loads of functionality in VB.NET to be able to utiliise this from outside of .NET - primarily with MS Office (2000) code.

  2. #2
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181
    Just create your class as a dll and then put a reference to it in your vba code. Simple as that.
    Wind and waves resolves all problems.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    165
    Thanks, presumably the client running VBA would need to have the .NET framework installed.

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Can Office use a standard .NET dll? Or do you have to make it COM like?

  5. #5
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181
    You have to make it COM like. Check out these 2 articles which shed some light on the situation.
    http://www.c-sharpcorner.com/vbnet/COMinCSharpM.asp

    http://dotnet247.com/247reference/msgs/25/128704.aspx
    Wind and waves resolves all problems.

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