|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
displaying an image on a vb form from a databaseHi
I have images stored in an SQL database. I can read them easy enough - how can I display the image in a picture box, or some other holder ? Do I have to save the image as a .jpg or similar and then call LoadPicture ? Thanks "Bruce Baker" <bru***@ardex.com.au> a écrit dans le message de news: %23k8nVEbZFHA.3***@tk2msftngp13.phx.gbl...> Hi Yes, you have to save it first.> > I have images stored in an SQL database. > > I can read them easy enough - how can I display the image in a picture > box, or some other holder ? > > Do I have to save the image as a .jpg or similar and then call LoadPicture > ? > > Thanks > -- Jean-Claude ------------------------- www.namtuk.com : official website / Controls and components for development. www.capture-my-screen.com : Make screenshot simplicity www.winpopup-express.com : Send instant messages to your coworkers ------------------------- > I have images stored in an SQL database. What format are they stored in? If they're simply storing the raw image file data then you may find the graphicload.zip example> > I can read them easy enough - how can I display the image in a picture box, > or some other holder ? > > Do I have to save the image as a .jpg or similar and then call LoadPicture ? here to be useful: http://btmtz.mvps.org/_misc/index.htm Hope this helps, Mike - Microsoft Visual Basic MVP - E-Mail: ED***@mvps.org WWW: Http://EDais.mvps.org/
Using "Include" Approach for Repetitive Code...
Setting Label zorder above picture control Common dialog control Search box at bottom of screen Duplicate forms Control with previous focus loop help with passing values from an aspx page? Windows Media Player 9 or 10 Playlist in visual basic 6 Default check box |
|||||||||||||||||||||||