Setextensions

Ruslan Zasukhin sunshine at public.kherson.ua
Tue May 29 10:03:04 CDT 2007


On 29/5/07 5:32 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:

Hi Bart,

> Hi List, Ruslan,
> 
> I am playing a bit with Valentina.SetExtensions() and now I am
> wondering how long the SetExtensions retain their effect.
> 
> Until Valentina Shutdown (end of session)?

Well yes.

All your questions will be answered as only you note this:

    engine just have 4 global variables,
    that keep these 4 strings.

    db.Create() look here and create new files using them.
    The same for db.Open()

> Can I do multiple calls to Valentina.SetExtensions within one session ?

Yes, just override variables
 
> This would be necessary when I need to create different "types" of
> (valentina)files

I'd say TYPES of YOUR app

> I believe answers to this questions would be valuable additions to
> the WIKI.


---------
> Ruslan,
> 
> I think the example used in the WIKI page describing the
> Setextensions is incorrect.
> 
> The example uses db.setextensions (db being  the result of new
> VDatabase)
> When I tried this db has no method (or realbasic doesn't recognise
> it) setextensions
> 
> However it seems (have not yet tested in run) Valentina.SetExtensions
> exists.

> Maybe a correction of the WIKI is needed

Let me check please.

But seems right. Its Valentina level method

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list