Click here to Skip to main content
15,910,277 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionReferential classes Pin
amaneet27-Feb-07 2:17
amaneet27-Feb-07 2:17 
QuestionMybase keyword Pin
Pankaj Garg27-Feb-07 1:57
Pankaj Garg27-Feb-07 1:57 
AnswerRe: Mybase keyword Pin
Guffa27-Feb-07 3:38
Guffa27-Feb-07 3:38 
AnswerRe: Mybase keyword Pin
Dave Kreskowiak27-Feb-07 4:37
mveDave Kreskowiak27-Feb-07 4:37 
QuestionIDispose Interface Pin
Pankaj Garg27-Feb-07 1:51
Pankaj Garg27-Feb-07 1:51 
AnswerRe: IDispose Interface Pin
Marcus J. Smith27-Feb-07 2:41
professionalMarcus J. Smith27-Feb-07 2:41 
Questiondouble link list implementation in vb.net Pin
Pankaj Garg27-Feb-07 1:45
Pankaj Garg27-Feb-07 1:45 
Questiondynamic crystal report [modified] Pin
harsh_c27-Feb-07 1:04
professionalharsh_c27-Feb-07 1:04 
Questioncreate plugins for mmc ? Pin
Agbaria Ahmad26-Feb-07 23:24
Agbaria Ahmad26-Feb-07 23:24 
Questionxml Pin
WhiteGirl2326-Feb-07 22:30
WhiteGirl2326-Feb-07 22:30 
AnswerRe: xml Pin
Christian Graus26-Feb-07 23:26
protectorChristian Graus26-Feb-07 23:26 
QuestionI am retriving the image file from Database .. Pin
somagunasekaran26-Feb-07 22:29
somagunasekaran26-Feb-07 22:29 
QuestionI am retriving the image file from Database .. Pin
somagunasekaran26-Feb-07 22:28
somagunasekaran26-Feb-07 22:28 
AnswerRe: I am retriving the image file from Database .. Pin
Colin Angus Mackay26-Feb-07 23:13
Colin Angus Mackay26-Feb-07 23:13 
GeneralRe: I am retriving the image file from Database .. Pin
somagunasekaran26-Feb-07 23:34
somagunasekaran26-Feb-07 23:34 
GeneralRe: I am retriving the image file from Database .. Pin
Colin Angus Mackay26-Feb-07 23:44
Colin Angus Mackay26-Feb-07 23:44 
QuestionTaking Snapshot of any form of project at run time... Pin
Sasmi26-Feb-07 19:56
Sasmi26-Feb-07 19:56 
AnswerRe: Taking Snapshot of any form of project at run time... Pin
il_masacratore26-Feb-07 21:28
il_masacratore26-Feb-07 21:28 
QuestionDatagridview Numeric Column : Plz Help Pin
priya_p23326-Feb-07 18:43
priya_p23326-Feb-07 18:43 
Questionto connect VB with MATLAB Pin
PoulomiGanguli26-Feb-07 17:26
PoulomiGanguli26-Feb-07 17:26 
QuestionHow To Delete All Files In Folder Pin
lone_wolf35126-Feb-07 17:20
lone_wolf35126-Feb-07 17:20 
AnswerRe: How To Delete All Files In Folder Pin
Dave Kreskowiak27-Feb-07 4:27
mveDave Kreskowiak27-Feb-07 4:27 
QuestionHashing Pin
Radiit26-Feb-07 17:15
Radiit26-Feb-07 17:15 
AnswerRe: Hashing Pin
Colin Angus Mackay26-Feb-07 22:11
Colin Angus Mackay26-Feb-07 22:11 
AnswerRe: Hashing Pin
kubben27-Feb-07 3:21
kubben27-Feb-07 3:21 
If you are using Visual Studio 2005 which is .net 2.0 you can do this if you can use MD5:
Dim data(DATA_SIZE) As Byte

' This is one implementation of the abstract class MD5.
Dim md5 As New MD5CryptoServiceProvider()

Dim result As Byte() = md5.ComputeHash(data)

Still it would be better to use SHA1. It is a stronger hash. Anyway that code looks like this:
Dim data(DATA_SIZE) As Byte
Dim result() As Byte

Dim sha As New SHA1CryptoServiceProvider()
' This is one implementation of the abstract class SHA1.
result = sha.ComputeHash(data)

If you are using .net 1.1 there aren't any framework libraries you can use. There are some third party tools, but you would most likely have to pay for them.

Hope that helps.
Ben

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.