Hi, im a bit new to vb6. Thing is I have to convert this php application to vb6 and im a bit stuck on the decryption module. below is the code, could you please give me some guidelines on how to go about this conversion to vb6. I tried google for the past weeks but no success.
The code below is in php
Thanx
function decrypt($dealerID, $fname)
{
DEFINE ("Keysize",$dealerID);
$iv = $dealerID;
$text_1 = file_get_contents($fname);
$decrypted = mcrypt_cbc(MCRYPT_TripleDES, (Keysize), $text_1, MCRYPT_DECRYPT, $iv);
return $decrypted;
}