VB.net questions

jj Sterling Heights, MI Icrontian
edited September 2005 in Internet & Media
Does anybody know how to use 3rd party DLL's in VB.net. For example. I have a piece of harware that has a GUI. I want to use the DLL's of that vender to create my own GUI. I have already talked to the vender and they say I can do so. How do I referance the variables and functions with in DLL from VB? A simple code snipit would be great.

Comments

  • ShortyShorty Manchester, UK Icrontian
    edited September 2005
    Are they dotnet dll's...?? Or are they are Win32 style..?

    To use non vb.net dll's, you can use PInvoke.

    http://www.codeproject.com/dotnet/PInvoke.asp

    Create DECLARE functions and give it the types & values for the api :)

    If it's .net native, you can just add a reference to it in visual studio :)
Sign In or Register to comment.