Opening a Valentina DB that does NOT have a .vdb extention

Barry G. Sumpter barrysum at bigpond.net.au
Sat Sep 26 00:30:37 CDT 2009


Realized I can't hide all the support files.
.dlls etc with version info telling all who look that my database is
valentina.
Oh well.

-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Barry G. Sumpter
Sent: Friday, September 25, 2009 6:16 PM
To: valentina at lists.macserve.net
Subject: RE: Opening a Valentina DB that does NOT have a .vdb extention

Yes!
Working now.
Made my week guys!
That's two weeks in a row I can stop on Friday evening and enjoy the
weekend!

Really starting to enjoy Valentina even more now.

Thanks heaps all!

----------

Perhaps just a 
vStudio | File | Open Encrypted DB ....
With a Set Extensions on the same dialog?

Have a great weekend!



-----Original Message-----
From: Barry G. Sumpter [mailto:barrysum at bigpond.net.au] 
Sent: Friday, September 25, 2009 5:58 PM
To: 'Valentina Developers'
Subject: RE: Opening a Valentina DB that does NOT have a .vdb extention

Very Very cool!


Valentina.SetExtensions( "bgs", "", "", "" )


Valentina.SetExtensions()
Description:

You can call this function before opening or creating a database to inform
the Valentina kernel which extensions it must use for database files. If you
do not explicitly call this method, then the standard four extensions are
used by default. If you do use this method, you must explicitly include all
extensions that you want supported in your database application.

Note: The four standard file types of a Valentina database are explained in
full in the ValentinaKernel.pdf.

The first example shows explicitly setting the standard extensions in a four
file database.

The second example shows a database in which two files are created:

    *
      the description database file using its standard extension;
    *
      the index file with a custom file type of .tre instead of its standard
extension, .ind.

Example:

Valentina.SetExtensions( "vdb", "dat", "blb", "ind" )
 
Valentina.SetExtensions( "vdb", "", "", "tre" )





-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Barry G. Sumpter
Sent: Friday, September 25, 2009 5:54 PM
To: 'Valentina Developers'
Subject: RE: Opening a Valentina DB that does NOT have a .vdb extention

Cool.  You guys rock!


http://valentina-db.com/dokuwiki/doku.php?id=valentina:vcomponents:vkernel:d
atabase:custom_extensions&s[]=setextensions

db = new VDatabase()
db.SetExtensions(".mvdb", ".mdat", ".mblb", ".mind" )
db.Create( "MyDatabase" )

Looks like this is for code only as I can't seem to find how to do it in
vStudio.

Can I do this I wonder?
db.SetExtensions(".bgs")

Chasing down the Create now.

-----Original Message-----
From: valentina-bounces+barrysum=bigpond.net.au at lists.macserve.net
[mailto:valentina-bounces+barrysum=bigpond.net.au at lists.macserve.net] On
Behalf Of Barry G. Sumpter
Sent: Friday, September 25, 2009 5:49 PM
To: 'Valentina Developers'
Subject: RE: Opening a Valentina DB that does NOT have a .vdb extention

Very cool.  Thanks for that work around.

Yes the drag and drop works on the encrypted .vdb extension.
After two years of working with vDB I think that's the first time I've done
the dragNdrop.   LOL

But no variations will work on a non-.vdb extesion.

When I create the vDB (always with VStudio) I always use the 4 files mode.
And have never needed the SetExtensions() method in RB on WIN.

I experimented with changing the 1 file mode .vDB extension to .bgs but
Valentina won't have it.
Neither in vStudio nor RB.vDK

I'll chase the SetExtensions up now.

Thanks again.

Baz


-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan Zasukhin
Sent: Friday, September 25, 2009 5:00 PM
To: Valentina Developers
Subject: Re: Opening a Valentina DB that does NOT have a .vdb extention

On 9/25/09 4:15 AM, "Barry G. Sumpter" <barrysum at bigpond.net.au> wrote:

Hi Barry,

> I want to hide the fact that I am using the .vdb database by simple
renaming
> the extions to .bin.
> But VStudio nor the OpenDB function will work with this extention.

Drag and drop db file to window of Schema Editor.

I hope you use SetExtensions() method in your RB app, yes?

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


_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list