V4RB 2.2 VPicture Revisted

Bob Keeney bkeeney at everestkc.net
Fri Apr 28 15:33:26 CDT 2006


On Apr 28, 2006, at 3:14 PM, valentina-request at lists.macserve.net wrote:
>>
>> This does not make sense.
>>
>> Plugin should NOT have this constant if it should not be used.
>>
>> Take it and remove from documentation.  Throw exception when used,  
>> etc.
>
> You have not understand.
>
> MAY HAPPENS that somebody will put into Picture field something bad.
>
> You can use for this VBLob.WriteData() for example, which do not  
> care what
> you put there. You see?
>
> Then you can Vpicture.ReadPicture(). So Valentina self CAN return you
>     EVPictType.kUnknown
>
> But you should not use it when you store in legal way some picture.
> YOU know which picture you give to Valentina, right ?

I don't understand what you are saying.   Documentation says nothing  
about returning EVPictType after reading from database.

 From documentation:

	Example:
  		fldPicture.WritePictureAs( inPict, EVPictureFormat.kJPG, 50 )

This is what puts the picture INTO database.  What the heck does this  
have to do with reading FROM database?




More information about the Valentina mailing list