Re: Problem with Image Loading - WeOnlyDo Discussion board

Re: Problem with Image Loading (General questions)

by Maverick5, Wednesday, May 17, 2006, 09:33 (6765 days ago) @ wodAlan

I tried this but it didn't work, and yes I encrypted it with wodCrypt comp.

crypt.Optimized = True
Dim in_blob As New MemBlob
Dim out_blob As New MemBlob
crypt.Type = CryptoTypes.AES256
crypt.Padding = CryptoPadding.PadPKCS7
crypt.SecretKey = MySecretKey
in_blob.FromFile(System.AppDomain.CurrentDomain.BaseDirectory & Grassy.jpg.enc )
crypt.Decrypt(in_blob, out_blob )
Dim Img As Image
Img = Image.FromStream(out_blob )
PictureBox1.Image = Img

any other ideas ?

Thanks,
Mav


Complete thread: