[V4RB] how to display movie from BLOB ?
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Mar 4 12:16:14 CST 2003
on 3/4/03 12:04 PM, Daniel FLEURY at daniel.fleury at free.fr wrote:
> Hi Ruslan,
>
> I store small movies and MP3 in VBLOB but I dont know how to display
> them from the BLOBs !
>
> The ReadRawdata() return the data as String but how to convert this
> string as a movie or MP3 and play it in a movieplayer control? The
> .OpenAsMovie RB method need a folderItem... I did'nt find a method in
> RB to convert a string as a movie...
>
> Dim stringMovie as string
> Dim myMovie as movie
>
> stringMovie=myCursor.blobfield("moviefield").ReadRawdata()
> //how to convert stringMovie to myMovie ???
> moviePlayer1.movie=myMovie
>
> Any idea ?
I have never think about this, so I CC to list for help.
Usually string from BLOB is converted into something binary with use of
MemBuffer and its extension from Thomas.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list