VServer list of Databases

Damon Pillinger daisychain at iinet.net.au
Wed Feb 22 09:58:32 CST 2006


Great thanks now have a list of every database I ever made so am using 

    if vs.UnregisterDatabase("test87") then
      
      ListBox1.DeleteAllRows
      for i = 1 to vs.DatabaseCount
        dbi = vs.DatabaseInfo( i )
        ListBox1.AddRow dbi.Name
      next
    else
      msgbox "Cannot unregister "+ListBox1.list(i)
    end if

to hopefully just leave the ones in the databases folder (my current
databases)

But it wont UN register, any ideas?


Best regards

Damon L. Pillinger
Director Daisychain EDi
Suite 3
4 Winston Court
Moorabbin 3189
Phone : +61 3 9532 1220
Fax : +61 3 9532 1280


-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan
Zasukhin
Sent: Wednesday, 22 February 2006 9:12 AM
To: valentina at lists.macserve.net
Subject: Re: VServer list of Databases

On 2/22/06 12:08 AM, "Damon Pillinger" <daisychain at iinet.net.au> wrote:

> Hi guys,
> 
> With Vserver how do you get a list of the databases on the server with
> RB?
> 
> RB2005r4 Win
> Val 2.2 for everything
> 
> I can open the session and if I provide a database base name I can get
> the tables but how do I get a list of the databases held on the
server.

Look into Vserver classes, as well as to DatabaseInfo

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


More information about the Valentina mailing list