Load Image into Image or Picture object


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Load Image into Image or Picture object

Hybrid View

  1. #1
    GILBERT Guest

    Load Image into Image or Picture object


    Hi,
    somebody know how i can load a image from database into a image object. I'm
    using Access 97 and "ole object" in type field.



  2. #2
    Paul Clement Guest

    Re: Load Image into Image or Picture object

    On 11 Jun 2002 10:34:35 -0800, "GILBERT" <gilbert_ortiz@vtr.net> wrote:


    Hi,
    somebody know how i can load a image from database into a image object. I'm
    using Access 97 and "ole object" in type field.


    See the following:

    http://support.microsoft.com/default...;EN-US;q258038
    http://support.microsoft.com/default...;EN-US;q194975


    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)

  3. #3
    Clint Olsen Guest

    Re: Load Image into Image or Picture object


    "GILBERT" <gilbert_ortiz@vtr.net> wrote:
    >
    >Hi,
    >somebody know how i can load a image from database into a image object.

    I'm
    >using Access 97 and "ole object" in type field.
    >
    >


    You could add a Data Control (or if you are familiar with recordsets you
    could open an adodb.recordset) to your form setting it to the database and
    table where your logo is stored. Then simply do the following

    'Set logo to associated image
    Set Image1.DataSource = Data1 'The name of your data control or recordset
    Image1.DataField = "Logo" 'The field name that stores your image

    Clint

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center