[V4Rb 2] File format version
Charles Yeomans
yeomans at desuetude.com
Thu Oct 6 16:34:59 CDT 2005
On Oct 6, 2005, at 4:04 PM, Ruslan Zasukhin wrote:
> On 10/6/05 8:01 PM, "Charles Yeomans" <yeomans at desuetude.com> wrote:
>
>>> 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?
>
> But you know your Current Format,
> So you can write
>
> if anything new then do ...
I mean the Valentina database file format. As you know, it changed
from v1 to v2. So I should write code like
If Valentina.GetDatabaseVersion((theFile) < &h200 then
...
Else
Msgbox "This is a v1 file."
End if
Now suppose that you change the Valentina file format again. What I
want is a function that returns &h200 now, and the correct value in the
future.
--------------
Charles Yeomans
More information about the Valentina
mailing list