View Full Version : VB.net questions
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.
Shorty
12 Sep 2005, 6:31am
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 :)
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.