realbasic-nug
[Top] [All Lists]

Re: MySQL

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: MySQL
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Fri, 29 Sep 2006 10:13:46 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <FB789F3C-C0BB-4534-9658-0FB1EC141033 at isticky dot net>

On Sep 29, 2006, at 8:12 AM, realbasic at isticky dot net wrote:

Hi

Does anybody know how to get a BLOB value in a RB Picture variable?

1) save it to a binary file and then open the binary file as a picture
2) use this hack
  function stringtopicture(s as string) as picture

        Dim dbRec As DatabaseRecord = New DatabaseRecord
        Dim Pict As Picture

        dbRec.Column("pict") = s
        pict = dbRec.JPEGColumn("pict")

        return pict


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • MySQL, realbasic at isticky dot net
    • Re: MySQL, Björn Eiríksson
    • Re: MySQL, Norman Palardy <=