Re: Visual Basic 6.0 and Access 2000

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: BWOlson (BWOlson_at_discussions.microsoft.com)
Date: 01/05/05


Date: Tue, 4 Jan 2005 17:13:03 -0800


Paul,
   I am assuming that an Image control is an OLE Control but ....
   I cannot seem to get the code correct so that I can assign the image
control to the database field (defined as an OLE Control) and visa-versa.
  Is it something like
           "database.recordset.fields(1) = image.picture"
       and
           "image.picture = database.recordset.fields(1)"

Thanks in advance
Bruce

"Paul Clement" wrote:

> On Mon, 3 Jan 2005 09:57:04 -0800, "BWOlson" <BWOlson@discussions.microsoft.com> wrote:
>
> ¤ I am trying to store/retrieve pictures (bmp,jpeg,etc.) as fields in a
> ¤ database record. Other than GetChunk/AppendChunk is there a way to directly
> ¤ assign the picture to/from a database field to a picture control?
>
> Not a PictureBox control, no. You can use the OLE control but that is the only databound control
> that supports this feature.
>
>
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)
>



Relevant Pages

  • Re: Problem with webbrowser control
    ... "Paul G. Tobey " <p space tobey no spam AT no instrument no spam DOT ... etc. method calls that IESample makes. ... What confuses me a bit is, that the _same_ html page throws exceptions in control, but loads fine in iesample/iesimple. ... If I call it via local html file in webbrowser control, drm server will refuse me ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: SD CA
    ... Paul wouldn't know. ... subdue and control the population. ... Depends on what you call success, ... turning the government over to the hands of the likes of Murdoch and other ...
    (alt.smokers.cigars)
  • Re: SD CA
    ... Paul wouldn't know. ... subdue and control the population. ... Depends on what you call success, ... Your fascist inclinations are insane. ...
    (alt.smokers.cigars)
  • Re: OT I realized something about the election today
    ... otehr intrests that control things. ... I am not fulling behind Paul NWO stuff ... getting their claws into as many office-holders and candidates as they ... Just seems like common sense. ...
    (rec.gambling.poker)
  • Re: How to Use Global Form Controls
    ... would say it's a poor design, although maybe the design of the data is poor, ... Paul G. Tobey wrote: ... A user cannot make proper use of a listbox control with that many items ...
    (microsoft.public.dotnet.framework.compactframework)