1. add refrence to .dll(project>add refrence...) then choose browse and select the .dll then the app will look for the dll there but if it cant find it it will look for it at the applications startup path. so just include this with the project if u release
2. code
Code: Select all
Public Class Form1
Dim open As New OpenFileDialog
Dim loadtag As New loadtags.Class1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If (open.ShowDialog = Windows.Forms.DialogResult.Cancel) Then Exit Sub
loadtag.loadarray(open.FileName)
loadtag.loadtags(open.FileName)
For i As Long = 0 To loadtag.realtagcount - 1
ListBox1.Items.Add(loadtag.tagnames(i))
Next
End Sub
End Class
u might be wondering y loadarray first well loadarray first because it will save time if u decide to add bytes because it will have it in an array when u use "loadtag.addbytes" and add instantly
http://www.teamdefiance.la/forum/index. ... ost&id=140
post feedback on how u feel or how i could make this better.
heres an example projet on how to use.
http://kayuni.com/H2Dll.rar