[V4RB] Pictures from Win32

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Feb 20 16:13:06 CST 2003


on 2/20/03 1:42 PM, Schiller, Carsten at c.schiller at biovision.de wrote:

> Hi!
> 
> I'm saving the image from an Imagewell in RB to Valentina simplified like
> this:
> mDataBase.mPerson.PicFld.SetPicture(Main_window.ImageWell1.Image)
> mDataBase.mPerson.AddRecord
> mDataBase.Flush
> 
> To load a stored Picture I do:
> localCursor = mDataBase.SqlSelect("SELECT * FROM TestTable")
> Imagewell1.image = VPicture(localCursor.Field("Pic_fld")).GetPicture
> 
> This works seperatly on MacOSX and Win32. If the databases are shared (i.e.
> open DB created on MacOSX on Win32 or vice versa) I have the problem that I
> can open pictures from DBs made on MacOSX perfectly on Win32, but if I try
> to get a picture from a DB created on Win32 on MacOSX the RB App crashes
> immediately when assigning the VPicture.GetPicture.
> 
> Am I doing something wrong here, or has someone experienced something
> similar?

Hard to say.

Please check example of V4RB.
Run it on both platforms and check if it works for you.

-- 
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