I am reading byte array from database and want to convert it to Image type to display using .DrawPicure method. Currently following code which i am using.
If Dir(p_strLogoDir & "\" & p_strLogoFilename) <> "" Then .DrawPicture LoadPicture(p_strLogoDir & "\" & p_strLogoFilename), .X1, .Y1, "100%", "100%" End If
In above code, i am reading image from hard drive location. But i want to read from database in form of byte.
Thanks in advance !