Posted on 2004-08-14
Last Modified: 2013-12-25

Is there a way to Convert a String to a MD5 Encryped hash thing? like a function or some code would bevery helpful,

Question by:Invader_RM
  • 3
  • 2
  • 2
LVL 12

Expert Comment

by:Gary Dewrell
ID: 11801882
Hi Invader_RM,
You can purchas NTSC to PAL converters. There are several on the market.

God Bless
LVL 12

Expert Comment

by:Gary Dewrell
ID: 11801894

Sorry posted to the wrong screen. Long week! hehe

Accepted Solution

Imbue earned 125 total points
ID: 11802085
You can use the Windows API for this. There is a good example of this here
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails


Author Comment

ID: 11803429
Lol gdewrell, It's ok.

Imbue -> Yeh, I downloaded that yesterday, before I posted this Topic, but, I really didn't know where to put what I wanted in the code, to be converted to MD5, could you help me?

Also, sorry for low points, I havn't got many left, but I will rise it now a little bit.


Expert Comment

ID: 11804751
Using Windows API for MD5 isn't simple. If you are looking for something easier why not use a free thrid party component? There is a really easy to use one you can get from

It has a readme inisde of the zip that should get you started.

Expert Comment

ID: 11804819
Ok, looks like the link I posted above is dead. I'll help you use the other one that you already have downloaded. Inside of that zip go to CryptoAPI\CryptoAPI KCI\CryptKci_Dll then read the file call history.txt for information about installing the DLL.

Now to use it in your VB project add it to the references in the project. Then you have to make an object from it and then call it's method to do MD5.

Dim CryptoAPI As New clsCryptoAPI
Dim result As String

result = CryptoAPI.CreateHash("test", 1) 'MD5
Debug.Print result

Author Comment

ID: 11807700
Thank you, its now all working,

thanks very much.

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now