CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2001
    Posts
    8

    Embedded Visual Basic

    How can I display an image in an image control that I retrieve from a SQL database ?? The picture property only allows the path of the file name.
    I tried
    ImgCtrl1.Picture = rs("Photo").Getchunk
    and it didnt work.



  2. #2
    Join Date
    Mar 2001
    Posts
    2

    Re: Embedded Visual Basic


    picturecontrol.picture = loadpicture(filename alongwith path)
    like
    picture1.picture = loadpicture("c:\pictures\dog.bmp")





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured