1 Replies - 3784 Views - Last Post: 31 August 2012 - 04:25 PM Rate Topic: -----

#1 jatric  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-August 12

Convert array to Image

Posted 27 August 2012 - 05:55 AM

Hi,

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 !

Jatric

Is This A Good Question/Topic? 0
  • +

Replies To: Convert array to Image

#2 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 574
  • View blog
  • Posts: 2,989
  • Joined: 19-May 09

Re: Convert array to Image

Posted 31 August 2012 - 04:25 PM

This might help.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1