[V4Rb 2] File format version

Charles Yeomans yeomans at desuetude.com
Thu Oct 6 13:01:34 CDT 2005


On Oct 6, 2005, at 2:51 AM, Ruslan Zasukhin wrote:

> On 10/6/05 12:26 AM, "Charles Yeomans" <yeomans at desuetude.com> wrote:
>
>>>> I want a function Valentina.DatabaseVersion that returns the file
>>>> format used by V4Rb.
>>>
>>> By engine itself ???
>>>
>>> I.e. For V4RB2 this method will return 2.0.5 ?
>>>
>>> I still cannot catch idea it seems, and why you need this ?
>>
>> Suppose the file format changes in 2.0.6.  If my application attempts
>> to open a file created using 2.0.5, I may not want to have 2.0.6
>> automatically update the file format (which is what happened with V4Rb
>> 1), thus making the file possibly unreadable by the previous version 
>> of
>> my application.
>
> I see,
>
> Charles,
>
> Valentina.DatabaseVersion  do exactly what you want as I See.
>
> It extracts version of file format from closed file.

But what do I compare it to?  If I upgrade my app with a new version of 
V4RB, perhaps the file format has changed.  How do I know?


--------------
Charles Yeomans



More information about the Valentina mailing list