Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

displaying an image on a vb form from a database
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



Report this thread to moderator Post Follow-up to this message
Old Post
Bruce Baker
05-31-05 01:55 PM


Re: displaying an image on a vb form from a database
"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
-------------------------



Report this thread to moderator Post Follow-up to this message
Old Post
Jean-claude
05-31-05 01:55 PM


Re: displaying an image on a vb form from a database
> 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/



Report this thread to moderator Post Follow-up to this message
Old Post
Mike D Sutton
05-31-05 01:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:33 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.