Code Comments
Programming Forum and web based access to our favorite programming groups.Hi 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
Post Follow-up to this message"Bruce Baker" <bruceb@ardex.com.au> a écrit dans le message de news: %23k8nVEbZFHA.3488@tk2msftngp13.phx.gbl... > Hi > > 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 > Yes, you have to save it first. -- 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 -------------------------
Post Follow-up to this message> 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 ?[/colo r] What format are they stored in? If they're simply storing the raw image fil e data then you may find the graphicload.zip example here to be useful: http://btmtz.mvps.org/_misc/index.htm Hope this helps, Mike - Microsoft Visual Basic MVP - E-Mail: EDais@mvps.org WWW: Http://EDais.mvps.org/
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.