I am new to vb.net and have been playing around with it, converting some of my old projects to .net My problem is this, in vb 6 i would compile my functions into a activex dll and use it as a reference for future use, but when i compile the functions in vb .net it will not reference it. any ideas what i might be doing wrong?
eg.
Public Class MD5
Public Function MD5(ByVal InputStr As String) As String
Dim AsciiEnc r As New System.Text.ASCIIEncoding()
Dim MD5 As New System.Security.Cryptography.MD5CryptoServiceProvider()
Return Hexit(MD5.ComputeHash(AsciiEnd.GetBytes(InputStr)))
End Function
Private Function Hexit(ByVal ByteArray As Byte()) As String
Dim i As Integer
For i = LBound(ByteArray) To UBound(ByteArray)
Hexit &= Hex(ByteArray(i))
Next
End Function
End Class
when i compile the md5 dll it does not recognize it as a reference.
eg.
Public Class MD5
Public Function MD5(ByVal InputStr As String) As String
Dim AsciiEnc r As New System.Text.ASCIIEncoding()
Dim MD5 As New System.Security.Cryptography.MD5CryptoServiceProvider()
Return Hexit(MD5.ComputeHash(AsciiEnd.GetBytes(InputStr)))
End Function
Private Function Hexit(ByVal ByteArray As Byte()) As String
Dim i As Integer
For i = LBound(ByteArray) To UBound(ByteArray)
Hexit &= Hex(ByteArray(i))
Next
End Function
End Class
when i compile the md5 dll it does not recognize it as a reference.